/* ============================================================
   QuickChat.dk – Stylesheet
   ============================================================ */

/* ── Reset & Custom Properties ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:         #fdf6ee;
    --surface:    #ffffff;
    --surface2:   #f2e8dc;
    --border:     #e8d5c4;
    --text:       #2d1f14;
    --text-muted: #9b7a65;
    --accent:     #4c9fc0;
    --accent-h:   #3a8ead;
    --green:      #3daa72;
    --red:        #d46060;
    --red-soft:   #c86060;
    --red-h:      #bf4545;
    --amber:      #c0882c;
    --radius:     12px;
    --radius-sm:  7px;
}

html, body          { height: 100%; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
}

/* ── Site nav bar ────────────────────────────────────────────── */
.site-nav {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}
.site-nav-inner {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem;
    padding: .35rem .5rem;
}
.site-nav-link {
    display: inline-block;
    padding: .45rem .85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color .15s, background .15s;
}
.site-nav-link:hover {
    color: var(--accent);
    background: var(--surface2);
}

/* ── Site header ────────────────────────────────────────────── */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem 2rem;
}
.header-inner   { max-width: 960px; margin: 0 auto; }
.site-logo      { font-size: 1.75rem; font-weight: 700; color: var(--accent); margin-bottom: .2rem; }
.site-tagline   { color: var(--text-muted); font-size: .875rem; }
.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .82rem;
    margin-bottom: .4rem;
    transition: color .15s;
}
.back-link:hover { color: var(--text); }

/* ── Page wrapper ───────────────────────────────────────────── */
.page { min-height: 100vh; display: flex; flex-direction: column; }

.lobby {
    flex: 1;
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
}

.section-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* ── Front page text ────────────────────────────────────────── */
.front-page-text {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    font-size: .95rem;
    line-height: 1.65;
    color: var(--text);
    word-break: break-word;
}

/* ── Category cards ─────────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.25rem;
}
.category-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: border-color .15s, transform .15s, box-shadow .15s;
    cursor: pointer;
}
.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59,130,246,.15);
}
.cat-icon       { font-size: 2.4rem; margin-bottom: .9rem; }
.cat-body h2    { font-size: 1.15rem; margin-bottom: .3rem; }
.cat-body p     { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.cat-meta       { display: flex; gap: 1rem; font-size: .78rem; color: var(--text-muted); margin-top: auto; }
.dot-green      { color: var(--green); }

/* ── Room cards ─────────────────────────────────────────────── */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.room-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    transition: border-color .15s;
}
.room-card:hover        { border-color: var(--accent); }
.room-info h3           { font-size: 1rem; margin-bottom: .25rem; }
.user-count             { font-size: .78rem; color: var(--text-muted); }

/* ── Room user-count tooltip ────────────────────────────────── */
.user-count-tip {
    position: relative;
    cursor: default;
    text-decoration: underline dotted var(--text-muted);
    text-underline-offset: 2px;
}
.room-user-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .5rem .75rem;
    min-width: 130px;
    max-width: 210px;
    box-shadow: 0 4px 18px rgba(0,0,0,.13);
    z-index: 200;
    font-size: .78rem;
    color: var(--text);
    pointer-events: none;
}
.room-user-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--border);
}
.user-count-tip:hover .room-user-tooltip { display: block; }
.tooltip-title {
    font-weight: 600;
    color: var(--text-muted);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .35rem;
}
.tooltip-username {
    display: block;
    padding: .1rem 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    text-overflow: ellipsis;
}
.tooltip-username:last-child { border-bottom: none; }
.tooltip-empty {
    color: var(--text-muted);
    font-style: italic;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-enter,
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-send,
.btn-refresh {
    border: none;
    border-radius: var(--radius-sm);
    padding: .48rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, opacity .15s;
    white-space: nowrap;
}
.btn-enter, .btn-primary  { background: var(--accent); color: #fff; }
.btn-enter:hover,
.btn-primary:hover         { background: var(--accent-h); }

.btn-secondary             { background: var(--surface2); color: var(--text); }
.btn-secondary:hover       { background: #e0d4c8; }

.btn-danger                { background: var(--red); color: #fff; }
.btn-danger:hover          { background: var(--red-h); }

.btn-move {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .25rem .55rem;
    font-size: .8rem;
    background: var(--surface2);
    color: var(--text-muted);
    cursor: pointer;
    transition: background .15s;
    line-height: 1;
}
.btn-move:hover            { background: #e0d4c8; color: var(--text); }

.sort-btns                 { white-space: nowrap; }

.btn-send                  { background: var(--green); color: #fff; padding: .55rem 1.4rem; }
.btn-send:hover            { background: #16a34a; }

.btn-refresh {
    background: var(--surface2);
    color: var(--text-muted);
    font-size: .75rem;
    padding: .38rem .7rem;
}
.btn-refresh:hover         { background: #e0d4c8; color: var(--text); }

/* ── Text & select inputs ───────────────────────────────────── */
.text-input,
.select-input {
    width: 100%;
    padding: .55rem .85rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .95rem;
    outline: none;
    transition: border-color .15s;
}
.text-input:focus,
.select-input:focus     { border-color: var(--accent); }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    width: min(400px, 92vw);
}
.modal h2           { font-size: 1.2rem; margin-bottom: .65rem; }
.modal p            { color: var(--text-muted); font-size: .88rem; margin-bottom: .9rem; }
.modal .text-input  { margin-bottom: 0; }
.modal-buttons      { display: flex; gap: .7rem; margin-top: 1rem; }
.modal-buttons > *  { flex: 1; }
.error-msg {
    color: var(--red);
    font-size: .83rem;
    margin-top: .45rem;
    padding: .35rem .7rem;
    background: rgba(239,68,68,.1);
    border-radius: var(--radius-sm);
}

/* ── Share / welcome modal ──────────────────────────────────── */
.share-modal {
    text-align: center;
    width: min(440px, 94vw);
    padding: 2.2rem 2rem 1.8rem;
}
.share-modal-icon {
    font-size: 2.8rem;
    margin-bottom: .6rem;
    line-height: 1;
}
.share-modal h2 {
    font-size: 1.35rem;
    margin-bottom: .6rem;
    color: var(--text);
}
.share-modal p {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: .55rem;
    line-height: 1.6;
}
.share-modal p strong { color: var(--text); }
.share-modal-sub {
    margin-bottom: 1.4rem !important;
}
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity .15s, transform .1s;
}
.share-btn:hover { opacity: .87; transform: translateY(-1px); }
.share-btn-icon  { font-size: 1rem; }
.share-btn--whatsapp { background: #25d366; color: #fff; }
.share-btn--facebook { background: #1877f2; color: #fff; }
.share-btn--copy     { background: var(--surface2); color: var(--text); }
.share-modal-close {
    width: 100%;
    padding: .48rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    background: var(--surface2);
    color: var(--text-muted);
    transition: background .15s;
}
.share-modal-close:hover { background: #e0d4c8; color: var(--text); }

/* ── Full-screen error page (room full / name taken) ────────── */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: .9rem;
    text-align: center;
    padding: 1.5rem;
}
.error-page h1  { font-size: 1.5rem; }
.error-page p   { color: var(--text-muted); font-size: .9rem; }

/* ── Chat layout ────────────────────────────────────────────── */
.chat-body { overflow: hidden; }
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 1.2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.chat-header h1         { font-size: 1.05rem; font-weight: 700; }
.chat-header-right      { display: flex; align-items: center; gap: .9rem; font-size: .83rem; }
.self-label             { color: var(--text-muted); }
.self-label strong      { color: var(--accent); }
.room-badge {
    background: var(--surface2);
    padding: .18rem .55rem;
    border-radius: 99px;
    font-size: .73rem;
    color: var(--text-muted);
}

/* ── Messages area ──────────────────────────────────────────── */
.chat-main       { flex: 1; display: flex; min-height: 0; }
.messages-area {
    flex: 1;
    overflow-y: auto;
    padding: .75rem 1rem;
    scroll-behavior: smooth;
}
#messages-list { display: flex; flex-direction: column; gap: .2rem; }

.msg            { padding: .15rem .45rem; border-radius: 4px; font-size: .9rem; line-height: 1.5; }
.msg-time       { color: var(--text-muted); font-size: .75rem; user-select: none; }
.msg-author     { font-weight: 600; color: var(--accent); }
.msg-text       { }

.msg-system {
    text-align: center;
    color: var(--amber);
    font-size: .78rem;
    font-style: italic;
    padding: .25rem;
}

/* Private "Tale i Rødt" */
.msg-private .msg-author,
.msg-private .msg-text  { color: var(--red-soft); }
.msg-private .msg-time  { color: #b05050; }

/* ── Users sidebar ──────────────────────────────────────────── */
.users-sidebar {
    width: 175px;
    flex-shrink: 0;
    background: var(--surface);
    border-left: 1px solid var(--border);
    padding: .9rem .75rem;
    overflow-y: auto;
}
.users-sidebar h3 {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: .7rem;
}
#users-list         { list-style: none; }
#users-list li      { font-size: .83rem; padding: .22rem 0; border-bottom: 1px solid var(--border); }
.user-self          { color: var(--accent); font-weight: 600; }
.user-other         { color: var(--text); }

/* ── Chat input ─────────────────────────────────────────────── */
.chat-input-area {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: .7rem 1rem;
    flex-shrink: 0;
}
.input-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
}
.input-row label        { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.input-send-row         { margin-bottom: 0; }

.input-row .select-input  { flex: 1; width: auto; font-size: .85rem; padding: .38rem .65rem; }
.input-row .select-input:focus { border-color: var(--red); }

.message-input {
    flex: 1;
    width: auto;
    padding: .55rem .85rem;
    font-size: .95rem;
}
.message-input.private-mode {
    border-color: var(--red);
    color: var(--red-soft);
}
.message-input.private-mode::placeholder { color: #b05050; }

/* ── Billede i chat ─────────────────────────────────────────────── */
.msg-img-wrap {
    display: inline-flex;
    flex-direction: column;
    gap: .35rem;
    vertical-align: top;
    max-width: 320px;
}
.msg-img {
    max-width: 100%;
    max-height: 260px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    object-fit: contain;
    display: block;
}
.btn-gem {
    align-self: flex-start;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface2);
    color: var(--text);
    font-size: .75rem;
    padding: .22rem .6rem;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.btn-gem:hover { background: #e0d4c8; border-color: var(--accent); }

/* ── Billedforhåndsvisning over inputfeltet ─────────────────────── */
.img-preview-area {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: .4rem .5rem;
    margin-bottom: .4rem;
    background: var(--surface2);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
}
.img-preview-area img {
    max-height: 80px;
    max-width: 120px;
    border-radius: 4px;
    object-fit: contain;
    border: 1px solid var(--border);
}
.btn-img-cancel {
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 .2rem;
    transition: color .15s;
}
.btn-img-cancel:hover { color: var(--red); }

/* ── Drag-over-tilstand ─────────────────────────────────────────── */
.chat-input-area.drag-over {
    background: rgba(76, 159, 192, .08);
    border-top-color: var(--accent);
    outline: 2px dashed var(--accent);
    outline-offset: -4px;
}

/* ── Admin ──────────────────────────────────────────────────── */
.admin-body         { background: var(--bg); }
.admin-login-wrap   { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.admin-login-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.4rem;
    width: min(370px, 92vw);
}
.admin-login-box h1 { font-size: 1.25rem; margin-bottom: 1.4rem; }
.admin-login-box .text-input { margin-bottom: 0; }

.admin-container    { max-width: 1000px; margin: 0 auto; padding: 2rem 1rem; }
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.admin-header h1    { font-size: 1.35rem; }

.admin-msg {
    background: rgba(34,197,94,.12);
    border: 1px solid var(--green);
    color: var(--green);
    border-radius: var(--radius-sm);
    padding: .7rem 1rem;
    margin-bottom: 1.5rem;
    font-size: .88rem;
}

.admin-section         { margin-bottom: 2.5rem; }
.admin-section h2      { font-size: 1.05rem; margin-bottom: 1rem; }
.admin-cat-label       { font-size: .9rem; color: var(--text-muted); margin: 1.2rem 0 .4rem; }

.admin-form {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}
.admin-form .text-input,
.admin-form .select-input { width: auto; flex: 1; min-width: 130px; }

.admin-table           { width: 100%; border-collapse: collapse; font-size: .84rem; }
.admin-table th {
    text-align: left;
    padding: .45rem .7rem;
    background: var(--surface2);
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.admin-table td        { padding: .45rem .7rem; border-bottom: 1px solid var(--border); }
.admin-table tr:hover td { background: rgba(0,0,0,.03); }
.td-empty              { text-align: center; color: var(--text-muted); padding: 1rem !important; }

/* ── Icon Picker ─────────────────────────────────────────────── */
.icon-picker-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .9rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .93rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.icon-picker-btn:hover { border-color: var(--accent); background: var(--surface); }
.icon-picker-btn .picker-preview { font-size: 1.3rem; line-height: 1; }
.icon-picker-btn .picker-label   { font-size: .78rem; color: var(--text-muted); }

.icon-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.icon-modal-overlay.open { display: flex; }

.icon-modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    width: min(480px, 94vw);
    max-height: 80vh;
    overflow-y: auto;
}
.icon-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}
.icon-modal-header h3 { font-size: 1rem; }
.icon-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 .2rem;
    transition: color .15s;
}
.icon-modal-close:hover { color: var(--text); }

.icon-group-label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
    margin: 1rem 0 .5rem;
}
.icon-group-label:first-of-type { margin-top: 0; }

.icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .25rem;
}
.icon-option {
    background: var(--surface2);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 1.6rem;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .12s, background .12s;
    line-height: 1;
}
.icon-option:hover  { border-color: var(--accent); background: var(--surface); }
.icon-option.active { border-color: var(--accent); background: rgba(76,159,192,.15); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    text-align: center;
    padding: 1.4rem;
    color: var(--text-muted);
    font-size: .78rem;
    border-top: 1px solid var(--border);
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .15s;
}
.footer-link:hover { color: var(--accent); }

/* ── Contact form ───────────────────────────────────────────── */
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    max-width: 600px;
}
.contact-intro {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.contact-form label {
    font-size: .85rem;
    font-weight: 600;
}
.contact-form .text-input { width: 100%; }
.contact-form textarea.contact-textarea { resize: vertical; }
.contact-form .btn-primary { align-self: flex-start; }

.field-optional { font-weight: 400; color: var(--text-muted); }
.field-required  { color: var(--red); }

.contact-success {
    background: rgba(34,197,94,.1);
    border: 1px solid var(--green);
    color: #1a7a4a;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    max-width: 600px;
    font-size: .95rem;
}

.contact-error {
    display: block;
    margin-bottom: 1rem;
}

/* ── Admin – notification badge ─────────────────────────────── */
.admin-notif-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    line-height: 1;
    padding: .25em .55em;
    border-radius: 99px;
    vertical-align: middle;
    margin-left: .4rem;
}

/* ── Admin – section header row ─────────────────────────────── */
.admin-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.admin-section-header h2 { margin-bottom: 0; }

/* ── Admin – contact messages table ─────────────────────────── */
.contact-msg-table .msg-date  { white-space: nowrap; width: 9rem; }
.contact-msg-table .msg-body  { max-width: 28rem; word-break: break-word; }
.contact-msg-table .msg-actions { white-space: nowrap; }

.msg-unread td               { font-weight: 600; }
.msg-unread .msg-body        { background: rgba(76,159,192,.07); }

.badge-unread {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .18em .55em;
    border-radius: 99px;
}
.badge-read {
    display: inline-block;
    background: var(--surface2);
    color: var(--text-muted);
    font-size: .68rem;
    font-weight: 600;
    padding: .18em .55em;
    border-radius: 99px;
}

.btn-sm {
    font-size: .78rem !important;
    padding: .3rem .65rem !important;
}

.text-muted { color: var(--text-muted); font-style: normal; }
.contact-empty-state { padding: .75rem 0; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #d0c0b0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
    .users-sidebar              { display: none; }
    .category-grid,
    .rooms-grid                 { grid-template-columns: 1fr; }
    .admin-header               { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
