@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');
:root {
    --bg: #111827;
    --bg2: #1f2937;
    --bg3: #374151;
    --sidebar: #0f172a;
    --header: #0f172a;
    --gold: #f59e0b;
    --gold-dark: #d97706;
    --blue: #3b82f6;
    --green: #22c55e;
    --red: #ef4444;
    --cyan: #06b6d4;
    --purple: #8b5cf6;
    --text: #f3f4f6;
    --text2: #9ca3af;
    --text3: #6b7280;
    --border: #374151;
    --sidebar-w: 230px;
    --header-h: 54px;
}
* { margin:0; padding:0; box-sizing:border-box; }
* {
    scrollbar-width:thin;
    scrollbar-color:rgba(245,158,11,.46) rgba(8,12,24,.62);
}
*::-webkit-scrollbar { width:9px; height:9px; }
*::-webkit-scrollbar-track {
    background:rgba(8,12,24,.72);
    border-radius:999px;
}
*::-webkit-scrollbar-thumb {
    background:linear-gradient(180deg,rgba(245,158,11,.74),rgba(217,119,6,.54));
    border:2px solid rgba(8,12,24,.72);
    border-radius:999px;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.10), 0 0 10px rgba(245,158,11,.14);
}
*::-webkit-scrollbar-thumb:hover {
    background:linear-gradient(180deg,rgba(251,191,36,.92),rgba(245,158,11,.72));
}
*::-webkit-scrollbar-corner { background:transparent; }
body {
    font-family:'Noto Sans KR',sans-serif; color:var(--text); font-size:13px;
    background-color: var(--bg);
    background-image:
        linear-gradient(rgba(10,15,28,.90), rgba(8,12,24,.94)),
        url('admin-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
a { color:var(--blue); text-decoration:none; }

/* Header */
.admin-header {
    height:var(--header-h); background:rgba(15,23,42,.72); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid var(--border);
    display:flex; align-items:center; justify-content:space-between; padding:0 20px;
    position:fixed; top:0; left:0; right:0; z-index:100;
}
.ah-logo { font-size:16px; font-weight:900; color:var(--gold); }
.ah-logo span { font-size:11px; color:var(--text3); font-weight:400; margin-left:4px; }
.ah-right { display:flex; align-items:center; gap:12px; }
.ah-badges { display:flex; gap:6px; }
.ab-item { padding:4px 10px; border-radius:20px; font-size:11px; font-weight:600; }
.ab-item.deposit { background:rgba(16,185,129,.15); color:var(--green); }
.ab-item.withdraw { background:rgba(239,68,68,.15); color:var(--red); }
.ab-item.qna { background:rgba(59,130,246,.15); color:var(--blue); }
.ah-admin { color:var(--text2); font-size:12px; }
.ah-logout { color:var(--red); font-size:14px; padding:6px; }

#adminSoundHint {
    position:fixed; right:22px; bottom:82px; z-index:722;
    display:inline-flex; align-items:center; justify-content:center; gap:7px;
    min-height:38px; padding:0 14px; box-sizing:border-box;
    border-radius:999px; background:linear-gradient(135deg,#fbbf24,#f59e0b); color:#111827;
    border:1px solid rgba(245,158,11,.42); box-shadow:0 16px 42px rgba(0,0,0,.42),0 0 18px rgba(245,158,11,.20);
    font-size:12px; font-weight:950; cursor:grab; opacity:1; transform:translateY(0);
    pointer-events:auto; transition:.18s ease;
}
#adminSoundHint.show { opacity:1; transform:translateY(0); pointer-events:auto; }
#adminSoundHint.admin-floating-dragging { cursor:grabbing; transition:none; }
#adminSoundHint.ready { background:linear-gradient(135deg,#34d399,#22c55e); color:#052e16; border-color:rgba(34,197,94,.50); box-shadow:0 16px 42px rgba(0,0,0,.42),0 0 18px rgba(34,197,94,.18); }
#adminSoundHint.muted { background:linear-gradient(135deg,#fb7185,#ef4444); color:#fff; border-color:rgba(248,113,113,.52); box-shadow:0 16px 42px rgba(0,0,0,.42),0 0 18px rgba(239,68,68,.20); }
#adminSoundHint.locked {
    background:linear-gradient(135deg,#fbbf24,#f59e0b); color:#111827;
    animation: adminSoundHintPulse 1.2s ease-in-out infinite;
}
@keyframes adminSoundHintPulse {
    0%,100% { transform:translateY(0); box-shadow:0 16px 42px rgba(0,0,0,.42),0 0 18px rgba(245,158,11,.20); }
    50% { transform:translateY(-2px); box-shadow:0 18px 46px rgba(0,0,0,.48),0 0 22px rgba(245,158,11,.38); }
}
#adminSoundPanel {
    position:fixed; right:22px; bottom:130px; z-index:723;
    width:286px; max-width:calc(100vw - 28px);
    border-radius:16px; overflow:hidden;
    background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(8,12,24,.98));
    border:1px solid rgba(245,158,11,.30);
    box-shadow:0 22px 70px rgba(0,0,0,.55), 0 0 42px rgba(245,158,11,.08);
    opacity:0; transform:translateY(10px) scale(.98);
    pointer-events:none; transition:.18s ease;
}
#adminSoundPanel.open { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.asp-head {
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:13px 14px; border-bottom:1px solid rgba(255,255,255,.08);
    background:linear-gradient(135deg,rgba(245,158,11,.18),rgba(59,130,246,.08));
}
.asp-title { display:flex; align-items:center; gap:8px; color:#fff7ed; font-size:13px; font-weight:950; }
.asp-close {
    width:24px; height:24px; border:0; border-radius:999px;
    background:rgba(255,255,255,.08); color:#fff7ed; cursor:pointer; font-size:17px; line-height:1;
}
.asp-body { padding:14px; display:grid; gap:12px; }
.asp-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.asp-label { color:#cbd5e1; font-size:12px; font-weight:800; }
.asp-switch { display:inline-flex; align-items:center; gap:7px; color:#f8fafc; font-size:12px; font-weight:900; cursor:pointer; user-select:none; }
.asp-switch input { width:16px; height:16px; accent-color:#f59e0b; cursor:pointer; }
.asp-muted input { accent-color:#ef4444; }
.asp-volume {
    display:grid; grid-template-columns:1fr auto; align-items:center; gap:10px;
}
.asp-volume input[type="range"] {
    width:100%; accent-color:#f59e0b;
}
.asp-volume-value {
    min-width:42px; text-align:right; color:#facc15; font-size:12px; font-weight:950;
    font-variant-numeric:tabular-nums;
}
.asp-sound-select {
    width:100%;
    height:34px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:10px;
    padding:0 10px;
    background:rgba(15,23,42,.88);
    color:#f8fafc;
    font-size:12px;
    font-weight:800;
    outline:none;
}
.asp-sound-select:focus {
    border-color:rgba(245,158,11,.55);
}
.asp-test {
    height:34px; border:1px solid rgba(245,158,11,.34); border-radius:10px;
    background:rgba(245,158,11,.12); color:#fef3c7; font-size:12px; font-weight:950;
    cursor:pointer;
}
.asp-test:hover { background:rgba(245,158,11,.20); color:#fff; }
.asp-help { color:#94a3b8; font-size:11px; line-height:1.45; }
#adminPendingAlertToast {
    position:fixed; right:18px; top:72px; width:330px; max-width:calc(100vw - 28px); z-index:640;
    border-radius:14px; overflow:hidden; background:rgba(15,23,42,.96);
    border:1px solid rgba(245,158,11,.42); box-shadow:0 22px 60px rgba(0,0,0,.55);
    opacity:0; transform:translateY(-12px); pointer-events:none; transition:.18s ease;
}
#adminPendingAlertToast.active { opacity:1; transform:translateY(0); pointer-events:auto; }
#adminPendingAlertToast .apa-head {
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:12px 14px; background:linear-gradient(135deg,rgba(245,158,11,.22),rgba(239,68,68,.12));
    border-bottom:1px solid rgba(255,255,255,.08);
}
#adminPendingAlertToast .apa-head strong { color:#fff; font-size:13px; }
#adminPendingAlertToast .apa-head button {
    width:24px; height:24px; border:0; border-radius:999px; background:rgba(255,255,255,.08);
    color:#fff; cursor:pointer; font-size:18px; line-height:1;
}
#adminPendingAlertToast .apa-body { padding:12px 14px; color:#fef3c7; font-size:12px; line-height:1.7; }
#adminPendingAlertToast .apa-link {
    display:flex; align-items:center; justify-content:center; margin:0 14px 14px; padding:9px 10px;
    border-radius:9px; background:#f59e0b; color:#111827; font-size:12px; font-weight:900;
}

/* Sidebar */
.admin-sidebar {
    position:fixed; top:var(--header-h); left:0; bottom:0; width:var(--sidebar-w);
    background:rgba(15,23,42,.72); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-right:1px solid var(--border); overflow-y:auto; padding:10px 0; z-index:90;
    scrollbar-gutter:stable;
}
.admin-sidebar::-webkit-scrollbar { width:10px; }
.admin-sidebar::-webkit-scrollbar-track {
    background:linear-gradient(180deg,rgba(5,8,18,.90),rgba(12,18,32,.84));
    border-left:1px solid rgba(255,255,255,.04);
}
.admin-sidebar::-webkit-scrollbar-thumb {
    min-height:64px;
    background:linear-gradient(180deg,#fbbf24,#d97706);
    border:2px solid rgba(5,8,18,.90);
    border-radius:999px;
    box-shadow:0 0 14px rgba(245,158,11,.22), inset 0 1px 0 rgba(255,255,255,.24);
}
.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background:linear-gradient(180deg,#fde68a,#f59e0b);
}
.admin-sidebar-resizer {
    position:fixed; top:var(--header-h); left:calc(var(--sidebar-w) - 4px); bottom:0;
    width:8px; z-index:120; cursor:col-resize;
    display:flex; align-items:center; justify-content:center;
}
.admin-sidebar-resizer::before {
    content:'';
    width:3px; height:54px; border-radius:999px;
    background:rgba(245,158,11,.28);
    box-shadow:0 0 14px rgba(245,158,11,.16);
    transition:.15s ease;
}
.admin-sidebar-resizer:hover::before,
body.sidebar-resizing .admin-sidebar-resizer::before {
    background:rgba(245,158,11,.78);
    box-shadow:0 0 18px rgba(245,158,11,.28);
}
body.sidebar-resizing {
    cursor:col-resize;
    user-select:none;
}
.admin-sidebar .as-group { padding:14px 18px 4px; font-size:10px; color:var(--text3); text-transform:uppercase; letter-spacing:1.5px; font-weight:600; }
.admin-sidebar a {
    display:flex; align-items:center; gap:10px; padding:9px 18px; color:var(--text2); font-size:13px;
    transition:all .15s; border-left:3px solid transparent;
}
.admin-sidebar a:hover { background:rgba(245,158,11,.06); color:var(--gold); border-left-color:var(--gold); }
.admin-sidebar a.active { background:rgba(245,158,11,.1); color:var(--gold); border-left-color:var(--gold); font-weight:600; }
.admin-sidebar a i { width:16px; text-align:center; font-size:13px; }
.as-badge { margin-left:auto; background:var(--red); color:#fff; font-size:10px; padding:1px 7px; border-radius:10px; font-weight:700; }

/* Main */
.admin-main { margin-left:var(--sidebar-w); margin-top:var(--header-h); padding:24px; min-height:calc(100vh - var(--header-h)); }
.admin-footer { margin-left:var(--sidebar-w); padding:14px 24px; text-align:center; color:var(--text3); font-size:11px; border-top:1px solid var(--border); }

/* Page header */
.page-title { font-size:20px; font-weight:900; margin-bottom:20px; display:flex; align-items:center; gap:10px; }
.page-title i { color:var(--gold); }

/* Stats grid */
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px; }
.stat-card {
    background:var(--bg2); border:1px solid var(--border); border-radius:10px; padding:18px 20px;
    position:relative; overflow:hidden;
}
.stat-card .sc-icon { position:absolute; top:14px; right:16px; font-size:28px; opacity:.12; }
.stat-card .sc-label { font-size:12px; color:var(--text3); margin-bottom:6px; }
.stat-card .sc-value { font-size:24px; font-weight:900; }
.stat-card .sc-sub { font-size:11px; color:var(--text3); margin-top:4px; }
.stat-card.gold .sc-value { color:var(--gold); }
.stat-card.green .sc-value { color:var(--green); }
.stat-card.red .sc-value { color:var(--red); }
.stat-card.blue .sc-value { color:var(--blue); }
.stat-card.cyan .sc-value { color:var(--cyan); }
.stat-card.purple .sc-value { color:var(--purple); }

/* Card */
.card { background:var(--bg2); border:1px solid var(--border); border-radius:8px; padding:18px; margin-bottom:18px; }
.card-title { font-size:15px; font-weight:700; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }

/* Table */
.tbl { width:100%; border-collapse:collapse; }
.tbl thead th { background:rgba(245,158,11,.06); padding:9px 10px; font-size:11px; color:var(--text3); text-align:left; font-weight:600; border-bottom:1px solid var(--border); white-space:nowrap; }
.tbl tbody td { padding:9px 10px; font-size:12px; border-bottom:1px solid rgba(255,255,255,.04); color:var(--text2); }
.tbl th, .tbl td { box-sizing:border-box; }
.tbl thead th.tc, .tbl tbody td.tc { text-align:center; }
.tbl thead th.tr, .tbl tbody td.tr { text-align:right; }
.tbl tbody tr:hover { background:rgba(245,158,11,.03); }
.tether-address-cell { min-width:180px; max-width:260px; white-space:normal; }
.tether-address-cell .tether-addr {
    display:inline-block;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-all;
    line-height:1.45;
}
.tc { text-align:center; }
.tr { text-align:right; }

/* Badge */
.badge { display:inline-block; padding:2px 10px; border-radius:12px; font-size:10px; font-weight:700; }
.badge-pending { background:rgba(245,158,11,.15); color:var(--gold); }
.badge-approved { background:rgba(16,185,129,.15); color:var(--green); }
.badge-rejected { background:rgba(239,68,68,.15); color:var(--red); }
.badge-waiting { background:rgba(245,158,11,.15); color:var(--gold); }
.badge-hold { background:rgba(59,130,246,.15); color:#60a5fa; }
.badge-answered { background:rgba(16,185,129,.15); color:var(--green); }
.badge-active { background:rgba(16,185,129,.15); color:var(--green); }
.badge-suspended { background:rgba(239,68,68,.15); color:var(--red); }
.badge-win { background:rgba(16,185,129,.15); color:var(--green); }
.badge-lose { background:rgba(239,68,68,.15); color:var(--red); }

/* Form */
.fg { margin-bottom:14px; }
.fg label { display:block; font-size:12px; color:var(--text3); margin-bottom:4px; font-weight:500; }
.fc {
    width:100%; padding:8px 12px; background:var(--bg); border:1px solid var(--border); border-radius:5px;
    color:var(--text); font-size:13px; font-family:inherit;
}
.fc:focus { outline:none; border-color:var(--gold); }
select.fc { appearance:none; }
textarea.fc { resize:vertical; min-height:100px; }
.fr { display:flex; gap:10px; }
.fr .fg { flex:1; }

/* Buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:5px; padding:7px 16px; border:none; border-radius:5px; font-size:12px; font-weight:600; cursor:pointer; font-family:inherit; transition:all .15s; }
.btn-gold { background:var(--gold); color:#000; }
.btn-gold:hover { background:var(--gold-dark); }
.btn-green { background:var(--green); color:#fff; }
.btn-green:hover { opacity:.85; }
.btn-red { background:var(--red); color:#fff; }
.btn-red:hover { opacity:.85; }
.btn-blue { background:var(--blue); color:#fff; }
.btn-blue:hover { opacity:.85; }
.btn-dark { background:var(--bg3); color:var(--text2); }
.btn-dark:hover { background:var(--border); }
.btn-sm { padding:4px 10px; font-size:11px; }
.btn-block { width:100%; }

/* Action buttons inline */
.act-btns { display:flex; gap:4px; }

/* Pagination */
.paging { display:flex; justify-content:center; gap:3px; margin-top:16px; }
.paging a, .paging span {
    display:inline-flex; align-items:center; justify-content:center; min-width:30px; height:30px;
    padding:0 6px; border-radius:4px; font-size:12px; color:var(--text3); background:var(--bg); border:1px solid var(--border);
}
.paging a:hover { border-color:var(--gold); color:var(--gold); }
.paging .active { background:var(--gold); color:#000; border-color:var(--gold); font-weight:700; }

/* Search bar */
.search-bar { display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap; align-items:center; }
.search-bar .fc { max-width:200px; }
.search-bar select.fc { max-width:130px; }

/* Modal */
.modal-bg { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:500; align-items:center; justify-content:center; }
.modal-bg.active { display:flex; }
.modal-box { background:var(--bg2); border:1px solid var(--border); border-radius:10px; width:90%; max-width:500px; max-height:85vh; overflow-y:auto; padding:24px; }
.modal-box h3 { font-size:16px; font-weight:700; margin-bottom:16px; padding-bottom:10px; border-bottom:1px solid var(--border); }

/* Detail */
.detail-row { display:flex; padding:6px 0; font-size:13px; border-bottom:1px solid rgba(255,255,255,.04); }
.detail-row .dl { width:120px; color:var(--text3); font-weight:500; flex-shrink:0; }
.detail-row .dv { color:var(--text); }
.detail-row .dv.gold { color:var(--gold); font-weight:700; }

/* Login page */
.login-page {
    position: relative;
    display:flex; align-items:center; justify-content:center; min-height:100vh;
    background-color: #1a0608;
    background-image:
        linear-gradient(rgba(20,6,8,.55), rgba(12,4,6,.72)),
        url('login-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ===== Admin Login (red glass redesign) ===== */
.admin-login-card {
    position: relative;
    width: 420px;
    padding: 40px 38px 30px;
    border-radius: 18px;
    background: rgba(18,10,12,.66);
    border: 1px solid rgba(239,68,68,.22);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(225,29,72,.12), inset 0 0 0 1px rgba(255,255,255,.04);
}
.al-icon {
    width: 62px; height: 62px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(239,68,68,.28), rgba(190,18,28,.38));
    border: 1px solid rgba(239,68,68,.45);
    box-shadow: 0 8px 24px rgba(225,29,72,.32), inset 0 1px 0 rgba(255,255,255,.14);
}
.al-icon i { font-size: 28px; color: #ff5b6b; filter: drop-shadow(0 2px 6px rgba(239,68,68,.55)); }
.al-title { text-align:center; font-size:25px; font-weight:800; letter-spacing:3px; color:#fff; margin-bottom:8px; }
.al-title span { color:#ef4444; }
.al-sub { text-align:center; font-size:12px; color:#9aa0aa; margin-bottom:26px; line-height:1.5; }

.al-field { position: relative; margin-bottom: 13px; }
.al-field > i.al-lead {
    position:absolute; left:16px; top:50%; transform:translateY(-50%);
    color:#ef4444; font-size:15px; pointer-events:none;
}
.al-field input {
    width:100%; box-sizing:border-box;
    height:50px; padding:0 44px;
    background: rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.1);
    border-radius:11px;
    color:#f1f1f3; font-size:14px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.al-field input::placeholder { color:#7d828c; }
.al-field input:focus {
    outline:none;
    border-color: rgba(239,68,68,.6);
    background: rgba(239,68,68,.06);
    box-shadow: 0 0 0 3px rgba(239,68,68,.14);
}
.al-eye {
    position:absolute; right:12px; top:50%; transform:translateY(-50%);
    background:none; border:none; color:#7d828c; cursor:pointer; font-size:15px; padding:6px;
}
.al-eye:hover { color:#ef4444; }

.al-row {
    display:flex; align-items:center; justify-content:space-between;
    margin:15px 2px 22px; font-size:12.5px;
}
.al-check { display:flex; align-items:center; gap:7px; color:#c2c6cd; cursor:pointer; user-select:none; }
.al-check input { width:15px; height:15px; accent-color:#ef4444; cursor:pointer; }
.al-forgot { color:#9aa0aa; text-decoration:none; }
.al-forgot:hover { color:#ef4444; }

.al-submit {
    width:100%; height:52px; border:none; border-radius:12px; cursor:pointer;
    display:flex; align-items:center; justify-content:center; gap:10px;
    font-size:15px; font-weight:800; color:#fff; letter-spacing:1px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 55%, #be123c 100%);
    box-shadow: 0 12px 30px rgba(225,29,72,.4), inset 0 1px 0 rgba(255,255,255,.25);
    transition: transform .1s, box-shadow .2s, filter .2s;
}
.al-submit:hover { filter:brightness(1.07); box-shadow:0 16px 38px rgba(225,29,72,.5), inset 0 1px 0 rgba(255,255,255,.25); }
.al-submit:active { transform: translateY(1px); }
.al-submit i { transition: transform .2s; }
.al-submit:hover i { transform: translateX(4px); }

.al-divider { display:flex; align-items:center; justify-content:center; margin:26px 0 14px; }
.al-divider::before, .al-divider::after { content:''; flex:1; height:1px; background:rgba(255,255,255,.1); }
.al-divider i { margin:0 14px; color:#ef4444; font-size:14px; opacity:.85; }

.al-foot { text-align:center; }
.al-foot strong { display:block; color:#e5e7eb; font-size:13px; font-weight:700; margin-bottom:5px; }
.al-foot span { color:#7d828c; font-size:11.5px; }

.al-err {
    background:rgba(239,68,68,.12); border:1px solid rgba(239,68,68,.3);
    color:#fca5a5; padding:10px 12px; border-radius:8px; font-size:12.5px; margin-bottom:16px;
    display:flex; align-items:center; gap:8px;
}

/* 우측 보안 기능 리스트 (오버레이) */
.al-features {
    position:absolute; right:10%; top:50%; transform:translateY(-50%);
    display:flex; flex-direction:column; gap:30px; z-index:2;
}
.al-feature { display:flex; align-items:center; gap:12px; }
.al-feature .alf-ic {
    width:40px; height:40px; border-radius:11px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    background: rgba(239,68,68,.12); border:1px solid rgba(239,68,68,.32);
    color:#ef4444; font-size:16px;
}
.al-feature .alf-tx b { display:block; color:#e8eaed; font-size:13px; font-weight:700; }
.al-feature .alf-tx em { display:block; color:#8b9098; font-size:10.5px; font-style:normal; letter-spacing:.5px; margin-top:1px; }

@media (max-width: 820px) {
    .al-features { display:none; }
    .admin-login-card { width:90%; max-width:420px; padding:32px 24px 26px; }
}

/* ===== Hamburger Button (모바일에서만 표시) ===== */
.ah-hamburger {
    display:none; background:none; border:none; color:var(--gold); font-size:20px;
    cursor:pointer; padding:6px 8px; margin-right:6px; line-height:1;
}

/* ===== Sidebar Overlay (모바일 딤 배경) ===== */
.sidebar-overlay {
    display:none; position:fixed; inset:0; background:rgba(0,0,0,.55);
    z-index:85; backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px);
}
.sidebar-overlay.active { display:block; }

/* ===== Table Responsive Wrapper ===== */
.tbl-wrap { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* ===== Responsive — Tablet ≤ 1024px ===== */
@media(max-width:1024px) {
    .stats-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
    .admin-main { padding:16px; }
    .card { padding:14px; }
}

/* ===== Responsive — Mobile ≤ 768px ===== */
@media(max-width:768px) {
    /* 햄버거 표시 */
    .ah-hamburger { display:inline-flex; }

    /* 헤더 뱃지 텍스트 숨김, 숫자만 */
    .ab-text { display:none; }
    .ab-item { padding:3px 7px; font-size:10px; }
    .ah-admin-name { display:none; }
    .ah-admin { font-size:11px; }
    .ah-logo span { display:none; }
    .ah-logo { font-size:14px; }
    .admin-header { padding:0 10px; height:48px; }

    /* 사이드바: 슬라이드 in/out */
    .admin-sidebar {
        display:block; transform:translateX(-100%); transition:transform .25s ease;
        width:260px; z-index:95; top:0; padding-top:0;
    }
    .admin-sidebar-resizer { display:none; }
    .admin-sidebar.mobile-open { transform:translateX(0); }

    /* 사이드바 닫기 버튼 (상단) */
    .admin-sidebar::before {
        content:'✕ 닫기';
        display:block; padding:14px 18px; font-size:13px; font-weight:700;
        color:var(--text3); border-bottom:1px solid var(--border);
        cursor:pointer; text-align:right; letter-spacing:1px;
    }

    /* 메인 영역 */
    .admin-main, .admin-footer { margin-left:0; }
    .admin-main { padding:12px; margin-top:48px; }
    .admin-footer { margin-left:0; font-size:10px; padding:10px; }

    /* 페이지 타이틀 */
    .page-title { font-size:16px; flex-wrap:wrap; gap:6px; margin-bottom:14px; }

    /* 스탯 그리드 */
    .stats-grid { grid-template-columns:repeat(2,1fr); gap:8px; margin-bottom:16px; }
    .stat-card { padding:12px 14px; }
    .stat-card .sc-value { font-size:18px; }
    .stat-card .sc-label { font-size:10px; }
    .stat-card .sc-icon { font-size:22px; }

    /* 카드 */
    .card { padding:12px; margin-bottom:12px; }
    .card-title { font-size:13px; margin-bottom:10px; padding-bottom:8px; flex-wrap:wrap; gap:6px; }

    /* 테이블 */
    .tbl { min-width:600px; }
    .tbl thead th { padding:7px 8px; font-size:10px; }
    .tbl tbody td { padding:7px 8px; font-size:11px; }

    /* 검색바 */
    .search-bar { gap:6px; }
    .search-bar .fc { max-width:100%; flex:1; min-width:0; font-size:12px; padding:7px 10px; }
    .search-bar select.fc { max-width:100%; }

    /* 폼 */
    .fr { flex-direction:column; gap:0; }
    .fc { font-size:12px; padding:8px 10px; }
    .modal-box { width:95%; max-width:none; padding:16px; max-height:90vh; }
    .modal-box h3 { font-size:14px; margin-bottom:12px; }

    /* 버튼 */
    .btn { padding:7px 12px; font-size:11px; }
    .btn-sm { padding:5px 8px; font-size:10px; }
    .act-btns { gap:3px; }
    .act-btns .btn-sm { padding:4px 6px; }

    /* 페이징 */
    .paging { gap:2px; margin-top:12px; }
    .paging a, .paging span { min-width:26px; height:26px; font-size:11px; }

    /* 디테일 행 */
    .detail-row { flex-direction:column; gap:2px; }
    .detail-row .dl { width:auto; font-size:11px; }
    .detail-row .dv { font-size:12px; }

    /* 뱃지 */
    .badge { font-size:9px; padding:2px 8px; }

    /* 로그인 */
    .login-box { width:90%; padding:24px; }

    /* 온라인 페이지 */
    .online-stat { grid-template-columns:repeat(2,1fr); gap:8px; }
    .os-num { font-size:22px; }
    .os-lbl { font-size:10px; }

    .auto-refresh { font-size:10px; gap:4px; }
}

/* ===== Responsive — Small ≤ 480px ===== */
@media(max-width:480px) {
    .stats-grid { grid-template-columns:1fr 1fr; gap:6px; }
    .stat-card .sc-value { font-size:16px; }
    .stat-card { padding:10px 12px; }

    .page-title { font-size:14px; }

    .admin-header { gap:4px; }
    .ah-badges { gap:3px; }

    .online-stat { grid-template-columns:1fr 1fr; }
    .os-num { font-size:18px; }

    .tbl { min-width:500px; }
}

/* Global admin chat popup */
.aw-chat-fab {
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:720;
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:0 14px;
    box-sizing:border-box;
    border:1px solid rgba(245,158,11,.42);
    border-radius:999px;
    background:linear-gradient(135deg,#fbbf24,#f59e0b);
    color:#111827;
    font-size:12px;
    font-weight:950;
    box-shadow:0 18px 48px rgba(0,0,0,.45),0 0 22px rgba(245,158,11,.24);
    cursor:grab;
}
.aw-chat-fab i { font-size:15px; }
.aw-chat-fab:hover { filter:brightness(1.06); transform:translateY(-1px); }
.aw-chat-fab.admin-floating-dragging { cursor:grabbing; transition:none; transform:none; }
.aw-chat-fab.aw-has-alert {
    animation:awChatFlash 1.05s ease-in-out infinite;
}
.aw-chat-fab.aw-has-alert::before {
    content:"";
    position:absolute;
    inset:-7px;
    z-index:-1;
    border-radius:999px;
    background:rgba(250,204,21,.30);
    box-shadow:0 0 0 0 rgba(250,204,21,.60);
    animation:awChatPulse 1.05s ease-out infinite;
}
.aw-chat-fab-badge {
    display:none;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    padding:0 6px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-size:11px;
    font-weight:950;
}
.aw-chat-fab-badge.show { display:inline-flex; }
.aw-chat-toast {
    position:fixed;
    right:22px;
    bottom:82px;
    z-index:724;
    width:min(360px,calc(100vw - 44px));
    padding:13px 15px;
    border:1px solid rgba(250,204,21,.45);
    border-radius:14px;
    background:linear-gradient(135deg,rgba(15,23,42,.98),rgba(30,41,59,.98));
    box-shadow:0 20px 60px rgba(0,0,0,.50),0 0 24px rgba(250,204,21,.20);
    color:#f8fafc;
    cursor:pointer;
    opacity:0;
    transform:translateY(12px) scale(.98);
    pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
}
.aw-chat-toast.show {
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
}
.aw-chat-toast strong {
    display:flex;
    align-items:center;
    gap:7px;
    color:#facc15;
    font-size:13px;
    font-weight:950;
    margin-bottom:5px;
}
.aw-chat-toast span {
    display:block;
    color:#e2e8f0;
    font-size:12px;
    line-height:1.45;
    word-break:break-word;
}
@keyframes awChatFlash {
    0%,100% { filter:brightness(1); transform:translateY(0) scale(1); box-shadow:0 18px 48px rgba(0,0,0,.45),0 0 22px rgba(245,158,11,.24); }
    45% { filter:brightness(1.22); transform:translateY(-2px) scale(1.045); box-shadow:0 20px 54px rgba(0,0,0,.48),0 0 34px rgba(250,204,21,.78),0 0 18px rgba(239,68,68,.32); }
}
@keyframes awChatPulse {
    0% { opacity:.9; transform:scale(.94); box-shadow:0 0 0 0 rgba(250,204,21,.58); }
    100% { opacity:0; transform:scale(1.22); box-shadow:0 0 0 18px rgba(250,204,21,0); }
}
.aw-chat-panel {
    position:fixed;
    right:22px;
    bottom:78px;
    z-index:721;
    width:min(1120px,calc(100vw - 44px));
    height:min(760px,calc(100vh - 108px));
    display:flex;
    flex-direction:column;
    border:1px solid rgba(245,158,11,.34);
    border-radius:18px;
    overflow:hidden;
    background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(8,12,24,.98));
    box-shadow:0 28px 90px rgba(0,0,0,.62),0 0 44px rgba(245,158,11,.10);
    opacity:0;
    transform:translateY(12px) scale(.985);
    pointer-events:none;
    transition:.16s ease;
}
.aw-chat-panel.open {
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
}
.aw-chat-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:62px;
    padding:14px 16px;
    border-bottom:1px solid rgba(255,255,255,.08);
    background:linear-gradient(135deg,rgba(245,158,11,.18),rgba(59,130,246,.10));
}
.aw-chat-head strong {
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-size:15px;
    font-weight:950;
}
.aw-chat-head span {
    display:block;
    margin-top:3px;
    color:#cbd5e1;
    font-size:11px;
    font-weight:700;
}
.aw-chat-head-actions {
    display:flex;
    align-items:center;
    gap:8px;
}
.aw-chat-head-actions a,
.aw-chat-head-actions button {
    width:30px;
    height:30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.10);
    color:#fff7ed;
    cursor:pointer;
    font-size:16px;
}
.aw-chat-head-actions button { font-size:22px; line-height:1; }
.aw-chat-body {
    flex:1;
    min-height:0;
    display:grid;
    grid-template-columns:330px minmax(0,1fr);
}
.aw-chat-list-pane {
    min-width:0;
    border-right:1px solid rgba(255,255,255,.08);
    display:flex;
    flex-direction:column;
    min-height:0;
    background:rgba(15,23,42,.46);
}
.aw-chat-list-title {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:12px 14px;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:#f8fafc;
    font-size:13px;
    font-weight:950;
}
.aw-chat-list-title b {
    min-width:24px;
    height:22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-size:11px;
}
.aw-chat-room-list {
    flex:1;
    min-height:0;
    overflow:auto;
    padding:12px;
    display:flex;
    flex-direction:column;
    gap:10px;
}
.aw-chat-empty {
    padding:26px 12px;
    text-align:center;
    color:#94a3b8;
    font-size:12px;
}

.sports-bonus-correct-modal {
    position:fixed;
    inset:0;
    z-index:1200;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(2,6,23,.72);
    backdrop-filter:blur(4px);
}
.sports-bonus-correct-modal.open { display:flex; }
.sports-bonus-correct-card {
    width:420px;
    max-width:calc(100vw - 30px);
    border:1px solid rgba(245,158,11,.32);
    border-radius:16px;
    overflow:hidden;
    background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(8,13,26,.98));
    box-shadow:0 24px 80px rgba(0,0,0,.58);
}
.sports-bonus-correct-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:14px 16px;
    border-bottom:1px solid rgba(255,255,255,.08);
    background:linear-gradient(135deg,rgba(245,158,11,.20),rgba(34,197,94,.10));
}
.sports-bonus-correct-head strong { color:#fff7ed; font-size:15px; font-weight:950; }
.sports-bonus-correct-close {
    width:26px;
    height:26px;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.10);
    color:#fff;
    cursor:pointer;
    font-size:20px;
    line-height:1;
}
.sports-bonus-correct-body { padding:16px; display:grid; gap:12px; }
.sports-bonus-correct-summary {
    padding:10px 12px;
    border-radius:10px;
    background:rgba(245,158,11,.09);
    border:1px solid rgba(245,158,11,.20);
    color:#dbeafe;
    font-size:12px;
    line-height:1.45;
}
.sports-bonus-correct-summary b,
.sports-bonus-correct-summary strong { color:#facc15; font-weight:950; }
.sports-bonus-correct-body label { display:grid; gap:7px; color:#cbd5e1; font-size:12px; font-weight:850; }
.sports-bonus-correct-select,
.sports-bonus-correct-reason {
    width:100%;
    border:1px solid rgba(255,255,255,.13);
    border-radius:10px;
    background:rgba(15,23,42,.90);
    color:#f8fafc;
    font-size:12px;
    outline:none;
}
.sports-bonus-correct-select { height:38px; padding:0 10px; }
.sports-bonus-correct-reason { min-height:78px; padding:10px; resize:vertical; }
.sports-bonus-correct-help { color:#94a3b8; font-size:11px; line-height:1.45; }
.sports-bonus-correct-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    padding:13px 16px 15px;
    border-top:1px solid rgba(255,255,255,.08);
}
.aw-chat-room {
    border:1px solid rgba(255,255,255,.10);
    border-radius:13px;
    padding:11px;
    background:rgba(255,255,255,.045);
    cursor:pointer;
}
.aw-chat-room.pending { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.08); }
.aw-chat-room.active { border-color:rgba(34,197,94,.36); background:rgba(34,197,94,.07); }
.aw-chat-room.closed { opacity:.82; }
.aw-chat-room.selected { outline:2px solid rgba(59,130,246,.55); }
.aw-chat-room-main {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px;
}
.aw-chat-room-user {
    color:#f8fafc;
    font-size:12px;
    font-weight:950;
    line-height:1.35;
}
.aw-chat-room-user small { color:#cbd5e1; font-weight:700; }
.aw-chat-upline,
.aw-chat-sub-upline {
    margin-top:4px;
    color:#fbbf24;
    font-size:10.5px;
    font-weight:850;
    line-height:1.45;
    word-break:break-word;
}
.aw-chat-room-user em {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:18px;
    height:18px;
    margin-left:5px;
    padding:0 5px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-size:10px;
    font-style:normal;
}
.aw-chat-room-time,
.aw-chat-device {
    margin-top:4px;
    color:#94a3b8;
    font-size:10px;
}
.aw-chat-preview {
    margin-top:8px;
    padding:8px 9px;
    border-radius:9px;
    background:rgba(2,6,23,.36);
    color:#e2e8f0;
    font-size:11px;
    line-height:1.45;
    word-break:break-word;
}
.aw-chat-status {
    flex:0 0 auto;
    padding:3px 8px;
    border-radius:999px;
    font-size:10px;
    font-weight:950;
}
.aw-chat-status.pending { color:#fbbf24; background:rgba(245,158,11,.16); }
.aw-chat-status.active { color:#86efac; background:rgba(34,197,94,.14); }
.aw-chat-status.closed { color:#cbd5e1; background:rgba(148,163,184,.15); }
.aw-chat-room-tools {
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin-top:9px;
}
.aw-chat-room-tools button,
.aw-chat-room-actions button {
    min-height:28px;
    padding:5px 9px;
    border:1px solid rgba(245,158,11,.30);
    border-radius:8px;
    background:rgba(245,158,11,.12);
    color:#fef3c7;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
}
.aw-chat-room-tools button.danger,
.aw-chat-room-actions button:last-child {
    border-color:rgba(239,68,68,.32);
    background:rgba(239,68,68,.12);
    color:#fecaca;
}
.aw-chat-room-actions button:disabled,
.aw-chat-form button:disabled {
    opacity:.45;
    cursor:not-allowed;
}
.aw-chat-talk-pane {
    min-width:0;
    min-height:0;
    display:flex;
    flex-direction:column;
}
.aw-chat-talk-head {
    min-height:72px;
    padding:13px 15px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.aw-chat-talk-head strong {
    display:block;
    color:#fff;
    font-size:15px;
    font-weight:950;
}
.aw-chat-room-sub {
    margin-top:4px;
    color:#94a3b8;
    font-size:11px;
}
.aw-chat-room-actions {
    display:flex;
    gap:7px;
    flex:0 0 auto;
}
.aw-chat-messages {
    flex:1;
    min-height:0;
    overflow:auto;
    padding:16px;
    display:flex;
    flex-direction:column;
}
.aw-chat-msg {
    display:flex;
    margin:7px 0;
}
.aw-chat-msg.user { justify-content:flex-start; }
.aw-chat-msg.admin { justify-content:flex-end; }
.aw-chat-bubble {
    max-width:74%;
    padding:10px 12px;
    border-radius:14px;
    font-size:13px;
    line-height:1.45;
    word-break:break-word;
}
.aw-chat-msg.user .aw-chat-bubble {
    background:rgba(255,255,255,.09);
    color:#fff;
    border-bottom-left-radius:4px;
}
.aw-chat-msg.admin .aw-chat-bubble {
    background:linear-gradient(135deg,#facc15,#f59e0b);
    color:#111827;
    font-weight:800;
    border-bottom-right-radius:4px;
}
.aw-chat-bubble span {
    display:block;
    margin-top:4px;
    font-size:10px;
    opacity:.66;
    font-weight:500;
}
.aw-chat-form {
    display:flex;
    gap:8px;
    padding:12px 14px 14px;
    border-top:1px solid rgba(255,255,255,.08);
}
.aw-chat-form input {
    flex:1;
    min-width:0;
    height:42px;
    border:1px solid var(--border);
    border-radius:10px;
    background:#0f172a;
    color:#f8fafc;
    padding:0 12px;
}
.aw-chat-form input:disabled { opacity:.55; }
.aw-chat-form button {
    flex:0 0 auto;
    min-width:72px;
    border:0;
    border-radius:10px;
    background:#f59e0b;
    color:#111827;
    font-size:12px;
    font-weight:950;
    cursor:pointer;
}
@media(max-width:900px) {
    .aw-chat-panel {
        right:12px;
        left:12px;
        bottom:72px;
        width:auto;
        height:calc(100vh - 94px);
    }
    .aw-chat-body {
        grid-template-columns:1fr;
        grid-template-rows:230px minmax(0,1fr);
    }
    .aw-chat-list-pane {
        border-right:0;
        border-bottom:1px solid rgba(255,255,255,.08);
    }
    .aw-chat-fab {
        right:14px;
        bottom:14px;
    }
}


/* Site-specific theme: ALLS admin */
body.admin-site-alls {
    --bg: #06251f;
    --bg2: #0b302a;
    --bg3: #12443b;
    --sidebar: #041f1c;
    --header: #041f1c;
    --border: rgba(102, 255, 191, .18);
    --gold: #22c55e;
    --gold-dark: #0f766e;
    background-color: #06251f;
    background-image:
        radial-gradient(circle at 16% 8%, rgba(34,197,94,.24), transparent 30%),
        radial-gradient(circle at 88% 22%, rgba(14,165,233,.16), transparent 34%),
        linear-gradient(180deg, rgba(4,49,42,.95), rgba(2,27,39,.98));
}
body.admin-site-alls .admin-header,
body.admin-site-alls .admin-sidebar {
    background: rgba(4, 31, 28, .88);
    border-color: rgba(102, 255, 191, .16);
}
body.admin-site-alls .ah-logo,
body.admin-site-alls .as-group,
body.admin-site-alls .page-title i {
    color: #22c55e;
}
body.admin-site-alls .card,
body.admin-site-alls .page-header,
body.admin-site-alls .modal-box {
    background: rgba(7, 45, 39, .82);
    border-color: rgba(102, 255, 191, .16);
}

/* Site-specific theme: ALLS unified dark green */
body.admin-site-alls {
    --bg: #052d25;
    --bg2: #052d25;
    --bg3: #06372d;
    --sidebar: #052d25;
    --header: #052d25;
    --border: rgba(117, 255, 198, .14);
    --gold: #22c55e;
    --gold-dark: #16a34a;
    background-color: #052d25 !important;
    background-image: none !important;
}
body.admin-site-alls .admin-header,
body.admin-site-alls .admin-sidebar,
body.admin-site-alls .card,
body.admin-site-alls .page-header,
body.admin-site-alls .modal-box,
body.admin-site-alls .tbl,
body.admin-site-alls .fc,
body.admin-site-alls select,
body.admin-site-alls textarea {
    background: #052d25 !important;
    border-color: rgba(117, 255, 198, .14) !important;
}
body.admin-site-alls .main-content,
body.admin-site-alls .content,
body.admin-site-alls .page-content {
    background: transparent !important;
}
body.admin-site-alls .tbl thead th,
body.admin-site-alls .tbl tbody tr:hover {
    background: rgba(255,255,255,.035) !important;
}
body.admin-site-alls .ah-logo,
body.admin-site-alls .as-group,
body.admin-site-alls .page-title i {
    color: #22c55e !important;
}

/* Site-specific theme: ALLS clearer borders */
body.admin-site-alls {
    --border: rgba(134, 239, 172, .34);
    --border-strong: rgba(134, 239, 172, .52);
}
body.admin-site-alls .admin-header,
body.admin-site-alls .admin-sidebar {
    border-color: rgba(134, 239, 172, .28) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
}
body.admin-site-alls .card,
body.admin-site-alls .page-header,
body.admin-site-alls .modal-box,
body.admin-site-alls .tbl,
body.admin-site-alls .fc,
body.admin-site-alls select,
body.admin-site-alls textarea {
    background: #07382f !important;
    border: 1px solid rgba(134, 239, 172, .34) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.035) !important;
}
body.admin-site-alls .tbl thead th {
    background: #0a4439 !important;
    border-bottom: 1px solid rgba(134, 239, 172, .42) !important;
}
body.admin-site-alls .tbl tbody td {
    border-bottom-color: rgba(134, 239, 172, .16) !important;
}
body.admin-site-alls .tbl tbody tr:hover {
    background: rgba(34,197,94,.11) !important;
}
body.admin-site-alls .stat-card,
body.admin-site-alls .summary-card,
body.admin-site-alls .admin-wallet-summary-card {
    border-color: rgba(134, 239, 172, .38) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.16), inset 0 0 0 1px rgba(134,239,172,.08) !important;
}

/* Site-specific theme: ALLS refined dark */
body.admin-site-alls {
    --bg: #111827;
    --bg2: #1f2937;
    --bg3: #374151;
    --sidebar: #0f172a;
    --header: #0f172a;
    --border: #374151;
    --gold: #22c55e;
    --gold-dark: #16a34a;
    background-color: #111827 !important;
    background-image:
        linear-gradient(rgba(6, 18, 28, .90), rgba(8, 12, 24, .94)),
        url('admin-bg.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}
body.admin-site-alls .admin-header {
    background: rgba(15,23,42,.74) !important;
    border-bottom: 1px solid rgba(55,65,81,.95) !important;
    box-shadow: none !important;
}
body.admin-site-alls .admin-sidebar {
    background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(8,12,24,.98)) !important;
    border-right: 1px solid rgba(55,65,81,.9) !important;
    box-shadow: none !important;
}
body.admin-site-alls .card,
body.admin-site-alls .page-header,
body.admin-site-alls .modal-box,
body.admin-site-alls .tbl,
body.admin-site-alls .fc,
body.admin-site-alls select,
body.admin-site-alls textarea {
    background: #1f2937 !important;
    border: 1px solid #374151 !important;
    box-shadow: none !important;
}
body.admin-site-alls .tbl thead th {
    background: rgba(255,255,255,.04) !important;
    border-bottom: 1px solid rgba(55,65,81,.95) !important;
}
body.admin-site-alls .tbl tbody td {
    border-bottom-color: rgba(255,255,255,.04) !important;
}
body.admin-site-alls .tbl tbody tr:hover {
    background: rgba(34,197,94,.055) !important;
}
body.admin-site-alls .ah-logo,
body.admin-site-alls .as-group,
body.admin-site-alls .page-title i {
    color: #22c55e !important;
}
body.admin-site-alls .nav-item.active,
body.admin-site-alls .admin-sidebar a.active {
    color: #22c55e !important;
    background: rgba(34,197,94,.10) !important;
}
body.admin-site-alls .stat-card,
body.admin-site-alls .summary-card,
body.admin-site-alls .admin-wallet-summary-card {
    border-color: rgba(55,65,81,.95) !important;
    box-shadow: none !important;
}

