:root{--nb-white:#FFFFFF;--nb-bg:#F7F7F5;--nb-border:#E4E4E0;--nb-muted:#A0A09A;--nb-text:#1A1A18;--nb-teal:#2A7B6F;--nb-teal-light:#EAF3F1;--nb-teal-mid:#4A9B8E;--nb-error:#C0392B;--nb-radius:12px;--nb-radius-sm:8px;}
.nunkio-booking-wrap{max-width:560px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:var(--nb-text);font-size:15px;line-height:1.5;}
.nunkio-progress{height:3px;background:var(--nb-border);border-radius:2px;margin-bottom:1.5rem;}
.nunkio-progress-fill{height:100%;background:var(--nb-teal);border-radius:2px;transition:width .4s ease;width:0%;}
.nunkio-steps{display:flex;justify-content:space-between;margin-bottom:2rem;gap:4px;}
.nunkio-step{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--nb-muted);flex:1;}
.nunkio-step .step-num{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--nb-border);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:500;flex-shrink:0;transition:all .2s;}
.nunkio-step.active .step-num{background:var(--nb-teal);border-color:var(--nb-teal);color:white;}
.nunkio-step.done .step-num{background:var(--nb-teal-light);border-color:var(--nb-teal);color:var(--nb-teal);}
.nunkio-step.active .step-name{color:var(--nb-text);font-weight:500;}
@media(max-width:400px){.nunkio-step .step-name{display:none;}}
.nunkio-panel{background:var(--nb-white);border:1px solid var(--nb-border);border-radius:var(--nb-radius);padding:1.75rem;}
.nunkio-step-title{font-size:17px;font-weight:500;color:var(--nb-text);margin:0 0 1.25rem;}
.nunkio-services-list,.nunkio-packages-list{display:flex;flex-direction:column;gap:8px;margin-bottom:1rem;}
.nunkio-service-option,.nunkio-package-option{border:1.5px solid var(--nb-border);border-radius:var(--nb-radius-sm);padding:13px 15px;cursor:pointer;display:flex;align-items:center;gap:12px;transition:border-color .15s,background .15s;user-select:none;}
.nunkio-service-option:hover,.nunkio-package-option:hover{border-color:var(--nb-teal-mid);}
.nunkio-service-option.selected,.nunkio-package-option.selected{border-color:var(--nb-teal);background:var(--nb-teal-light);}
.nunkio-service-selector{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--nb-border);flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:all .15s;}
.nunkio-service-option.selected .nunkio-service-selector,.nunkio-package-option.selected .nunkio-service-selector{background:var(--nb-teal);border-color:var(--nb-teal);}
.nunkio-radio-dot{width:6px;height:6px;border-radius:50%;background:white;opacity:0;transition:opacity .15s;}
.nunkio-service-option.selected .nunkio-radio-dot,.nunkio-package-option.selected .nunkio-radio-dot{opacity:1;}
.nunkio-service-info{flex:1;}
.nunkio-service-name{font-size:15px;font-weight:500;color:var(--nb-text);}
.nunkio-service-desc,.nunkio-service-location,.nunkio-package-sessions{font-size:12px;color:var(--nb-muted);margin-top:2px;}
.nunkio-group-badge{display:inline-block;font-size:11px;background:var(--nb-teal-light);color:var(--nb-teal);border-radius:20px;padding:2px 10px;margin-top:4px;font-weight:500;}
.nunkio-service-price-col{text-align:right;flex-shrink:0;}
.nunkio-service-price{font-size:15px;font-weight:500;color:var(--nb-text);}
.nunkio-service-duration{font-size:12px;color:var(--nb-muted);margin-top:2px;}
.nunkio-packages-toggle{margin:.5rem 0 0;}
.nunkio-link-btn{background:none;border:none;color:var(--nb-teal);cursor:pointer;font-size:13px;padding:0;text-decoration:underline;}
.nunkio-packages-heading{font-size:13px;font-weight:500;color:var(--nb-muted);text-transform:uppercase;letter-spacing:.08em;margin:1rem 0 .5rem;}
.nunkio-calendar-wrap{margin-bottom:1.25rem;}
.nunkio-cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.nunkio-cal-month{font-size:17px;font-weight:500;color:var(--nb-text);}
.nunkio-cal-prev,.nunkio-cal-next{width:32px;height:32px;border-radius:var(--nb-radius-sm);border:1px solid var(--nb-border);background:none;cursor:pointer;font-size:16px;color:var(--nb-muted);display:flex;align-items:center;justify-content:center;transition:all .15s;}
.nunkio-cal-prev:hover,.nunkio-cal-next:hover{border-color:var(--nb-teal);color:var(--nb-teal);}
.nunkio-cal-day-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:4px;}
.nunkio-cal-day-labels span{text-align:center;font-size:11px;font-weight:500;color:var(--nb-muted);padding:4px 0 6px;}
.nunkio-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;}
.nunkio-cal-day{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:13px;border-radius:var(--nb-radius-sm);transition:all .12s;}
.nunkio-cal-day.available{font-weight:500;cursor:pointer;}
.nunkio-cal-day.available:hover{background:var(--nb-teal-light);}
.nunkio-cal-day.selected{background:var(--nb-teal);color:white;}
.nunkio-cal-day.faded{color:var(--nb-border);}
.nunkio-cal-loading{grid-column:1/-1;text-align:center;padding:1rem;color:var(--nb-muted);font-size:13px;}
.nunkio-time-wrap{margin-top:1.25rem;}
.nunkio-time-heading{font-size:13px;font-weight:500;color:var(--nb-muted);text-transform:uppercase;letter-spacing:.08em;margin:0 0 .75rem;}
.nunkio-time-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;}
@media(max-width:380px){.nunkio-time-slots{grid-template-columns:repeat(3,1fr);}}
.nunkio-time-chip{border:1.5px solid var(--nb-border);border-radius:var(--nb-radius-sm);padding:10px 4px;text-align:center;font-size:12px;color:var(--nb-text);cursor:pointer;background:none;transition:all .12s;font-family:inherit;line-height:1.3;}
.nunkio-time-chip:hover{border-color:var(--nb-teal-mid);color:var(--nb-teal);}
.nunkio-time-chip.selected{background:var(--nb-teal);border-color:var(--nb-teal);color:white;font-weight:500;}
.nunkio-slot-spots{display:block;font-size:10px;color:var(--nb-muted);margin-top:2px;}
.nunkio-time-chip.selected .nunkio-slot-spots{color:rgba(255,255,255,.7);}
.nunkio-no-slots{color:var(--nb-muted);font-size:13px;margin:0;}
.nunkio-form-group{margin-bottom:14px;}
.nunkio-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
@media(max-width:420px){.nunkio-form-row{grid-template-columns:1fr;}}
.nunkio-label{display:block;font-size:13px;font-weight:500;color:var(--nb-text);margin-bottom:6px;}
.nunkio-required{color:var(--nb-teal);}
/* !important throughout: on some themes (Kadence in particular) a global
   form-field style targets bare <input>/<textarea> elements with its own
   background + low-contrast text colour, which otherwise silently beats
   these rules and makes typed/pre-filled values unreadable. The autofill
   overrides below cover the same problem when it's the browser's own
   autofill styling doing it instead of the theme. */
.nunkio-input{width:100%;border:1.5px solid var(--nb-border) !important;border-radius:var(--nb-radius-sm);padding:10px 12px;font-family:inherit;font-size:14px;color:var(--nb-text) !important;background:var(--nb-white) !important;outline:none;transition:border-color .15s;box-sizing:border-box;}
.nunkio-input:focus{border-color:var(--nb-teal) !important;}
.nunkio-input:-webkit-autofill,
.nunkio-input:-webkit-autofill:hover,
.nunkio-input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--nb-text) !important;
  -webkit-box-shadow:0 0 0px 1000px var(--nb-white) inset !important;
  box-shadow:0 0 0px 1000px var(--nb-white) inset !important;
  border-color:var(--nb-border) !important;
}
.nunkio-textarea{resize:vertical;min-height:70px;}
.nunkio-notify-options{display:flex;gap:1.25rem;flex-wrap:wrap;}
.nunkio-radio-label{display:flex;align-items:center;gap:6px;font-size:14px;cursor:pointer;}
.nunkio-booking-summary{background:var(--nb-bg);border-radius:var(--nb-radius-sm);padding:16px;margin-bottom:1.25rem;}
.nunkio-summary-row{display:flex;justify-content:space-between;align-items:baseline;padding:5px 0;font-size:14px;border-bottom:1px solid var(--nb-border);}
.nunkio-summary-row:last-child{border-bottom:none;}
.nunkio-summary-label{color:var(--nb-muted);}
.nunkio-summary-value{font-weight:500;text-align:right;max-width:60%;}
.nunkio-summary-total .nunkio-summary-label{font-weight:500;color:var(--nb-text);}
.nunkio-summary-total .nunkio-summary-value{font-size:18px;color:var(--nb-teal);}
.nunkio-payment-heading{font-size:13px;font-weight:500;color:var(--nb-muted);text-transform:uppercase;letter-spacing:.08em;margin:0 0 .75rem;}
.nunkio-payment-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:1.25rem;}
.nunkio-payment-card{border:1.5px solid var(--nb-border);border-radius:var(--nb-radius-sm);padding:14px;cursor:pointer;transition:all .15s;user-select:none;}
.nunkio-payment-card:hover{border-color:var(--nb-teal-mid);}
.nunkio-payment-card.selected{border-color:var(--nb-teal);background:var(--nb-teal-light);}
.nunkio-payment-name{font-size:14px;font-weight:500;color:var(--nb-text);}
.nunkio-payment-sub{font-size:11px;color:var(--nb-muted);margin-top:3px;}
.nunkio-step-nav{display:flex;align-items:center;justify-content:space-between;margin-top:1.5rem;gap:10px;}
.nunkio-btn{border:1.5px solid var(--nb-border);border-radius:var(--nb-radius-sm);padding:12px 22px;font-family:inherit;font-size:14px;font-weight:500;cursor:pointer;background:var(--nb-white);color:var(--nb-text);transition:all .15s;}
.nunkio-btn:hover{border-color:var(--nb-teal);}
.nunkio-btn-primary,.nunkio-btn-next:not(.nunkio-btn-back){background:var(--nb-teal);border-color:var(--nb-teal);color:white;margin-left:auto;}
.nunkio-btn-primary:hover,.nunkio-btn-next:not(.nunkio-btn-back):hover{background:var(--nb-teal-mid);border-color:var(--nb-teal-mid);}
.nunkio-btn:disabled{opacity:.6;cursor:not-allowed;}
.nunkio-error{background:#FDF0EF;border:1px solid #E8BCBB;border-radius:var(--nb-radius-sm);color:var(--nb-error);padding:10px 14px;font-size:13px;margin-bottom:1rem;}
.nunkio-secure-note{text-align:center;font-size:11px;color:var(--nb-muted);margin-top:12px;}
.nunkio-success{text-align:center;padding:3rem 1.75rem;}
.nunkio-success-icon{width:56px;height:56px;border-radius:50%;background:var(--nb-teal);color:white;font-size:24px;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;}
.nunkio-success h3{font-size:20px;font-weight:500;margin:0 0 .5rem;}
.nunkio-success p{color:var(--nb-muted);margin:0;}
.nunkio-notice{color:var(--nb-muted);font-size:14px;text-align:center;padding:1rem 0;}

/* ===== EVENTS CALENDAR ===== */
.nunkio-events-wrap{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:var(--nb-text);width:100%;margin:2rem 0;}
.nunkio-events-heading{font-size:22px;font-weight:500;color:var(--nb-text);margin:0;}
.nunkio-events-list{display:flex;flex-direction:column;gap:16px;max-width:720px;}
.nunkio-event-card{background:var(--nb-white);border:1px solid var(--nb-border);border-radius:var(--nb-radius);padding:1.25rem;display:flex;gap:1.25rem;transition:box-shadow .2s;}
.nunkio-event-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.07);}
.nunkio-event-card.nunkio-event-full{opacity:.7;}
.nunkio-event-date-block{flex-shrink:0;text-align:center;background:var(--nb-teal);color:white;border-radius:var(--nb-radius-sm);padding:12px 14px;min-width:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.nunkio-event-day{font-size:28px;font-weight:600;line-height:1;}
.nunkio-event-month{font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin-top:2px;}
.nunkio-event-year{font-size:10px;opacity:.8;margin-top:1px;}
.nunkio-event-info{flex:1;min-width:0;}
.nunkio-event-title{font-size:17px;font-weight:500;margin:0 0 .5rem;color:var(--nb-text);}
.nunkio-event-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--nb-muted);margin-bottom:.5rem;}
.nunkio-event-day-range{font-size:18px;white-space:nowrap;}
.nunkio-event-desc{font-size:13px;color:var(--nb-muted);margin:.5rem 0;line-height:1.5;}
.nunkio-event-footer{display:flex;justify-content:space-between;align-items:center;margin-top:.75rem;flex-wrap:wrap;gap:10px;}
.nunkio-event-price-action{display:flex;align-items:center;gap:12px;}
.nunkio-event-price{font-size:17px;font-weight:600;color:var(--nb-teal);}
.nunkio-spots-badge{font-size:12px;border-radius:20px;padding:3px 12px;background:var(--nb-teal-light);color:var(--nb-teal);font-weight:500;}
.nunkio-spots-full{background:#FDEDEC;color:var(--nb-error);}
.nunkio-spots-low{background:#FEF9E7;color:#9B7503;}
/* Modal */
.nunkio-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem;}
.nunkio-modal{background:white;border-radius:var(--nb-radius);padding:2rem;max-width:480px;width:100%;max-height:90vh;overflow-y:auto;position:relative;}
.nunkio-modal-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:22px;cursor:pointer;color:var(--nb-muted);line-height:1;padding:4px;}
.nunkio-modal-close:hover{color:var(--nb-text);}
.nunkio-modal-title{font-size:18px;font-weight:500;margin:0 0 .25rem;padding-right:2rem;}
.nunkio-modal-meta{font-size:13px;color:var(--nb-muted);margin-bottom:1.25rem;}
.nunkio-modal-summary{display:flex;justify-content:space-between;align-items:center;background:var(--nb-bg);border-radius:var(--nb-radius-sm);padding:12px 16px;margin:1rem 0;font-size:14px;}
.nunkio-modal-summary strong{font-size:18px;color:var(--nb-teal);}
body.nunkio-modal-open{overflow:hidden;}
@media(max-width:500px){.nunkio-event-card{flex-direction:column;}.nunkio-event-date-block{flex-direction:row;gap:6px;padding:8px 12px;justify-content:flex-start;min-width:0;width:fit-content;}.nunkio-event-day{font-size:20px;}.nunkio-event-footer{flex-direction:column;align-items:flex-start;}}

/* ===== STRIPE ===== */
.nunkio-stripe-input {
    border: 1.5px solid var(--nb-border);
    border-radius: var(--nb-radius-sm);
    padding: 12px;
    background: var(--nb-white);
    transition: border-color .15s;
}
.nunkio-stripe-input.StripeElement--focus { border-color: var(--nb-teal); }
.nunkio-stripe-input.StripeElement--invalid { border-color: var(--nb-error); }
#nunkio-stripe-wrap { margin-bottom: 1rem; }

/* ===== LOCATION CHOICE ===== */
.nunkio-location-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}
.nunkio-location-btn {
    flex: 1;
    min-width: 140px;
    border: 1.5px solid var(--nb-border);
    border-radius: var(--nb-radius-sm);
    padding: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .75rem;
    transition: all .15s;
    user-select: none;
}
.nunkio-location-btn input[type="radio"] { display: none; }
.nunkio-location-btn:has(input:checked) {
    border-color: var(--nb-teal);
    background: var(--nb-teal-light);
}
.nunkio-location-btn:hover { border-color: var(--nb-teal-mid); }
.nunkio-loc-icon { font-size: 1.25rem; }
.nunkio-loc-text { font-size: .9rem; font-weight: 500; }

/* ===== LOCATION BADGES ON SERVICE CARDS ===== */
.nunkio-location-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    border-radius: 100px;
    padding: .2rem .75rem;
    margin-top: .35rem;
}
.nunkio-inperson-badge { background: #EEF0F4; color: #4A5568; }
.nunkio-zoom-badge     { background: #EBF3FF; color: #1A56DB; }
.nunkio-choice-badge   { background: var(--nb-teal-light); color: var(--nb-teal); }

/* ===== SERVICES GRID [nunkio_services] — Fix 4 ===== */
.nunkio-services-grid-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 960px;
    margin: 0 auto;
}
.nunkio-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin: 1.5rem 0;
}
.nunkio-svc-card {
    background: #fff;
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.nunkio-svc-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
    transform: translateY(-2px);
}
.nunkio-svc-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.nunkio-svc-img-placeholder {
    background: var(--nb-teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nunkio-svc-img-icon {
    font-size: 2rem;
    color: var(--nb-teal);
    opacity: .4;
}
.nunkio-svc-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nunkio-svc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .5rem;
}
.nunkio-svc-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--nb-text);
    margin: 0;
    flex: 1;
}
.nunkio-svc-badge {
    font-size: .68rem;
    font-weight: 600;
    border-radius: 100px;
    padding: .2rem .65rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.nunkio-svc-badge-inperson { background: #EEF0F4; color: #4A5568; }
.nunkio-svc-badge-zoom     { background: #EBF3FF; color: #1A56DB; }
.nunkio-svc-badge-choice   { background: var(--nb-teal-light); color: var(--nb-teal); }
.nunkio-svc-desc {
    font-size: .88rem;
    color: var(--nb-muted);
    line-height: 1.6;
    margin: 0 0 .75rem;
    flex: 1;
}
.nunkio-svc-group-tag {
    display: inline-block;
    font-size: .72rem;
    background: var(--nb-teal-light);
    color: var(--nb-teal);
    border-radius: 20px;
    padding: 2px 10px;
    margin-bottom: .75rem;
    font-weight: 500;
}
.nunkio-svc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid var(--nb-border);
}
.nunkio-svc-meta {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
}
.nunkio-svc-price {
    font-weight: 600;
    color: var(--nb-teal);
}
.nunkio-svc-sep { color: var(--nb-muted); }
.nunkio-svc-duration { color: var(--nb-muted); font-size: .82rem; }
.nunkio-svc-book-btn {
    padding: 8px 16px;
    border-radius: var(--nb-radius-sm);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: opacity .15s;
    /* Fix 5: colours driven by CSS vars set from Settings → Appearance */
    background: var(--nb-btn-book-bg, var(--nb-teal));
    color: var(--nb-btn-book-txt, #fff);
    border: none;
    cursor: pointer;
}
.nunkio-svc-book-btn:hover { opacity: .88; }
.nunkio-services-empty { color: var(--nb-muted); font-style: italic; }

/* ===== BUTTON COLOUR OVERRIDES — Fix 5 ===== */
/* Continue / Next buttons */
.nunkio-btn-next:not(.nunkio-btn-back),
.nunkio-btn-primary,
#nunkio-pay-btn {
    background: var(--nb-btn-continue-bg, var(--nb-teal)) !important;
    border-color: var(--nb-btn-continue-bg, var(--nb-teal)) !important;
    color: var(--nb-btn-continue-txt, #fff) !important;
}
/* Back buttons */
.nunkio-btn-back {
    background: var(--nb-btn-back-bg, #fff) !important;
    color: var(--nb-btn-back-txt, var(--nb-text)) !important;
}
/* View Package Deals button */
.nunkio-link-btn#nunkio-show-packages {
    background: var(--nb-btn-packages-bg, transparent);
    color: var(--nb-btn-packages-txt, var(--nb-teal));
    border-radius: var(--nb-radius-sm);
    padding: 4px 12px;
    text-decoration: none;
    font-size: .82rem;
    display: inline-block;
}

/* ===== PACKAGE FEATURED IMAGE — Fix 2 ===== */
.nunkio-pkg-thumb {
    width: 52px;
    height: 52px;
    border-radius: var(--nb-radius-sm);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* ===== CLIENT PORTAL [nunkio_portal] ===== */
.nunkio-portal-wrap { max-width:720px; margin:0 auto; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; color:var(--nb-text); }
.nunkio-portal-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:2rem; padding-bottom:1.5rem; border-bottom:1px solid var(--nb-border); }
.nunkio-portal-title { font-size:1.5rem; font-weight:700; margin:0 0 .25rem; }
.nunkio-portal-sub { color:var(--nb-muted); font-size:.9rem; margin:0; }
.nunkio-portal-logout { font-size:.82rem; color:var(--nb-muted); text-decoration:none; margin-top:.35rem; }
.nunkio-portal-logout:hover { color:var(--nb-error); }
.nunkio-portal-section { margin-bottom:2.5rem; }
.nunkio-portal-section-title { font-size:1rem; font-weight:600; color:var(--nb-muted); text-transform:uppercase; letter-spacing:.06em; margin:0 0 1rem; font-size:.78rem; }
.nunkio-portal-notice { padding:12px 16px; border-radius:var(--nb-radius-sm); margin-bottom:1.5rem; font-size:.9rem; }
.nunkio-portal-success { background:#EAF3F1; color:#1A5C52; border:1px solid #A8D9D0; }
.nunkio-portal-error { background:#FDF0EF; color:var(--nb-error); border:1px solid #E8BCBB; }
.nunkio-portal-empty { color:var(--nb-muted); font-size:.9rem; }
.nunkio-portal-empty a { color:var(--nb-teal); }
/* Login box */
.nunkio-portal-login-box { max-width:400px; margin:0 auto; background:var(--nb-white); border:1px solid var(--nb-border); border-radius:var(--nb-radius); padding:2rem; }
.nunkio-portal-reset { font-size:.82rem; margin-top:1rem; }
.nunkio-portal-reset a { color:var(--nb-teal); }
/* Packages */
.nunkio-portal-packages { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:1rem; }
.nunkio-pkg-card { background:var(--nb-white); border:1px solid var(--nb-border); border-radius:var(--nb-radius); padding:1.5rem; text-align:center; }
.nunkio-pkg-name { font-size:.88rem; font-weight:600; color:var(--nb-muted); margin-bottom:1rem; }
.nunkio-pkg-sessions { margin-bottom:.5rem; }
.nunkio-pkg-num { font-size:2.5rem; font-weight:700; color:var(--nb-teal); display:block; line-height:1; }
.nunkio-pkg-label { font-size:.75rem; color:var(--nb-muted); }
.nunkio-pkg-expiry { font-size:.75rem; color:var(--nb-muted); margin-bottom:1rem; }
.nunkio-pkg-book-btn { display:inline-block; font-size:.82rem; font-weight:600; color:var(--nb-teal); text-decoration:none; }
/* Booking cards */
.nunkio-portal-bookings { display:flex; flex-direction:column; gap:.75rem; }
.nunkio-portal-booking-card { background:var(--nb-white); border:1px solid var(--nb-border); border-radius:var(--nb-radius-sm); padding:1.25rem 1.5rem; display:flex; align-items:center; gap:1.5rem; }
.nunkio-portal-booking-date { flex-shrink:0; text-align:center; background:var(--nb-teal); color:white; border-radius:var(--nb-radius-sm); padding:.75rem 1rem; min-width:52px; }
.npb-day { font-size:1.5rem; font-weight:700; line-height:1; }
.npb-month { font-size:.65rem; text-transform:uppercase; letter-spacing:.08em; opacity:.8; }
.nunkio-portal-booking-info { flex:1; }
.npb-name { font-size:.95rem; font-weight:600; color:var(--nb-text); }
.npb-meta { font-size:.82rem; color:var(--nb-muted); margin-top:.2rem; }
.npb-zoom-link { font-size:.78rem; color:#1A56DB; text-decoration:none; display:inline-block; margin-top:.35rem; }
.nunkio-portal-booking-actions { flex-shrink:0; text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:.5rem; }
.nunkio-portal-reschedule-btn { padding:.5rem 1.1rem; background:transparent; border:1.5px solid var(--nb-teal); color:var(--nb-teal); border-radius:var(--nb-radius-sm); font-size:.78rem; font-weight:600; cursor:pointer; font-family:inherit; transition:all .15s; }
.nunkio-portal-reschedule-btn:hover { background:var(--nb-teal); color:white; }
.nunkio-portal-cancel-btn { margin-left:.4rem; padding:.5rem 1.1rem; background:transparent; border:1.5px solid #C0392B; color:#C0392B; border-radius:var(--nb-radius-sm); font-size:.78rem; font-weight:600; cursor:pointer; font-family:inherit; transition:all .15s; }
.nunkio-portal-cancel-btn:hover { background:#C0392B; color:white; }
.npb-no-reschedule { font-size:.72rem; color:var(--nb-muted); }
/* Status badges */
.nunkio-portal-status { font-size:.7rem; font-weight:600; border-radius:100px; padding:.2rem .75rem; }
.nunkio-status-confirmed { background:#EAF3F1; color:#1A5C52; }
.nunkio-status-pending { background:#FEF9E7; color:#9B7503; }
.nunkio-status-cancelled { background:#FDF0EF; color:var(--nb-error); }
.nunkio-status-completed { background:#EEF0F4; color:#4A5568; }
/* Past bookings table */
.nunkio-portal-table { width:100%; border-collapse:collapse; font-size:.88rem; }
.nunkio-portal-table th { text-align:left; padding:8px 12px; background:var(--nb-bg); color:var(--nb-muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; font-weight:600; }
.nunkio-portal-table td { padding:10px 12px; border-bottom:1px solid var(--nb-border); }
/* Reschedule modal */
.nunkio-portal-modal { position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:9999; display:flex; align-items:center; justify-content:center; padding:1rem; }
.nunkio-portal-modal-box { background:white; border-radius:var(--nb-radius); padding:2rem; max-width:440px; width:100%; position:relative; }
.nunkio-portal-modal-close { position:absolute; top:1rem; right:1rem; background:none; border:none; font-size:22px; cursor:pointer; color:var(--nb-muted); }
@media(max-width:500px){.nunkio-portal-booking-card{flex-wrap:wrap;}.nunkio-portal-booking-actions{flex-direction:row;align-items:center;width:100%;justify-content:space-between;}}

/* ===== EVENTS — VIEW TOGGLE & SHARED ===== */
.nunkio-events-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; margin-bottom:1.5rem; }
.nunkio-events-heading { margin:0; }
.nunkio-view-toggle { display:flex; gap:4px; background:var(--nb-bg); border:1px solid var(--nb-border); border-radius:10px; padding:4px; }
.nunkio-view-btn { display:flex; align-items:center; gap:6px; padding:6px 14px; border:none; background:transparent; border-radius:7px; font-size:.8rem; font-weight:600; color:var(--nb-muted); cursor:pointer; font-family:inherit; transition:all .15s; }
.nunkio-view-btn.active, .nunkio-view-btn:hover { background:var(--nb-white); color:var(--nb-teal); box-shadow:0 1px 4px rgba(0,0,0,.08); }
.nunkio-cal-view { display:none; }
.nunkio-cal-view.active { display:block; }
/* Calendar nav bar (week + month) */
.nunkio-cal-nav-bar { display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; }
.nunkio-cal-nav-btn { display:inline-block; padding:6px 16px; background:var(--nb-white); border:1px solid var(--nb-border); border-radius:8px; font-size:.82rem; font-weight:600; color:var(--nb-teal); text-decoration:none; transition:all .15s; }
.nunkio-cal-nav-btn:hover { background:var(--nb-teal); color:white; border-color:var(--nb-teal); }
.nunkio-cal-nav-label { font-size:1rem; font-weight:700; color:var(--nb-text); }

/* ===== Shared calendar entry chip — used by both WEEK and MONTH views =====
   A simple stacked chip per event: bold start time, then the title. No hour
   axis, no positioning-by-time — the list order within a day already IS the
   time order (events are queried ordered by start_time ASC), so this reads
   like a plain agenda rather than a scaled clock face. Deliberately the same
   look in week and month view.
   The day/date column widths are fixed (the grid columns are all 1fr) — a
   long title must never widen its own column or overflow into the next
   one. .nunkio-cal-entry-name gets min-width:0 (flex items don't shrink
   below their content's width by default) plus white-space:normal so it
   wraps onto additional lines within the chip instead of overflowing or
   being cut off with an ellipsis; align-items:flex-start keeps the bold
   time lined up with the FIRST line of a wrapped title, not vertically
   centered against the whole wrapped block. */
.nunkio-cal-entry { display:flex; align-items:flex-start; gap:4px; padding:3px 6px; border-radius:5px; background:var(--nb-teal-light); cursor:pointer; margin-bottom:3px; transition:background .15s; max-width:100%; box-sizing:border-box; }
.nunkio-cal-entry:hover { background:var(--nb-teal); }
.nunkio-cal-entry:hover .nunkio-cal-entry-time,
.nunkio-cal-entry:hover .nunkio-cal-entry-name { color:white; }
.nunkio-cal-entry-full { background:#f0f0f0; cursor:default; }
.nunkio-cal-entry-full:hover { background:#f0f0f0; }
.nunkio-cal-entry-full:hover .nunkio-cal-entry-time,
.nunkio-cal-entry-full:hover .nunkio-cal-entry-name { color:inherit; }
.nunkio-cal-entry-time { flex-shrink:0; font-size:.66rem; font-weight:700; color:var(--nb-teal); white-space:nowrap; padding-top:1px; }
.nunkio-cal-entry-name { flex:1 1 auto; min-width:0; font-size:.68rem; font-weight:600; color:var(--nb-text); white-space:normal; overflow-wrap:break-word; word-break:break-word; }
.nunkio-cal-entry-full .nunkio-cal-entry-time,
.nunkio-cal-entry-full .nunkio-cal-entry-name { color:var(--nb-muted); }

/* ===== WEEK VIEW — simple per-day agenda =====
   Updated 3.23.0: each day is a .nunkio-week-col holding its own label and
   events. Desktop/tablet: 7 columns side by side as before. Phones
   (max-width 640px): the columns stack into a day-by-day agenda, date on
   the left and that day's events on the right, with no sideways scrolling.
   Before this, 7 columns were forced into a phone's width (min-width
   520px), so titles wrapped one letter per line. */
.nunkio-week-simple-scroll { border:1px solid var(--nb-border); border-radius:12px; overflow:hidden; }
.nunkio-week-simple-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); background:var(--nb-white); }
.nunkio-week-col { display:flex; flex-direction:column; min-width:0; border-left:1px solid var(--nb-border); }
.nunkio-week-col:first-child { border-left:none; }
.nunkio-week-day-label { padding:8px 4px; text-align:center; border-bottom:1px solid var(--nb-border); background:var(--nb-bg); }
.nunkio-week-col.nunkio-week-today .nunkio-week-day-label { background:var(--nb-teal-light); }
.nunkio-week-day-name { display:block; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--nb-muted); }
.nunkio-week-day-num { display:block; font-size:1.1rem; font-weight:700; color:var(--nb-text); line-height:1.2; }
.nunkio-week-col.nunkio-week-today .nunkio-week-day-num { color:var(--nb-teal); }
.nunkio-week-simple-day { flex:1; padding:6px; min-height:80px; min-width:0; }
.nunkio-week-col.nunkio-week-today .nunkio-week-simple-day { background:var(--nb-teal-light); }
/* Desktop: time above title, since a column is only ~1/7 of the width */
.nunkio-week-simple-day .nunkio-cal-entry { flex-direction:column; gap:1px; }
.nunkio-week-none { display:none; }
@media(max-width:640px){
  .nunkio-week-simple-grid { grid-template-columns:1fr; }
  .nunkio-week-col { flex-direction:row; border-left:none; border-top:1px solid var(--nb-border); }
  .nunkio-week-col:first-child { border-top:none; }
  .nunkio-week-day-label { flex:0 0 58px; border-bottom:none; border-right:1px solid var(--nb-border); padding:10px 4px; display:flex; flex-direction:column; justify-content:center; }
  .nunkio-week-simple-day { min-height:0; padding:8px 10px; display:flex; flex-direction:column; justify-content:center; gap:6px; }
  .nunkio-week-simple-day .nunkio-cal-entry { flex-direction:row; align-items:baseline; gap:8px; padding:8px 10px; margin:0; }
  .nunkio-week-simple-day .nunkio-cal-entry-time { font-size:.78rem; }
  .nunkio-week-simple-day .nunkio-cal-entry-name { font-size:.85rem; }
  .nunkio-week-none { display:block; font-size:.8rem; color:var(--nb-muted); }
}

/* ===== MONTH VIEW ===== */
.nunkio-month-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:1px; background:var(--nb-border); border:1px solid var(--nb-border); border-radius:12px; overflow:hidden; }
.nunkio-month-day-label { background:var(--nb-bg); padding:8px 4px; text-align:center; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--nb-muted); }
.nunkio-month-cell { background:var(--nb-white); min-height:80px; padding:6px; position:relative; }
.nunkio-month-empty { background:var(--nb-bg); opacity:.5; }
.nunkio-month-today { background:var(--nb-teal-light); }
.nunkio-month-cell-num { font-size:.82rem; font-weight:700; color:var(--nb-muted); margin-bottom:4px; }
.nunkio-month-today .nunkio-month-cell-num { color:var(--nb-teal); }
/* Month detail panel */
.nunkio-month-detail { margin-top:1rem; background:var(--nb-white); border:1px solid var(--nb-border); border-radius:12px; padding:1.5rem; position:relative; animation:nunkio-fade-in .2s ease; }
@keyframes nunkio-fade-in { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:translateY(0)} }
.nunkio-month-detail-close { position:absolute; top:1rem; right:1rem; background:none; border:none; font-size:1.2rem; cursor:pointer; color:var(--nb-muted); }
/* Month grid cells must never be widened by their contents */
.nunkio-month-grid > * { min-width:0; }
.nunkio-cal-entry-multi { border-left:3px solid var(--nb-teal); }
/* Updated 3.23.0: phone list of the month's events, shown under the grid
   (see nunkio_render_month_calendar_inner()). Hidden on larger screens. */
.nunkio-month-agenda { display:none; margin-top:1rem; }
.nunkio-month-agenda-row { align-items:center; gap:12px; padding:10px 12px; margin-bottom:6px; border-radius:8px; }
.nunkio-month-agenda-date { flex:0 0 52px; font-size:.78rem; font-weight:700; color:var(--nb-teal); text-transform:uppercase; }
.nunkio-month-agenda-info { display:flex; flex-direction:column; gap:2px; min-width:0; }
.nunkio-month-agenda-row .nunkio-cal-entry-name { font-size:.9rem; }
.nunkio-month-agenda-row .nunkio-cal-entry-time { font-size:.78rem; font-weight:600; white-space:normal; }
.nunkio-month-agenda-row:hover .nunkio-month-agenda-date { color:white; }
/* Updated 3.23.0: on phones each event in the grid becomes a small dot
   (there's no room for times or names in 1/7 of a phone's width); the list
   below the grid carries the details. */
@media(max-width:640px){
  .nunkio-month-day-label { padding:6px 0; font-size:.62rem; letter-spacing:.02em; }
  .nunkio-month-cell { min-height:48px; padding:4px 2px; text-align:center; }
  .nunkio-month-cell-num { font-size:.78rem; margin-bottom:2px; }
  .nunkio-month-cell .nunkio-cal-entry { display:inline-block; width:8px; height:8px; padding:0; margin:1px; border-radius:50%; background:var(--nb-teal); border-left:none; vertical-align:middle; }
  .nunkio-month-cell .nunkio-cal-entry-full { background:var(--nb-muted); }
  .nunkio-month-cell .nunkio-cal-entry-time, .nunkio-month-cell .nunkio-cal-entry-name { display:none; }
  .nunkio-month-agenda { display:block; }
}
/* Updated 3.23.0: calendar controls on phones — the view buttons share the
   full width and the Prev/Next bar stays on one line. The scoped selectors
   stop theme button styles (borders, large text) from overriding these. */
.nunkio-events-wrap .nunkio-view-btn { border:none; min-height:0; line-height:1.2; text-transform:none; letter-spacing:normal; font-size:.85rem; color:var(--nb-muted); background:transparent; box-shadow:none; }
.nunkio-events-wrap .nunkio-view-btn.active, .nunkio-events-wrap .nunkio-view-btn:hover { background:var(--nb-white); color:var(--nb-teal); box-shadow:0 1px 4px rgba(0,0,0,.08); }
@media(max-width:640px){
  .nunkio-events-wrap .nunkio-view-toggle { width:100%; }
  .nunkio-events-wrap .nunkio-view-btn { flex:1 1 0; justify-content:center; padding:8px 6px; }
  .nunkio-cal-nav-bar { gap:8px; }
  .nunkio-cal-nav-btn { padding:6px 10px; white-space:nowrap; }
  .nunkio-cal-nav-label { font-size:.88rem; text-align:center; }
}

/* Added 3.24.3: list view "View more events" */
.nunkio-events-list .nunkio-list-hidden { display:none; }
.nunkio-list-more { text-align:center; margin-top:1rem; }
.nunkio-list-more-note { font-size:13px; color:var(--nb-muted); margin:.75rem 0 0; }
.nunkio-events-wrap .nunkio-list-more-note .nunkio-link-btn { font-size:13px; font-weight:600; border:none; background:none; padding:0; min-height:0; line-height:inherit; color:var(--nb-teal); text-transform:none; letter-spacing:normal; }

/* Added 3.24.5: Settings → Appearance colours for the booking form step
   labels and the events list date block (variables output by
   Nunkio_Loader::output_button_colours()). Scoped selectors so a theme's
   text colours don't override them. */
.nunkio-booking-wrap .nunkio-step { color:var(--nb-step-txt, var(--nb-muted)); }
.nunkio-booking-wrap .nunkio-step:not(.active):not(.done) .step-num { border-color:currentColor; }
.nunkio-booking-wrap .nunkio-step.active .step-name { color:var(--nb-step-active-txt, var(--nb-text)); }
.nunkio-events-wrap .nunkio-event-date-block { background:var(--nb-event-date-bg, var(--nb-teal)); color:var(--nb-event-date-txt, #fff); }
