/* SS Arena Booking — Calendar Styles v1.4 */

.ssab-wrap * { box-sizing: border-box; }

/* -------------------------------------------------------
   ACCESS GATE
------------------------------------------------------- */
.ssab-access-gate {
    display: flex;
    justify-content: center;
    padding: 40px 16px;
}
.ssab-access-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 36px 32px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.ssab-access-box h2 { margin: 0 0 8px; font-size: 1.4rem; color: #3B2314; }
.ssab-access-box p  { color: #555; margin: 0 0 20px; font-size: 0.95rem; }
.ssab-access-box input[type="password"] {
    width: 100%; padding: 10px 14px; border: 1px solid #ccc;
    border-radius: 6px; font-size: 1rem; margin-bottom: 12px;
    outline: none; transition: border-color 0.2s;
}
.ssab-access-box input[type="password"]:focus { border-color: #4A7C3F; }
.ssab-access-box button {
    width: 100%; background: #3B2314; color: #fff; border: none;
    padding: 11px; border-radius: 6px; font-size: 1rem;
    cursor: pointer; transition: background 0.2s;
}
.ssab-access-box button:hover { background: #4A7C3F; }
.ssab-error { color: #c0392b; font-size: 0.9rem; margin-bottom: 12px !important; }

/* -------------------------------------------------------
   MAIN WRAP — 60vw desktop, 90vw mobile
------------------------------------------------------- */
.ssab-wrap {
    font-family: inherit;
    padding: 0 0 40px;
    width: 60vw;
    max-width: 1000px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .ssab-wrap {
        width: 100%;
        max-width: 100%;
        padding-left: 5px;
        padding-right: 5px;
        left: 0;
        transform: none;
    }
}

/* -------------------------------------------------------
   ADMIN BANNER
------------------------------------------------------- */
.ssab-admin-banner {
    background: #3B2314;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ssab-admin-banner span {
    font-weight: 400;
    opacity: 0.8;
}

/* -------------------------------------------------------
   HEADER & LEGEND
------------------------------------------------------- */
.ssab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}
.ssab-title { margin: 0; font-size: 1.3rem; color: #3B2314; }

.ssab-capacity-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.ssab-dot {
    display: inline-block;
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ssab-dot-open    { background: #4A7C3F; }
.ssab-dot-partial { background: #E8952A; }
.ssab-dot-almost  { background: #cc6b1a; }
.ssab-dot-full    { background: #c0392b; }
.ssab-dot-unavail { background: #ddd; }

/* -------------------------------------------------------
   BUTTONS
------------------------------------------------------- */
.ssab-btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: none;
    font-weight: 600;
    line-height: 1.4;
}
.ssab-btn-nav { background: rgba(255,255,255,0.18); color: #fff; }
.ssab-btn-nav:hover { background: rgba(255,255,255,0.35); color: #fff; }
.ssab-btn-nav.ssab-disabled {
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.3);
    cursor: default; pointer-events: none;
}
.ssab-btn-primary {
    background: #4A7C3F; color: #fff;
    padding: 11px 24px; font-size: 1rem; width: 100%;
}
.ssab-btn-primary:hover { background: #3B6332; }
.ssab-btn-admin-add {
    background: #3B2314; color: #fff;
    padding: 9px 22px; font-size: 0.9rem;
}
.ssab-btn-admin-add:hover { background: #5a3520; }
.ssab-btn-cancel-inline {
    background: #fde8e8; color: #c0392b;
    border: 1px solid #f5aaaa;
    padding: 5px 12px; font-size: 0.82rem;
    border-radius: 5px; cursor: pointer;
    font-weight: 600; transition: background 0.15s;
}
.ssab-btn-cancel-inline:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

/* -------------------------------------------------------
   NOTICES
------------------------------------------------------- */
.ssab-notice {
    padding: 12px 16px; border-radius: 6px;
    margin-bottom: 16px; font-size: 0.95rem;
}
.ssab-notice.ssab-success { background: #edf7eb; color: #2d6a27; border: 1px solid #b2d9ae; }
.ssab-notice.ssab-error   { background: #fde8e8; color: #c0392b; border: 1px solid #f5aaaa; }

/* -------------------------------------------------------
   MONTH CALENDAR — full width
------------------------------------------------------- */
.ssab-month-wrap {
    background: #fff;
    border: 1px solid #d4cfc9;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    width: 100%;
    box-shadow:
        0 2px 0 #c8c0b8,
        0 4px 0 #e0dbd4,
        0 6px 18px rgba(0,0,0,0.10),
        0 1px 3px rgba(0,0,0,0.06);
}

.ssab-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: linear-gradient(135deg, #4a2c18 0%, #3B2314 60%, #2e1a0e 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.15);
}
.ssab-month-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

/* 7-column grid */
.ssab-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid #e8e4df;
}

.ssab-month-dow {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    padding: 10px 4px;
    background: #faf8f5;
    border-bottom: 1px solid #e8e4df;
    border-right: 1px solid #e8e4df;
}
.ssab-month-dow:last-child { border-right: none; }

/* Day cells — taller for more breathing room */
.ssab-month-cell {
    min-height: 96px;
    padding: 10px 8px 8px;
    border-right: 1px solid #e8e4df;
    border-bottom: 1px solid #e8e4df;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: filter 0.12s, box-shadow 0.12s;
}
.ssab-month-cell:nth-child(7n) { border-right: none; }

.ssab-month-empty { background: #faf8f5; }
.ssab-day-unavail { background: #f5f5f5; }
.ssab-day-open    { background: #f0faf0; }
.ssab-day-partial { background: #fef9f0; }
.ssab-day-almost  { background: #fef3e8; }
.ssab-day-full    { background: #fef0f0; }
.ssab-day-past    { opacity: 0.55; }

.ssab-day-bookable { cursor: pointer; }
.ssab-day-bookable:hover {
    filter: brightness(0.95);
    outline: 2px solid #4A7C3F;
    outline-offset: -2px;
    z-index: 1;
    position: relative;
    box-shadow: inset 0 0 0 1px #4A7C3F, 0 4px 12px rgba(74,124,63,0.18);
}
.ssab-day-bookable:focus {
    outline: 2px solid #3B2314;
    outline-offset: -2px;
    position: relative;
    z-index: 1;
}

/* Today circle */
.ssab-day-today .ssab-day-num {
    background: #3B2314;
    color: #fff !important;
    border-radius: 50%;
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ssab-day-num {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ssab-day-unavail .ssab-day-num { color: #bbb; }

/* Capacity badge */
.ssab-day-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}
.ssab-day-open    .ssab-day-badge { background: #d4edda; color: #276221; }
.ssab-day-partial .ssab-day-badge { background: #fde9c3; color: #7a4c00; }
.ssab-day-almost  .ssab-day-badge { background: #fdd5b0; color: #7a3300; }
.ssab-day-full    .ssab-day-badge { background: #fcc9c9; color: #7a1010; }
.ssab-badge-open  { background: #d4edda !important; color: #276221 !important; }

/* -------------------------------------------------------
   DAY PANEL
------------------------------------------------------- */
.ssab-day-panel {
    background: #fff;
    border: 1px solid #d4cfc9;
    border-radius: 14px;
    padding: 22px 22px 28px;
    margin-bottom: 24px;
    animation: ssab-panel-in 0.18s ease;
    width: 100%;
    box-shadow:
        0 2px 0 #c8c0b8,
        0 4px 0 #e0dbd4,
        0 6px 18px rgba(0,0,0,0.09);
}
.ssab-day-panel[hidden] { display: none; }

@keyframes ssab-panel-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ssab-day-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}
.ssab-day-panel-title { margin: 0; font-size: 1.1rem; color: #3B2314; font-weight: 700; }
.ssab-day-panel-close {
    background: #f0ece7; color: #3B2314; border: none;
    padding: 6px 14px; border-radius: 6px; font-size: 0.88rem;
    font-weight: 600; cursor: pointer; transition: background 0.15s;
}
.ssab-day-panel-close:hover { background: #e0d8d0; }

.ssab-slots-loading { color: #aaa; font-size: 0.9rem; font-style: italic; padding: 8px 0; }

/* Slot cards grid — more columns on wide screens */
.ssab-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.ssab-slot-card {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: filter 0.12s, border-color 0.12s, box-shadow 0.12s, transform 0.12s;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 1px 0 rgba(255,255,255,0.8) inset;
}
.ssab-slot-open        { background: #f0faf0; border-color: #b8e0b8; }
.ssab-slot-partial     { background: #fef9f0; border-color: #fad9a0; }
.ssab-slot-almost      { background: #fef3e8; border-color: #f5c28a; }
.ssab-slot-full        { background: #fef0f0; border-color: #f5b0b0; }
.ssab-slot-unavailable { background: #f5f5f5; border-color: #e0e0e0; }

.ssab-slot-bookable { cursor: pointer; }
.ssab-slot-bookable:hover {
    filter: brightness(0.95);
    border-color: #4A7C3F;
    box-shadow: 0 4px 12px rgba(74,124,63,0.18), 0 1px 3px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.ssab-slot-bookable:focus { outline: 2px solid #3B2314; outline-offset: 2px; border-color: #3B2314; }

/* Admin: slot cards are always clickable to see details */
.ssab-admin-mode .ssab-slot-card { cursor: pointer; }
.ssab-admin-mode .ssab-slot-card:hover { filter: brightness(0.93); }

.ssab-slot-time  { font-size: 0.98rem; font-weight: 700; color: #333; }
.ssab-slot-count { font-size: 0.82rem; font-weight: 600; color: #666; }
.ssab-slot-full .ssab-slot-time  { color: #c0392b; }
.ssab-slot-full .ssab-slot-count { color: #c0392b; }
.ssab-slot-unavailable .ssab-slot-time { color: #bbb; }

/* Admin: "View" hint badge on slot cards */
.ssab-admin-mode .ssab-slot-card.ssab-slot-has-bookings::after {
    content: '👁 View';
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #3B2314;
    opacity: 0.65;
    margin-top: 2px;
}

/* -------------------------------------------------------
   ADMIN: Add Booking Form (inside day panel)
------------------------------------------------------- */
.ssab-admin-add-wrap {
    border-top: 2px dashed #e0ddd8;
    padding-top: 18px;
    margin-top: 4px;
}
.ssab-admin-add-wrap[hidden] { display: none; }
.ssab-admin-add-title {
    margin: 0 0 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #3B2314;
}
.ssab-admin-add-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.ssab-admin-add-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* -------------------------------------------------------
   SHARED FORM STYLES
------------------------------------------------------- */
.ssab-field { margin-bottom: 0; }
.ssab-field label {
    display: block; font-size: 0.85rem;
    font-weight: 600; color: #444; margin-bottom: 4px;
}
.ssab-optional { font-weight: 400; color: #999; }
.ssab-req { color: #c0392b; }
.ssab-field input,
.ssab-field select {
    width: 100%; padding: 9px 11px;
    border: 1px solid #ccc; border-radius: 6px;
    font-size: 0.92rem; outline: none; transition: border-color 0.2s;
    background: #fff;
}
.ssab-field input:focus,
.ssab-field select:focus { border-color: #4A7C3F; }
.ssab-form-footer { margin-top: 8px; }
.ssab-form-note { font-size: 0.8rem; color: #999; text-align: center; margin: 8px 0 0; }
.ssab-form-message {
    margin-top: 12px; padding: 10px 14px;
    border-radius: 6px; font-size: 0.9rem; text-align: center;
}
.ssab-form-message.ssab-msg-success { background: #edf7eb; color: #2d6a27; border: 1px solid #b2d9ae; }
.ssab-form-message.ssab-msg-error   { background: #fde8e8; color: #c0392b; border: 1px solid #f5aaaa; }

/* -------------------------------------------------------
   BOOKING MODAL
------------------------------------------------------- */
.ssab-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.55);
    z-index: 999999;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}
.ssab-modal-overlay[hidden] { display: none !important; }

.ssab-modal {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    animation: ssab-modal-in 0.18s ease;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: auto;
    flex-shrink: 0;
}
.ssab-modal-admin { max-width: 520px; }

@keyframes ssab-modal-in {
    from { transform: translateY(12px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.ssab-modal h3 { margin: 0 0 4px; font-size: 1.2rem; color: #3B2314; }
.ssab-modal-slot-info { color: #4A7C3F; font-size: 0.95rem; font-weight: 600; margin: 0 0 20px; }
.ssab-modal-close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none;
    font-size: 1.5rem; color: #999;
    cursor: pointer; line-height: 1; padding: 0;
}
.ssab-modal-close:hover { color: #333; }

/* -------------------------------------------------------
   ADMIN: Booking detail list (inside modal)
------------------------------------------------------- */
.ssab-admin-detail-list { display: flex; flex-direction: column; gap: 12px; }
.ssab-booking-detail-card {
    background: #faf8f5;
    border: 1px solid #e8e0d8;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}
.ssab-booking-detail-card .ssab-detail-name {
    font-size: 1rem; font-weight: 700; color: #3B2314;
    margin-bottom: 4px;
}
.ssab-booking-detail-card .ssab-detail-row {
    font-size: 0.85rem; color: #555;
}
.ssab-booking-detail-card .ssab-detail-row strong { color: #333; }
.ssab-booking-detail-card .ssab-detail-cancel {
    margin-top: 10px;
    align-self: flex-start;
}
.ssab-detail-empty {
    color: #aaa; font-style: italic; font-size: 0.9rem; padding: 4px 0;
}

/* -------------------------------------------------------
   MOBILE
------------------------------------------------------- */
@media (max-width: 600px) {

    /* --- Calendar grid --- */
    .ssab-month-cell   { min-height: 60px; padding: 4px 2px 3px; }
    .ssab-day-badge    { font-size: 0.62rem; padding: 2px 4px; }
    .ssab-day-num      { font-size: 0.82rem; width: 22px; height: 22px; }
    .ssab-month-dow    { font-size: 0.7rem; padding: 5px 2px; }
    .ssab-month-nav    { gap: 6px; }
    .ssab-month-label  { font-size: 1rem; }

    /* --- Slot grid — 2 columns on mobile --- */
    .ssab-slots-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .ssab-slot-card    { padding: 10px 8px; }
    .ssab-slot-time    { font-size: 0.9rem; }
    .ssab-slot-count   { font-size: 0.78rem; }

    /* --- Modal — full-screen bottom sheet on mobile --- */
    .ssab-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .ssab-modal {
        border-radius: 16px 16px 0 0;
        max-width: 100%;
        width: 100%;
        padding: 24px 16px 32px;
        max-height: 88vh;
    }
    .ssab-modal-admin  { max-width: 100%; }
    .ssab-modal h3     { font-size: 1.05rem; }
    .ssab-modal-slot-info { font-size: 0.88rem; margin-bottom: 14px; }

    /* --- Admin banner — stack on mobile --- */
    .ssab-admin-banner {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 0.82rem;
        padding: 8px 12px;
    }
    .ssab-admin-banner span { font-size: 0.78rem; }
    .ssab-logout-btn   { margin-left: 0; width: 100%; text-align: center; }

    /* --- Booking form fields — single column --- */
    .ssab-admin-add-grid { grid-template-columns: 1fr; }
    .ssab-field input,
    .ssab-field select  { font-size: 1rem; padding: 10px 12px; }

    /* --- Admin tabs — full width --- */
    .ssab-admin-tab    { padding: 8px 12px; font-size: 0.8rem; flex: 1; text-align: center; }

    /* --- Block items — stack info + button --- */
    .ssab-block-item   { flex-direction: column; align-items: flex-start; gap: 6px; }
    .ssab-block-remove { align-self: flex-end; }

    /* --- Header title --- */
    .ssab-title        { font-size: 1.1rem; }

    /* --- Legend wrap --- */
    .ssab-capacity-legend { gap: 6px; font-size: 0.78rem; }

    /* --- Booking detail cards --- */
    .ssab-booking-detail-card { padding: 12px 12px; }
    .ssab-booking-detail-card .ssab-detail-name { font-size: 0.95rem; }
    .ssab-booking-detail-card .ssab-detail-row  { font-size: 0.82rem; }

    /* --- Email toggle hint --- */
    .ssab-toggle-hint  { margin-left: 0; margin-top: 6px; }

    /* --- Submit button full width --- */
    .ssab-btn-submit, .ssab-btn-admin-block { width: 100%; text-align: center; }
}

/* -------------------------------------------------------
   ADMIN TABS
------------------------------------------------------- */
.ssab-admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8e4df;
    margin-bottom: 18px;
}
.ssab-admin-tab {
    background: none;
    border: none;
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}
.ssab-admin-tab:hover { color: #3B2314; }
.ssab-admin-tab-active {
    color: #3B2314;
    border-bottom-color: #3B2314;
}

.ssab-admin-tab-panel[hidden] { display: none; }

/* -------------------------------------------------------
   EMAIL SEND TOGGLE SWITCH
------------------------------------------------------- */
.ssab-admin-email-toggle {
    margin: 14px 0 16px;
    padding: 12px 14px;
    background: #faf8f5;
    border: 1px solid #e8e4df;
    border-radius: 8px;
}
.ssab-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.ssab-toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}
.ssab-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.ssab-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 22px;
    transition: background 0.2s;
    cursor: pointer;
}
.ssab-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.ssab-toggle-switch input:checked + .ssab-toggle-slider {
    background: #4A7C3F;
}
.ssab-toggle-switch input:checked + .ssab-toggle-slider::before {
    transform: translateX(18px);
}
.ssab-toggle-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
}
.ssab-toggle-hint {
    font-size: 0.78rem;
    color: #999;
    margin: 6px 0 0 50px;
}

/* -------------------------------------------------------
   BLOCK TIME SECTION
------------------------------------------------------- */
.ssab-btn-admin-block {
    background: #7a3300;
    color: #fff;
    padding: 9px 22px;
    font-size: 0.9rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.ssab-btn-admin-block:hover { background: #5c2600; }

.ssab-block-time-field { transition: opacity 0.2s; }
.ssab-block-time-field.ssab-hidden { opacity: 0.3; pointer-events: none; }

/* Existing blocks list */
.ssab-existing-blocks {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #e0ddd8;
}
.ssab-existing-blocks[hidden] { display: none; }
.ssab-existing-blocks-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #3B2314;
    margin: 0 0 10px;
}
.ssab-block-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fef3e8;
    border: 1px solid #f5c28a;
    border-radius: 8px;
    padding: 9px 12px;
    margin-bottom: 8px;
    gap: 10px;
    flex-wrap: wrap;
}
.ssab-block-item-info {
    font-size: 0.85rem;
    color: #444;
}
.ssab-block-item-info strong { color: #3B2314; }
.ssab-block-remove {
    background: none;
    border: 1px solid #f5aaaa;
    color: #c0392b;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}
.ssab-block-remove:hover { background: #c0392b; color: #fff; border-color: #c0392b; }
.ssab-no-blocks {
    font-size: 0.85rem;
    color: #aaa;
    font-style: italic;
}

/* -------------------------------------------------------
   LOGOUT BUTTON
------------------------------------------------------- */
.ssab-admin-banner {
    justify-content: flex-start;
}
.ssab-logout-btn {
    margin-left: auto;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 13px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}
.ssab-logout-btn:hover {
    background: rgba(255,255,255,0.28);
}

/* Boarder logout bar (non-admin) */
.ssab-logout-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.ssab-logout-btn-light {
    background: #f5f0e8;
    color: #3B2314;
    border: 1px solid #d4cfc9;
    padding: 5px 13px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.ssab-logout-btn-light:hover {
    background: #e8e0d4;
}
