body {
    background: #f7f8fa;
}

.auth-shell {
    max-width: 420px;
}

.auth-card {
    border-radius: 8px;
}

.booking-form {
    max-width: 760px;
}

.calendar-surface {
    min-height: 320px;
}

.schedule-wrap {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.schedule-grid {
    table-layout: fixed;
}

.schedule-grid th {
    background: #f8f9fa;
    font-weight: 600;
}

.schedule-time-column {
    width: 96px;
    white-space: nowrap;
}

.schedule-cell {
    cursor: default;
    height: 58px;
    min-width: 132px;
    padding: 0.5rem;
    vertical-align: top;
}

.schedule-cell-free {
    background: #d1e7dd;
    color: #0f5132;
    cursor: pointer;
}

.schedule-cell-free:hover,
.grid-slot-free:hover {
    background: #a3cfbb;
}

.schedule-cell-occupied {
    background: #f8d7da;
    color: #842029;
}

.schedule-cell-mine {
    background: #cfe2ff;
    color: #084298;
}

.schedule-cell-blocked {
    background: #e9ecef;
    color: #343a40;
}

.schedule-cell-boundary {
    background: #f8f9fa;
    color: #6c757d;
}

.schedule-state {
    display: block;
    font-weight: 600;
    line-height: 1.2;
}

.schedule-title {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.2;
    margin-top: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-filter {
    min-width: 220px;
}

.grid-slot-free {
    background: #d1e7dd;
    cursor: pointer;
}

.grid-slot-mine {
    background: #cfe2ff;
}

.grid-slot-taken {
    background: #f8d7da;
    cursor: not-allowed;
}

.grid-slot-blocked {
    background: #e2e3e5;
    cursor: not-allowed;
}

.room-badge-strip {
    gap: 0.25rem;
    margin-left: 1rem;
}

.room-badge {
    align-items: center;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 700;
    height: 1.5rem;
    justify-content: center;
    width: 1.5rem;
}

.room-badge-2 {
    background: #0d6efd;
}

.room-badge-3 {
    background: #6610f2;
}

.room-badge-4 {
    background: #198754;
}

.room-badge-5 {
    background: #fd7e14;
}

.room-badge-6 {
    background: #0dcaf0;
    color: #000000;
}

.booking-mini-card,
.profile-card {
    border-radius: 8px;
}

.room-info-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.error-panel {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 560px;
    padding: 2rem;
}

.admin-shell {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
}

.admin-sidebar {
    align-self: start;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
}

.admin-content {
    min-width: 0;
}

.metric-card {
    border-radius: 8px;
}

@media (max-width: 768px) {
    .booking-grid {
        font-size: 0.75rem;
    }

    .booking-grid td {
        padding: 2px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }
}
