/* ═══════════════════════════════════════════════
   BookClass — Stylesheet v2.1.0
   Mobile-first, responsive, clean institutional
   Supports multi-hour chip selections & card view
   ═══════════════════════════════════════════════ */

:root {
    --bc-blue:       #2b4acb;
    --bc-blue-light: #4a6ef5;
    --bc-blue-bg:    #eef1fd;
    --bc-red:        #dc3545;
    --bc-red-light:  #fff0f1;
    --bc-green:      #28a745;
    --bc-green-bg:   #eafaf1;
    --bc-grey-50:    #f8f9fa;
    --bc-grey-100:   #f1f3f5;
    --bc-grey-200:   #e9ecef;
    --bc-grey-400:   #adb5bd;
    --bc-grey-600:   #6c757d;
    --bc-grey-800:   #343a40;
    --bc-text:       #1e2a3a;
    --bc-radius:     12px;
    --bc-shadow:     0 4px 20px rgba(43,74,203,.08);
    --bc-shadow-sm:  0 2px 8px rgba(0,0,0,.06);
    --bc-font:       'Segoe UI', system-ui, -apple-system, sans-serif;
    --bc-transition: 0.18s ease;
}

/* ── Wrapper ── */
.bc-wrap {
    font-family: var(--bc-font);
    color: var(--bc-text);
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Cards ── */
.bc-card {
    background: #fff;
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow);
    overflow: hidden;
    border: 1px solid var(--bc-grey-200);
}

.bc-card-header {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 3px solid var(--bc-blue);
    background: var(--bc-grey-50);
}
.bc-card-header--secondary { border-bottom-color: var(--bc-red); }
.bc-card-header--grid      { border-bottom-color: var(--bc-blue-light); padding: 0; }
.bc-card-header--gate      { border-bottom-color: #6366f1; background: #f5f3ff; }

.bc-passcode-card {
    max-width: 520px;
    margin: 1.5rem auto;
    border: 1px solid #e0e7ff;
    box-shadow: 0 8px 30px rgba(99,102,241,.12);
}

.bc-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* ── Typography ── */
.bc-title {
    font-size: clamp(1.2rem, 3.5vw, 1.65rem);
    font-weight: 700;
    color: var(--bc-blue);
    margin: 0;
}
.bc-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bc-red);
    margin: 0 0 .25rem;
}
.bc-hint {
    font-size: .85rem;
    color: var(--bc-grey-600);
    margin: 0;
}
.bc-hint-inline {
    font-size: .78rem;
    font-weight: 400;
    color: var(--bc-grey-600);
}

.bc-grid-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1rem 1.5rem;
}

.bc-grid-title {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: var(--bc-blue);
    margin: 0;
}

/* ── View Toggle ── */
.bc-view-toggle {
    display: flex;
    background: var(--bc-grey-200);
    padding: 3px;
    border-radius: 8px;
    gap: 3px;
}

.bc-toggle-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--bc-grey-600);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--bc-transition);
}

.bc-toggle-btn.active {
    background: #fff;
    color: var(--bc-blue);
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

/* ── Form Fields ── */
.bc-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.bc-field--half { flex: 1 1 48%; }

.bc-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.bc-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--bc-grey-800);
}
.bc-captcha-label {
    color: var(--bc-blue);
    font-size: .9rem;
}

.bc-input,
.bc-select {
    width: 100%;
    padding: .75rem .95rem;
    border: 1.5px solid var(--bc-grey-200);
    border-radius: 8px;
    font-size: .95rem;
    font-family: var(--bc-font);
    color: var(--bc-text);
    background: #fff;
    transition: border-color var(--bc-transition), box-shadow var(--bc-transition);
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    min-height: 44px;
}
.bc-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.bc-input:focus,
.bc-select:focus {
    outline: none;
    border-color: var(--bc-blue);
    box-shadow: 0 0 0 3.5px rgba(43,74,203,.12);
}
.bc-captcha-input { max-width: 160px; }

/* ── Multi-Slot Touch Chips ── */
.bc-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.bc-chip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    min-height: 44px;
    border: 1.5px solid var(--bc-grey-200);
    border-radius: 22px;
    font-size: .88rem;
    font-weight: 500;
    font-family: var(--bc-font);
    color: var(--bc-grey-800);
    background: #fff;
    cursor: pointer;
    transition: all var(--bc-transition);
    user-select: none;
    touch-action: manipulation;
}

.bc-chip-check {
    display: none;
    font-size: .8rem;
    font-weight: 700;
}

.bc-chip-btn:hover:not(.disabled):not(.selected) {
    border-color: var(--bc-blue-light);
    background: var(--bc-blue-bg);
    transform: translateY(-1px);
}

.bc-chip-btn.selected {
    border-color: var(--bc-blue);
    background: var(--bc-blue);
    color: #fff;
    box-shadow: 0 3px 10px rgba(43,74,203,.30);
    font-weight: 600;
}
.bc-chip-btn.selected .bc-chip-check {
    display: inline-block;
}

.bc-chip-btn.disabled {
    opacity: .45;
    background: var(--bc-grey-100);
    border-color: var(--bc-grey-200);
    color: var(--bc-grey-600);
    cursor: not-allowed;
    text-decoration: line-through;
}

.bc-slot-summary {
    font-size: .8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    background: var(--bc-grey-100);
    color: var(--bc-grey-600);
    transition: all var(--bc-transition);
}
.bc-slot-summary.active {
    background: var(--bc-blue-bg);
    color: var(--bc-blue);
    border: 1px solid rgba(43,74,203,.2);
}

.bc-chip-actions {
    display: flex;
    gap: 14px;
    margin-top: 4px;
}
.bc-text-btn {
    background: none;
    border: none;
    font-size: .8rem;
    font-weight: 600;
    color: var(--bc-blue);
    cursor: pointer;
    text-decoration: underline;
    padding: 2px 0;
}
.bc-text-btn:hover { color: var(--bc-blue-light); }

/* ── Textarea ── */
.bc-textarea {
    resize: vertical;
    min-height: 60px;
    line-height: 1.5;
}

/* ── Buttons ── */
.bc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .85rem 1.3rem;
    min-height: 46px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--bc-transition), transform var(--bc-transition), box-shadow var(--bc-transition);
    letter-spacing: .02em;
    touch-action: manipulation;
}
.bc-btn:active { transform: scale(.98); }
.bc-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Animated CSS Spinner (replaces emoji ⏳) ── */
@keyframes bc-spin {
    to { transform: rotate(360deg); }
}
.bc-spinner-ring {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bc-spin .7s linear infinite;
    flex-shrink: 0;
}

.bc-btn-primary {
    background: var(--bc-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(43,74,203,.30);
}
.bc-btn-primary:hover:not(:disabled) {
    background: var(--bc-blue-light);
    box-shadow: 0 6px 18px rgba(43,74,203,.35);
}
.bc-btn-danger {
    background: var(--bc-red);
    color: #fff;
    box-shadow: 0 4px 14px rgba(220,53,69,.25);
}
.bc-btn-danger:hover:not(:disabled) {
    background: #c82333;
}

/* ── Messages ── */
.bc-message {
    padding: .85rem 1.1rem;
    border-radius: 8px;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.4;
}
.bc-message.success {
    background: var(--bc-green-bg);
    color: #155724;
    border: 1px solid #b8dfc6;
}
.bc-message.error {
    background: var(--bc-red-light);
    color: #721c24;
    border: 1px solid #f5c2c7;
}

/* ── Loading ── */
.bc-loading {
    padding: 2rem;
    text-align: center;
    color: var(--bc-grey-600);
    font-size: .95rem;
}

/* ── Availability Table ── */
.bc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 .5rem;
}

.bc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: .88rem;
}

.bc-th {
    background: var(--bc-blue);
    color: #fff;
    padding: .7rem .75rem;
    text-align: center;
    font-weight: 600;
    font-size: .82rem;
    white-space: nowrap;
}
.bc-th-room {
    background: var(--bc-grey-800);
    text-align: left;
    position: sticky;
    left: 0;
    z-index: 2;
}

.bc-table tbody tr:nth-child(even) { background: var(--bc-grey-50); }
.bc-table tbody tr:hover           { background: var(--bc-blue-bg); }

.bc-td {
    padding: .55rem .6rem;
    text-align: center;
    border-bottom: 1px solid var(--bc-grey-200);
    white-space: nowrap;
}
.bc-td-room {
    font-weight: 600;
    text-align: left;
    color: var(--bc-grey-800);
    position: sticky;
    left: 0;
    background: inherit;
    z-index: 1;
    padding-left: 1rem;
}

/* ── Table Slot States ── */
.bc-slot { display:flex; flex-direction:column; align-items:center; gap:2px; position: relative; }
.bc-slot--available { color: var(--bc-green); }
.bc-slot--booked    { color: var(--bc-red); }

.bc-slot-label {
    font-size: .78rem;
    font-weight: 600;
}
.bc-slot-trainer {
    font-size: .72rem;
    color: var(--bc-grey-600);
    max-width: 95px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bc-grid-cancel {
    border: none;
    background: var(--bc-red);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    line-height: 1;
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.bc-grid-cancel:hover {
    background: #b91c1c;
    transform: scale(1.15);
}

/* ── Mobile Cards View ── */
.bc-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
}

.bc-mobile-room-card {
    background: var(--bc-grey-50);
    border: 1px solid var(--bc-grey-200);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: var(--bc-shadow-sm);
}

.bc-room-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--bc-blue);
    margin-bottom: .85rem;
    border-bottom: 2px solid var(--bc-blue-bg);
    padding-bottom: .4rem;
}

.bc-room-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 10px;
}

.bc-mobile-slot-pill {
    display: flex;
    flex-direction: column;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: .8rem;
    border: 1px solid #e2e8f0;
    position: relative;
}

.bc-mobile-slot-pill.available {
    background: var(--bc-green-bg);
    border-color: #bbf7d0;
    color: #166534;
}

.bc-mobile-slot-pill.booked {
    background: var(--bc-red-light);
    border-color: #fecaca;
    color: #991b1b;
}

.bc-pill-time {
    font-weight: 600;
    font-size: .82rem;
}

.bc-pill-status {
    font-size: .73rem;
    opacity: .9;
    margin-top: 3px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.bc-card-cancel-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    border: none;
    background: var(--bc-red);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.bc-card-cancel-btn:hover {
    background: #b91c1c;
    transform: scale(1.15);
}

/* ═══════════════════════════════════════════════
   DYNAMIC NFC ROOM HUB & ASSET REGISTRY STYLES
   ═══════════════════════════════════════════════ */

.bc-room-hub-card {
    border: 2px solid #3b82f6;
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.12);
    border-radius: var(--bc-radius);
    transition: all 0.3s ease;
}

.bc-card-header--hub {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

.bc-card-header--staff {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
}

.bc-hub-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
}

.bc-nfc-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 3px 10px;
    border-radius: 99px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

.bc-hub-time {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
}

.bc-hub-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bc-hub-title {
    color: #ffffff;
    font-size: clamp(1.3rem, 3.5vw, 1.75rem);
    font-weight: 700;
    margin: 0;
}

.bc-select--compact {
    padding: 6px 12px;
    font-size: 0.88rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #1e293b;
    cursor: pointer;
}

.bc-hub-body {
    padding: 1.25rem 1.5rem;
    gap: 1.5rem;
}

/* Status Banner */
.bc-hub-status-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.bc-status--available {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.bc-status--occupied {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.bc-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.bc-status-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.bc-status--available .bc-status-pulse {
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: bc-pulse-green 1.8s infinite;
}

.bc-status--occupied .bc-status-pulse {
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: bc-pulse-red 1.8s infinite;
}

@keyframes bc-pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes bc-pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.bc-btn--sm {
    padding: 7px 14px;
    font-size: 0.86rem;
}

.bc-next-booking {
    font-weight: normal;
    color: #475569;
    font-size: 0.88rem;
}

/* Inventory Section */
.bc-inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.bc-pill-badge {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
}

.bc-hub-assets-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.bc-hub-assets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
    white-space: nowrap;
}

.bc-hub-assets-table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    border-bottom: 2px solid #e2e8f0;
}

.bc-hub-assets-table tbody tr {
    border-bottom: 1px solid #edf2f7;
    transition: background 0.15s ease;
}

.bc-hub-assets-table tbody tr:last-child {
    border-bottom: none;
}

.bc-hub-assets-table tbody tr:hover {
    background: #f8fafc;
}

.bc-hub-assets-table td {
    padding: 11px 14px;
    vertical-align: middle;
    color: #334155;
}

.bc-asset-tbl-name {
    display: block;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: normal;
    min-width: 160px;
}

.bc-asset-tbl-notes {
    display: block;
    font-size: 0.77rem;
    color: #64748b;
    font-weight: 400;
    margin-top: 2px;
    white-space: normal;
}

.bc-asset-tbl-sn {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.82rem;
    color: #475569;
}

.bc-asset-tbl-qty {
    font-weight: 600;
    color: #1e293b;
}

.bc-asset-tbl-audit {
    font-size: 0.82rem;
    color: #64748b;
}

.bc-muted {
    color: #94a3b8;
}

.bc-no-assets-row td {
    text-align: center;
    padding: 2rem 1rem !important;
    color: #64748b;
    font-style: italic;
    background: #fdfdfd;
}

.bc-asset-tag code {
    background: #e2e8f0;
    color: #1e293b;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
}

.bc-condition-pill {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    display: inline-block;
    white-space: nowrap;
}

.bc-condition--working {
    background: #dcfce7;
    color: #166534;
}

.bc-condition--needs_maintenance {
    background: #fef9c3;
    color: #854d0e;
}

.bc-condition--damaged {
    background: #fee2e2;
    color: #991b1b;
}

.bc-condition--decommissioned {
    background: #f1f5f9;
    color: #64748b;
}

.bc-pulse-highlight {
    animation: bc-pulse-box 1.2s ease;
}

@keyframes bc-pulse-box {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    50% { box-shadow: 0 0 0 12px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════ */

/* Small phones — under 480px */
@media (max-width: 480px) {
    .bc-wrap { padding: 0 .4rem; gap: 1rem; }
    .bc-card-body { padding: 1rem; gap: 1rem; }
    .bc-card-header { padding: 1rem 1rem .75rem; }

    .bc-title { font-size: 1.15rem; }
    .bc-btn   { font-size: .95rem; padding: .75rem 1rem; }

    .bc-row { flex-direction: column; }
    .bc-field--half { flex: 1 1 100%; }

    .bc-captcha-input { max-width: 100%; }

    .bc-chip-btn {
        flex: 1 1 calc(50% - 8px);
        padding: 8px 10px;
        font-size: .82rem;
    }

    .bc-room-slots-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bc-grid-header-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .bc-hub-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .bc-hub-status-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .bc-hub-assets-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablets — 481px to 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .bc-wrap { padding: 0 .75rem; }
    .bc-title { font-size: 1.3rem; }
}

/* Desktop — 769px+ */
@media (min-width: 769px) {
    .bc-row { flex-wrap: nowrap; }
}

/* ═══════════════════════════════════════════════
   CANCELLATION MODAL POPUP STYLES
   ═══════════════════════════════════════════════ */
.bc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.bc-modal-dialog {
    background: #ffffff;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    animation: bcModalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bcModalPop {
    from { opacity: 0; transform: scale(0.92) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.bc-modal-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bc-modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.bc-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.bc-modal-close:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.bc-modal-body {
    padding: 20px;
}

.bc-modal-intro {
    font-size: 0.92rem;
    color: #475569;
    margin: 0 0 14px 0;
    line-height: 1.45;
}

.bc-modal-slot-info {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.86rem;
    border: 1px solid #e2e8f0;
}

.bc-modal-info-row span {
    color: #64748b;
    font-size: 0.78rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bc-modal-info-row strong {
    color: #0f172a;
    font-size: 0.9rem;
    word-break: break-word;
}

.bc-modal-footer {
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

@media (max-width: 480px) {
    .bc-modal-slot-info {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .bc-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .bc-modal-footer .bc-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

