/* ============================================================
   Band Request System — app.css
   Requires Bootstrap 5 loaded BEFORE this file.
   ============================================================ */

/* ---- CSS variables ---- */
:root {
    --brand-primary:  #6f42c1;
    --brand-secondary:#e83e8c;
    --brand-gradient: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
    --bg-dark:        #0d0d1a;
    --bg-dark-2:      #1a0a2e;
    --admin-bg:       #111827;
    --admin-card:     #1f2937;
    --admin-border:   #374151;
    --admin-muted:    #6b7280;
    --admin-text:     #e5e7eb;
    --admin-subtle:   #9ca3af;
}

/* ================================================================
   GLOBAL
   ================================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ================================================================
   PUBLIC PAGES  (.public-body)
   ================================================================ */
.public-body {
    background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-2) 50%, var(--bg-dark) 100%);
    color: #f0f0f0;
    min-height: 100vh;
}

/* --- Brand header --- */
.brand-header {
    background: var(--brand-gradient);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(111,66,193,.4);
}
.brand-header h1 {
    font-size: clamp(1.35rem, 5vw, 1.9rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}
.brand-header p {
    color: rgba(255,255,255,.82);
    margin: .3rem 0 0;
    font-size: clamp(.82rem, 3vw, .95rem);
}

/* --- Public container — centered, padded, full-width on phone --- */
.public-wrap {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem 2.5rem;
}

/* --- Glass card --- */
.card-glass {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1.75rem 1.5rem;
    margin-top: 1.5rem;
}

/* --- Form controls --- */
.form-control-xl {
    display: block;
    width: 100%;
    font-size: clamp(1rem, 4vw, 1.2rem);
    padding: .8rem 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    color: #fff;
    transition: border-color .2s, background .2s, box-shadow .2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.form-control-xl:focus {
    border-color: var(--brand-primary);
    background: rgba(255,255,255,.1);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(111,66,193,.22);
}
.form-control-xl::placeholder { color: rgba(255,255,255,.38); }
/* Textarea variant */
textarea.form-control-xl { resize: vertical; min-height: 90px; }

.label-xl {
    display: block;
    color: rgba(255,255,255,.72);
    font-size: clamp(.88rem, 3vw, 1rem);
    font-weight: 500;
    margin-bottom: .45rem;
}

/* --- Primary button --- */
.btn-brand {
    display: block;
    width: 100%;
    background: var(--brand-gradient);
    border: none;
    color: #fff;
    font-size: clamp(1rem, 4vw, 1.1rem);
    font-weight: 600;
    padding: .9rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity .2s, transform .12s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
}
.btn-brand:hover  { opacity: .9; transform: translateY(-1px); color: #fff; }
.btn-brand:active { transform: translateY(0); }
.btn-brand:disabled,
.btn-brand[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* --- Queue info bar --- */
.queue-info-bar {
    background: rgba(111,66,193,.14);
    border: 1px solid rgba(111,66,193,.3);
    border-radius: 12px;
    padding: .75rem 1rem;
    text-align: center;
    font-size: clamp(.82rem, 3vw, .9rem);
    color: rgba(255,255,255,.65);
    margin-bottom: 1.2rem;
}
.queue-info-bar strong { color: #a78bfa; }

/* --- Inline error box --- */
.inline-error {
    display: none;
    background: rgba(220,53,69,.15);
    border: 1px solid rgba(220,53,69,.5);
    border-radius: 10px;
    padding: .75rem 1rem;
    color: #f87171;
    font-size: .9rem;
    margin-bottom: 1rem;
}

/* --- Success page --- */
.success-icon {
    font-size: clamp(3rem, 10vw, 4.5rem);
    display: block;
    text-align: center;
    animation: pop .4s ease;
}
.queue-badge {
    display: inline-block;
    background: var(--brand-gradient);
    color: #fff;
    font-size: clamp(2rem, 8vw, 2.8rem);
    font-weight: 700;
    padding: .5rem 1.75rem;
    border-radius: 14px;
    margin: .5rem 0;
    letter-spacing: 2px;
}
@keyframes pop {
    0%   { transform: scale(.5); opacity: 0; }
    80%  { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Code input special --- */
.code-input {
    text-align: center;
    font-size: clamp(1.5rem, 7vw, 2rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

/* ================================================================
   ADMIN PAGES  (.admin-body)
   ================================================================ */
.admin-body {
    background: var(--admin-bg);
    color: var(--admin-text);
    min-height: 100vh;
}

/* --- Brand logo --- */
.brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}
.login-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.brand-logo-pub {
    display: block;
    margin: 0 auto .5rem;
    height: clamp(48px, 10vw, 72px);
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* --- Navbar --- */
.admin-navbar {
    background: var(--admin-card);
    border-bottom: 1px solid var(--admin-border);
    padding: .75rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}
.admin-navbar .brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: #a78bfa;
    white-space: nowrap;
}
.admin-navbar .nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem;
}
.admin-navbar .nav-links a {
    color: var(--admin-subtle);
    text-decoration: none;
    font-size: .9rem;
    padding: .35rem .7rem;
    border-radius: 6px;
    transition: color .15s, background .15s;
    white-space: nowrap;
}
.admin-navbar .nav-links a:hover { color: var(--admin-text); background: rgba(255,255,255,.06); }
.admin-navbar .nav-links a.active { color: var(--admin-text); background: rgba(111,66,193,.25); }

/* --- Content wrapper --- */
.admin-content {
    padding: 1.25rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Stat cards --- */
.stat-card {
    background: var(--admin-card);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    border-left: 4px solid var(--brand-primary);
}
.stat-card .stat-number {
    font-size: 2.1rem;
    font-weight: 700;
    color: #a78bfa;
    line-height: 1.1;
}
.stat-card .stat-label {
    font-size: .82rem;
    color: var(--admin-subtle);
    margin-top: .3rem;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .9rem;
    margin-bottom: 1.4rem;
}

/* --- Status badges --- */
.badge-status {
    display: inline-block;
    padding: .28em .7em;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.badge-pending  { background: rgba(251,191,36,.13); color: #fbbf24; border: 1px solid rgba(251,191,36,.4); }
.badge-approved { background: rgba(96,165,250,.13); color: #60a5fa; border: 1px solid rgba(96,165,250,.4); }
.badge-played   { background: rgba(52,211,153,.13); color: #34d399; border: 1px solid rgba(52,211,153,.4); }
.badge-rejected { background: rgba(248,113,113,.13);color: #f87171; border: 1px solid rgba(248,113,113,.4); }

/* --- Action buttons --- */
.btn-action {
    padding: .32rem .65rem;
    border-radius: 6px;
    border: none;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.btn-action:hover  { opacity: .8; }
.btn-action:active { transform: scale(.96); }
.btn-approve { background: rgba(96,165,250,.2);  color: #60a5fa; }
.btn-played  { background: rgba(52,211,153,.2);  color: #34d399; }
.btn-reject  { background: rgba(248,113,113,.2); color: #f87171; }
.btn-delete  { background: rgba(107,114,128,.18);color: #9ca3af; }

/* ================================================================
   REQUEST TABLE — desktop default
   ================================================================ */
.request-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 5px;
    font-size: .97rem;
}

/* Column widths (defined here so tablet breakpoint can override) */
.col-no     { width: 40px; }
.col-name   { width: 120px; }
.col-msg-h  { width: 160px; }
.col-time   { width: 70px; }
.col-status { width: 95px; }
.col-aksi   { width: 215px; }
.request-table thead th {
    background: var(--admin-card);
    color: var(--admin-subtle);
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .7rem .9rem;
    border: none;
    position: relative;
    z-index: 1;
}
.request-table tbody tr {
    background: var(--admin-card);
    transition: background .15s;
}
.request-table tbody tr:hover { background: #253040; }
.request-table tbody td {
    padding: .85rem .9rem;
    border: none;
    vertical-align: middle;
}
.request-table tbody tr td:first-child { border-radius: 8px 0 0 8px; }
.request-table tbody tr td:last-child  { border-radius: 0 8px 8px 0; }
.request-table .col-msg {
    display: block;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================================================================
   REQUEST TABLE — mobile card view (≤ 640px)
   ================================================================ */
@media (max-width: 640px) {
    .request-table,
    .request-table thead,
    .request-table tbody,
    .request-table th,
    .request-table td,
    .request-table tr { display: block; }

    .request-table thead tr { position: absolute; top: -9999px; left: -9999px; }

    .request-table tbody tr {
        border-radius: 10px;
        margin-bottom: .6rem;
        padding: .85rem 1rem;
        position: relative;
    }

    .request-table tbody td {
        padding: .2rem 0;
        display: flex;
        align-items: flex-start;
        gap: .5rem;
    }
    .request-table tbody td::before {
        content: attr(data-label);
        font-size: .72rem;
        color: var(--admin-subtle);
        text-transform: uppercase;
        letter-spacing: .04em;
        min-width: 70px;
        flex-shrink: 0;
        padding-top: .1rem;
    }
    /* Hide serial number cell, status badge floated to top-right */
    .request-table td[data-label="No"] { display: none; }
    .request-table td[data-label="Status"] {
        position: absolute;
        top: .75rem;
        right: .75rem;
        padding: 0;
    }
    .request-table td[data-label="Status"]::before { display: none; }
    .request-table td[data-label="Aksi"] {
        margin-top: .5rem;
        padding-top: .5rem;
        border-top: 1px solid var(--admin-border);
        flex-wrap: wrap;
    }
    .request-table td[data-label="Aksi"]::before { display: none; }
    .request-table .col-msg {
        max-width: unset;
        white-space: normal;
    }
}

/* ================================================================
   EVENT CODE & STATS — 2-col collapses on mobile
   ================================================================ */
.ec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    align-items: start;
}
@media (max-width: 900px) {
    .ec-grid { grid-template-columns: 1fr; }
}

/* --- Code display box --- */
.code-display {
    background: rgba(111,66,193,.14);
    border: 2px dashed var(--brand-primary);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    font-size: clamp(1.7rem, 5vw, 2.6rem);
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 6px;
    word-break: break-all;
}

/* ================================================================
   ADMIN LOGIN
   ================================================================ */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.login-card {
    background: var(--admin-card);
    border-radius: 18px;
    padding: 2.25rem 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.login-input {
    width: 100%;
    background: #374151;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
    padding: .72rem 1rem;
    border-radius: 9px;
    font-size: 1rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
}
.login-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(111,66,193,.22);
}
.login-btn {
    width: 100%;
    background: var(--brand-gradient);
    border: none;
    color: #fff;
    padding: .82rem;
    border-radius: 9px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}
.login-btn:hover { opacity: .9; }

/* ================================================================
   ADMIN SECTION CARDS
   ================================================================ */
.admin-section {
    background: var(--admin-card);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.2rem;
}
.admin-section-title {
    color: var(--admin-subtle);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0 0 1rem;
}

/* ================================================================
   LIVE INDICATOR
   ================================================================ */
.live-dot {
    display: inline-block;
    width: 9px; height: 9px;
    background: #34d399;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: livepulse 1.6s ease-in-out infinite;
}
@keyframes livepulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .45; transform: scale(1.35); }
}

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */
#toast-container {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    max-width: calc(100vw - 2.5rem);
}
.toast-item {
    padding: .72rem 1.1rem;
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
    max-width: 300px;
    word-break: break-word;
}
.toast-success { background: #166534; border: 1px solid #16a34a; }
.toast-danger  { background: #7f1d1d; border: 1px solid #dc2626; }
.toast-info    { background: #1e3a5f; border: 1px solid #2563eb; }

/* ================================================================
   RATE LIMIT INFO BAR (public pages)
   ================================================================ */
.rate-info-bar {
    background: rgba(251,191,36,.1);
    border: 1px solid rgba(251,191,36,.3);
    border-radius: 10px;
    padding: .6rem 1rem;
    color: rgba(255,255,255,.65);
    font-size: .82rem;
    text-align: center;
    margin-top: 1rem;
}
.rate-info-bar span { color: #fbbf24; font-weight: 600; }

/* ================================================================
   UTILITY SUPPLEMENTS (fill Bootstrap gaps we use)
   ================================================================ */
.mt-2  { margin-top:    .5rem  !important; }
.mt-3  { margin-top:    1rem   !important; }
.mb-2  { margin-bottom: .5rem  !important; }
.mb-3  { margin-bottom: 1rem   !important; }
.mb-4  { margin-bottom: 1.5rem !important; }
.me-2  { margin-right:  .5rem  !important; }
.ms-2  { margin-left:   .5rem  !important; }
.py-4  { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.text-center  { text-align: center !important; }
.text-muted   { color: var(--admin-subtle) !important; }
.fw-bold      { font-weight: 700 !important; }
.small        { font-size: .85em !important; }
.w-100        { width: 100% !important; }
.d-flex       { display: flex !important; }
.align-items-center   { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.flex-wrap    { flex-wrap: wrap !important; }
.gap-2        { gap: .5rem !important; }
/* Spinner (used by btn-brand loading state) */
.spinner-border {
    display: inline-block;
    width: 1em; height: 1em;
    border: .15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .65s linear infinite;
    vertical-align: -.125em;
}
.spinner-border-sm { width: .85em; height: .85em; border-width: .13em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Badge */
.badge { display: inline-block; padding: .28em .55em; border-radius: 6px; font-size: .78em; font-weight: 700; }
.bg-secondary { background: #374151 !important; color: #9ca3af; }

/* ================================================================
   FINE-TUNE SMALL SCREENS
   ================================================================ */
@media (max-width: 480px) {
    .card-glass { padding: 1.4rem 1rem; border-radius: 14px; }
    .admin-content { padding: 1rem .75rem; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .stat-card .stat-number { font-size: 1.7rem; }
    .admin-navbar { padding: .6rem 1rem; }
    .btn-action { font-size: .75rem; padding: .28rem .55rem; }
    #toast-container { bottom: .75rem; right: .75rem; }
}

/* ================================================================
   MESSAGE POPUP MODAL
   ================================================================ */
.msg-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.msg-modal-overlay.open { display: flex; }

.msg-modal-box {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 18px;
    padding: 1.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 24px 60px rgba(0,0,0,.55);
    animation: modal-pop .18s ease;
}
@keyframes modal-pop {
    from { transform: scale(.93); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.msg-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.msg-modal-song {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e5e7eb;
    line-height: 1.3;
}
.msg-modal-from {
    font-size: .83rem;
    color: #6b7280;
    margin-top: .25rem;
}
.msg-modal-close {
    background: rgba(255,255,255,.08);
    border: none;
    color: #9ca3af;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background .15s, color .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.msg-modal-close:hover { background: rgba(255,255,255,.15); color: #e5e7eb; }

.msg-modal-body {
    background: rgba(255,255,255,.04);
    border: 1px solid #374151;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.7;
    word-break: break-word;
    min-height: 64px;
    white-space: pre-wrap;
}

.btn-msg { background: rgba(167,139,250,.15); color: #a78bfa; }
.btn-msg:hover { background: rgba(167,139,250,.28); }

/* ================================================================
   HISTORY PAGE
   ================================================================ */
.history-filter-bar {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: .75rem;
    background: var(--admin-card);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.4rem;
}
.history-filter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    flex: 1;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    min-width: 130px;
}
.filter-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--admin-subtle);
}
.filter-input {
    background: #374151;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
    padding: .55rem .85rem;
    border-radius: 8px;
    font-size: .93rem;
    outline: none;
    transition: border-color .2s;
    -webkit-appearance: none;
    color-scheme: dark;
}
.filter-input:focus { border-color: var(--brand-primary); }
.filter-btn {
    background: var(--brand-gradient);
    border: none;
    color: #fff;
    padding: .58rem 1.4rem;
    border-radius: 8px;
    font-size: .93rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
    align-self: flex-end;
}
.filter-btn:hover { opacity: .88; }

.col-hist-time { width: 100px; }

/* Pagination */
.hist-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 .75rem;
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    color: var(--admin-subtle);
    text-decoration: none;
    font-size: .9rem;
    transition: background .15s, color .15s, border-color .15s;
}
.page-btn:hover { background: #253040; color: var(--admin-text); border-color: #4b5563; }
.page-btn-active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}
.page-ellipsis {
    display: inline-flex;
    align-items: center;
    color: var(--admin-muted);
    padding: 0 .25rem;
    font-size: .9rem;
}

@media (max-width: 640px) {
    .history-filter-bar { padding: .9rem 1rem; }
    .filter-group       { min-width: calc(50% - .375rem); }
    .filter-btn         { width: 100%; text-align: center; }
    .page-btn           { min-width: 36px; height: 36px; font-size: .82rem; }
}

/* ================================================================
   TABLET ADMIN (641 – 1280 px — 10-inch tablet portrait & landscape)
   ================================================================ */
@media (min-width: 641px) and (max-width: 1280px) {

    /* Navbar — bigger tap targets */
    .admin-navbar { padding: .9rem 1.5rem; }
    .admin-navbar .brand { font-size: 1.2rem; }
    .admin-navbar .nav-links a {
        font-size: 1rem;
        padding: .55rem 1.05rem;
    }

    /* History filter — bigger inputs for touch */
    .filter-input  { font-size: 1rem; padding: .65rem 1rem; }
    .filter-btn    { font-size: 1rem; padding: .65rem 1.6rem; }
    .page-btn      { min-width: 48px; height: 48px; font-size: .95rem; }

    /* Table — larger font & row height */
    .request-table { font-size: 1.05rem; }
    .request-table thead th {
        font-size: .85rem;
        padding: .9rem 1rem;
    }
    .request-table tbody td { padding: 1.15rem 1rem; }

    /* Kolom # disembunyikan di tablet — hemat 40px, cukup untuk fit tanpa scroll */
    .col-no,
    .request-table td[data-label="No"] { display: none; }

    /* Lebar kolom dipadatkan agar fit dalam layar tablet */
    .col-name  { width: 90px; }
    .col-msg-h { width: 120px; }
    .col-time  { width: 58px; }
    .col-aksi  { width: 270px; }

    /* Status badge — easier to read at a glance */
    .badge-status {
        font-size: .88rem;
        padding: .4em .95em;
    }

    /* Action buttons — finger-friendly touch target (~44 px tall) */
    .btn-action {
        padding: .68rem 1.1rem;
        font-size: .93rem;
        font-weight: 700;
        border-radius: 9px;
        min-height: 44px;
    }

    /* Action cell — flex gap so buttons don't crowd each other */
    td[data-label="Aksi"] {
        display: flex;
        align-items: center;
        gap: .5rem;
        flex-wrap: wrap;
    }

    /* Stat cards — slightly larger numbers */
    .stat-card .stat-number { font-size: 2.4rem; }
    .stat-card .stat-label  { font-size: .88rem; }
}
