:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --secondary: #15acde;
    --danger: #EF4444;
    --dark: #111827;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #F9FAFB;
    color: var(--dark);
    line-height: 1.5;
    background-image: 
        radial-gradient(at 40% 20%, hsla(228,100%,74%,0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(189,100%,56%,0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(355,100%,93%,0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Glassmorphism Card */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
p { color: var(--gray); margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.02);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.form-control::placeholder {
    transition: opacity 0.2s ease;
}

.form-control:focus::placeholder {
    opacity: 0;
}

/* Navbar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

th {
    font-weight: 600;
    color: var(--dark);
    background-color: rgba(243, 244, 246, 0.5);
}

tr:hover {
    background-color: rgba(249, 250, 251, 0.5);
}

/* Badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6rem;
    font-weight: 600;
}
.badge-pending { background-color: #FEF3C7; color: #D97706; }
.badge-assigned { background-color: #DBEAFE; color: #2563EB; }
.badge-in-progress { background-color: #DBEAFE; color: #13d0dd; }
.badge-completed { background-color: #D1FAE5; color: #059669; }
.badge-approved { background-color: #DBEAFE; color: #8d1dd8; }
.badge-canceled { background-color: #FEE2E2; color: #DC2626; }
.badge-rejected { background-color: #FEE2E2; color: #95630b; }
.badge-overdue { background-color: #a4a3a3; color: #fff; }

/* Alerts */
.alert {
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}
.alert-success {
    background-color: #ECFDF5;
    color: #065F46;
    border-color: #A7F3D0;
}
.alert-danger {
    background-color: #FEF2F2;
    color: #B91C1C;
    border-color: #FECACA;
}
.alert-info {
    background-color: #EFF6FF;
    color: #1D4ED8;
    border-color: #BFDBFE;
}

/* Camera/Upload Area */
.upload-area {
    border: 2px dashed #D1D5DB;
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background-color: rgba(255, 255, 255, 0.5);
}

.upload-area:hover {
    border-color: var(--primary);
    background-color: rgba(79, 70, 229, 0.05);
}

.preview-image {
    max-width: 100%;
    border-radius: 0.5rem;
    margin-top: 1rem;
    display: none;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .container { padding: 1rem; }
    .card { padding: 1.5rem; }
    .navbar { flex-direction: column; gap: 1rem; }
}

/* Staff table smaller font */
.staff-table th,
.staff-table td {
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
}


/* =====================================================================
   Meeting Room Reservation - tambahan
   (di atas style.css dasar; memakai variabel warna yang sama)
   ===================================================================== */

[hidden] { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}
.skip-link:focus {
    left: 1rem;
    top: 0.5rem;
    z-index: 100;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

a:focus-visible,
button:focus-visible,
.upload-area:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.container-wide { max-width: 1400px; }

/* Kartu formulir / tabel tidak perlu "naik" saat di-hover */
.card-static:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.muted-text { color: var(--gray); font-size: 0.85rem; margin-bottom: 0; }

/* ---------- Login ---------- */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.login-card { width: 100%; max-width: 420px; }
.login-logo {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 0.9rem;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ---------- Navbar ---------- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    text-decoration: none;
}
.brand svg { color: var(--primary); }
.brand-tag {
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    margin-left: 0.35rem;
}
.nav-links a {
    padding: 0.4rem 0.1rem;
    border-bottom: 2px solid transparent;
}
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.nav-user { display: flex; align-items: center; gap: 0.75rem; }
.user-chip {
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .navbar { padding: 0.75rem 1rem; gap: 0.6rem; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

.site-footer {
    text-align: center;
    color: var(--gray);
    font-size: 0.8rem;
    padding: 2rem 1rem;
}

/* ---------- Tombol ---------- */
.btn-outline {
    background: rgba(255, 255, 255, 0.7);
    color: var(--dark);
    border: 1px solid #D1D5DB;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-secondary:hover,
.btn-danger:hover { filter: brightness(0.93); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn-row-center { justify-content: center; }
.btn-row form { display: inline; }

/* ---------- Header halaman ---------- */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.page-header h1 { margin-bottom: 0.25rem; }
.page-header p { margin-bottom: 0; }
.summary-badges,
.week-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.badge { display: inline-block; white-space: nowrap; font-size: 0.72rem; }
.badge-live { background-color: var(--primary); color: var(--white); }
.badge-done { background-color: #E5E7EB; color: #4B5563; }

/* ---------- Form ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { display: block; font-size: 0.8rem; color: var(--gray); margin-top: 0.35rem; }
.form-control option:disabled { color: #9CA3AF; }

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.side-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.side-title { font-size: 1rem; margin-bottom: 0.75rem; }
.room-preview {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.edit-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--light-gray);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

/* ---------- Panel ketersediaan ---------- */
.avail-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.avail-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.6rem;
    background: var(--light-gray);
    border-left: 3px solid var(--primary);
    font-size: 0.875rem;
}
.avail-item.is-conflict { background: #FEF2F2; border-left-color: var(--danger); }
.avail-time { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.avail-what { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.avail-what small { color: var(--gray); }
.avail-empty { font-size: 0.875rem; color: var(--gray); margin: 0; }
.avail-free { color: #059669; }
.avail-warn {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
    padding: 0.6rem 0.8rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

/* ---------- Jadwal hari ini (user) ---------- */
.room-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 1.25rem;
    align-items: start;
}
.room-card { padding: 1.25rem; }
.room-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.room-head-text { min-width: 0; }
.room-thumb {
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 0.75rem;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--light-gray);
    color: var(--gray);
}
.room-thumb img { width: 100%; height: 100%; object-fit: cover; }
.room-name { margin: 0; font-size: 1.05rem; }
.room-count { font-size: 0.8rem; color: var(--gray); }

.meeting-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.meeting-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.7rem 0.85rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #E5E7EB;
    border-left: 4px solid var(--secondary);
}
.meeting-item.is-live { border-left-color: var(--primary); background: rgba(79, 70, 229, 0.06); }
.meeting-item.is-done { opacity: 0.6; border-left-color: #9CA3AF; }
.meeting-item.is-mine { box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.25); }
.meeting-time { font-weight: 600; font-size: 0.85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meeting-title { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.meeting-who { font-size: 0.8rem; color: var(--gray); }
@media (max-width: 480px) {
    .meeting-item { grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 0.75rem; }
    .meeting-time { grid-column: 1 / -1; }
}

.empty-state { text-align: center; padding: 2rem 1rem; }
.empty-state h2 { font-size: 1.15rem; }
.empty-state p { margin-bottom: 1rem; }

/* ---------- Tabel ---------- */
.cell-title { font-weight: 600; }
.cell-sub { font-size: 0.78rem; color: var(--gray); font-weight: 400; }
tr.is-past { opacity: 0.65; }
tr.is-editing { background: rgba(79, 70, 229, 0.08); }
.table-divider td {
    background: var(--light-gray);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    padding: 0.5rem 1rem;
}
@media (max-width: 640px) {
    .table-stack thead { display: none; }
    .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
    .table-stack tr { padding: 0.6rem 0; border-bottom: 1px solid #E5E7EB; }
    .table-stack td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        border: none;
        padding: 0.3rem 0;
        text-align: right;
    }
    .table-stack td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--gray);
        font-size: 0.8rem;
        text-align: left;
        flex: none;
    }
    .table-stack tr.table-divider td { display: block; text-align: left; }
    .table-stack tr.table-divider td::before { content: none; }
}

/* ---------- Dialog konfirmasi ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.modal-overlay.open { opacity: 1; }
.modal {
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(8px) scale(0.98);
    transition: transform 0.15s ease;
}
.modal:focus { outline: none; }
.modal-overlay.open .modal { transform: none; }
.modal h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.modal p { margin-bottom: 1rem; }
.modal-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    background: var(--light-gray);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}
.modal-details > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0.75rem; font-size: 0.9rem; }
.modal-details dt { color: var(--gray); }
.modal-details dd { font-weight: 600; overflow-wrap: anywhere; }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.75rem; flex-wrap: wrap; }
body.modal-open { overflow: hidden; }

/* ---------- Dashboard admin (Senin - Jumat) ---------- */
.week-summary { margin-bottom: 1rem; }
.week-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}
@media (max-width: 1100px) { .week-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .week-grid { grid-template-columns: 1fr; } }

.day-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}
.day-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    color: var(--white);
}
.day-active .day-head { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.day-past .day-head { background: #9CA3AF; }
.day-today { box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35), var(--shadow-lg); }
.day-name { font-weight: 700; font-size: 1rem; }
.day-date { font-size: 0.8rem; opacity: 0.9; }
.day-tags { display: flex; align-items: center; gap: 0.5rem; }
.day-tag {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
}
.day-count {
    min-width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.22);
    font-weight: 700;
    font-size: 0.85rem;
}
.day-body { padding: 0.9rem; }
.day-past .day-body { background: rgba(243, 244, 246, 0.85); }
.day-empty { font-size: 0.85rem; color: var(--gray); margin: 0; }
.day-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.day-item {
    padding: 0.65rem 0.75rem;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.85);
    border-left: 3px solid var(--secondary);
}
.day-past .day-item { background: rgba(255, 255, 255, 0.55); border-left-color: #9CA3AF; }
.day-item.is-live { border-left-color: var(--primary); background: rgba(79, 70, 229, 0.08); }
.day-item.is-done { opacity: 0.6; }
.day-item-time { font-weight: 700; font-size: 0.8rem; font-variant-numeric: tabular-nums; color: var(--primary); }
.day-past .day-item-time { color: #6B7280; }
.day-item-title { font-weight: 600; font-size: 0.9rem; line-height: 1.3; margin: 0.15rem 0 0.35rem; overflow-wrap: anywhere; }
.day-past .day-item-title { color: #4B5563; }
.day-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.6rem;
    font-size: 0.78rem;
    color: var(--gray);
}
.room-chip {
    background: #DBEAFE;
    color: #1D4ED8;
    border-radius: 9999px;
    padding: 0.1rem 0.55rem;
    font-weight: 600;
}
.day-past .room-chip { background: #E5E7EB; color: #6B7280; }

/* ---------- Master Meeting Room (admin) ---------- */
.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.split-form { position: sticky; top: 5.5rem; }
@media (max-width: 960px) {
    .split-layout { grid-template-columns: 1fr; }
    .split-form { position: static; }
}

.media-tabs {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 0.65rem;
    background: var(--light-gray);
    margin: 0.25rem 0 0.9rem;
}
.media-tab {
    border: none;
    background: transparent;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
}
.media-tab.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow); }

.camera-box {
    border-radius: 0.75rem;
    overflow: hidden;
    background: #000;
    margin-bottom: 0.75rem;
    aspect-ratio: 4 / 3;
}
.camera-box video { display: block; width: 100%; height: 100%; object-fit: cover; }

.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1.75rem 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}
.upload-area strong { color: var(--primary); }
.upload-area.is-dragover { border-color: var(--primary); background: rgba(79, 70, 229, 0.06); }

.img-preview-wrap { margin: 1rem 0 0; }
.img-preview-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.75rem;
}
.img-preview-wrap figcaption { font-size: 0.8rem; color: var(--gray); margin-top: 0.4rem; }

.room-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.room-admin-card { padding: 0; overflow: hidden; }
.room-admin-card.is-editing { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.3); }
.room-admin-img { aspect-ratio: 16 / 10; background: var(--light-gray); }
.room-admin-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-admin-noimg { height: 100%; display: grid; place-items: center; color: var(--gray); font-size: 0.85rem; }
.room-admin-body { padding: 1rem 1.1rem 1.1rem; }
.room-admin-body h3 { font-size: 1rem; margin-bottom: 0.15rem; overflow-wrap: anywhere; }
.room-admin-body .muted-text { margin-bottom: 0.8rem; }

/* ---------- Filter & pagination (history) ---------- */
.filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    align-items: end;
}
.filter-bar .form-group { margin-bottom: 0; }
.filter-search { grid-column: span 2; }
@media (max-width: 640px) { .filter-search { grid-column: auto; } }
.filter-actions { display: flex; gap: 0.6rem; }
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}
.pagination-info { font-size: 0.85rem; color: var(--gray); }

/* ---------- Aksesibilitas ---------- */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .btn-primary:hover { transform: none; }
}
