/* ============================================================
   VIP ULTRA SKIN — Admin + Forms + Cards
   Glassmorphism · Gradient · Neon glow · Micro-interactions
   ============================================================ */

/* ---------- ADMIN SHELL BACKGROUND ---------- */
.admin-shell {
    position: relative;
    isolation: isolate;
}
.admin-shell::before {
    content: "";
    position: absolute;
    inset: -40px -20px;
    z-index: -2;
    background:
        radial-gradient(ellipse 60% 40% at 20% 0%, rgba(96,165,250,.18), transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 10%, rgba(168,85,247,.14), transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 100%, rgba(34,211,238,.10), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}
.admin-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%);
    pointer-events: none;
}

/* ---------- ADMIN SIDEBAR ---------- */
.admin-sidebar {
    position: relative;
    background: linear-gradient(160deg, rgba(23,29,40,.92), rgba(10,14,22,.96)) !important;
    border: 1px solid rgba(116,171,246,.20) !important;
    border-radius: 22px !important;
    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 0 0 1px rgba(255,255,255,.03) inset,
        0 1px 0 rgba(255,255,255,.06) inset !important;
    backdrop-filter: blur(24px) saturate(140%);
    overflow: hidden;
    transition: box-shadow .35s ease, transform .35s ease;
}
.admin-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(96,165,250,.20), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(168,85,247,.14), transparent 45%);
    pointer-events: none;
}
.admin-sidebar::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #22d3ee);
    box-shadow: 0 0 24px rgba(96,165,250,.5);
}
.admin-sidebar > * { position: relative; z-index: 1; }

/* ---------- BRAND ---------- */
.admin-brand .eyebrow {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: .16em;
}
.admin-brand h1 {
    font-size: 30px;
    letter-spacing: -.06em;
    color: #f5f8ff;
}
.admin-brand h1 em {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
}
.admin-brand p {
    color: #94a3b8;
    line-height: 1.7;
}

/* ---------- ADMIN NAV ---------- */
.admin-nav > a {
    position: relative;
    border-radius: 13px;
    color: #b8c5d9;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.05);
    overflow: hidden;
    transition: all .28s cubic-bezier(.2,.8,.2,1);
}
.admin-nav > a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(96,165,250,.14), transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s ease;
}
.admin-nav > a:hover::before { transform: translateX(100%); }
.admin-nav > a > span {
    color: #64748b;
    font-weight: 700;
    transition: color .25s;
}
.admin-nav > a:hover,
.admin-nav > a.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(59,130,246,.22), rgba(139,92,246,.14));
    border-color: rgba(96,165,250,.42);
    transform: translateX(4px);
    box-shadow:
        0 10px 28px rgba(59,130,246,.22),
        0 0 0 1px rgba(96,165,250,.18) inset;
}
.admin-nav > a:hover > span,
.admin-nav > a.active > span { color: #93c5fd; }
.admin-nav > a.active::after {
    content: "";
    position: absolute;
    left: 0; top: 22%; bottom: 22%;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #60a5fa, #a78bfa);
    box-shadow: 0 0 14px rgba(96,165,250,.8);
}
.admin-nav > a > b {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 99px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font: 700 10px/1 'Space Grotesk';
    box-shadow: 0 4px 12px rgba(239,68,68,.4);
    animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%,100% { box-shadow: 0 4px 12px rgba(239,68,68,.4); }
    50% { box-shadow: 0 4px 20px rgba(239,68,68,.7); }
}

/* ---------- ADMIN TITLE ---------- */
.admin-title {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(116,171,246,.14);
    position: relative;
}
.admin-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 90px; height: 2px;
    background: linear-gradient(90deg, #3b82f6, #a78bfa, transparent);
    box-shadow: 0 0 12px rgba(96,165,250,.5);
}
.admin-title h2 {
    font-size: 34px;
    letter-spacing: -.055em;
    background: linear-gradient(135deg, #f5f8ff 30%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.admin-online {
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(16,185,129,.14), rgba(16,185,129,.05));
    border: 1px solid rgba(16,185,129,.35);
    color: #34d399;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    box-shadow: 0 0 20px rgba(16,185,129,.15);
}
.admin-online i {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16,185,129,.9);
    animation: online-pulse 1.8s ease-in-out infinite;
}
@keyframes online-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: .65; }
}

/* ---------- COMMAND BAR ---------- */
.admin-commandbar {
    background: linear-gradient(120deg, rgba(59,130,246,.10), rgba(139,92,246,.06), rgba(34,211,238,.05));
    border: 1px solid rgba(116,171,246,.20);
    border-radius: 15px;
    box-shadow:
        0 12px 34px rgba(0,0,0,.25),
        0 1px 0 rgba(255,255,255,.06) inset;
    backdrop-filter: blur(14px);
}
.admin-commandbar > span {
    color: #8b9bb5;
}
.admin-commandbar > span i {
    background: #22d3ee;
    box-shadow: 0 0 12px rgba(34,211,238,.9);
    animation: dot-blink 1.4s ease-in-out infinite;
}
@keyframes dot-blink { 50% { opacity: .35; } }
.admin-commandbar a {
    background: rgba(255,255,255,.035);
    border-color: rgba(116,171,246,.22);
    color: #c7d5ea;
    transition: all .24s ease;
}
.admin-commandbar a:hover {
    background: linear-gradient(135deg, rgba(59,130,246,.20), rgba(139,92,246,.12));
    border-color: rgba(96,165,250,.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(59,130,246,.24);
}
.admin-commandbar a b {
    background: linear-gradient(135deg, rgba(96,165,250,.4), rgba(168,85,247,.35));
    color: #e0e7ff;
}

/* ---------- KPI GRID ---------- */
.admin-kpi-grid article {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(30,41,59,.9), rgba(15,23,42,.95));
    border: 1px solid rgba(116,171,246,.18);
    border-radius: 20px;
    box-shadow:
        0 20px 50px rgba(0,0,0,.35),
        0 1px 0 rgba(255,255,255,.06) inset;
    transition: all .35s cubic-bezier(.2,.8,.2,1);
}
.admin-kpi-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(96,165,250,.20), transparent 55%);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
}
.admin-kpi-grid article::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, #a78bfa, transparent);
    opacity: .7;
}
.admin-kpi-grid article:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(96,165,250,.5);
    box-shadow:
        0 32px 70px rgba(0,0,0,.5),
        0 0 0 1px rgba(96,165,250,.28) inset,
        0 0 40px rgba(59,130,246,.2);
}
.admin-kpi-grid article:hover::before { opacity: 1; }
.admin-kpi-grid article span {
    color: #94a3b8;
    letter-spacing: .16em;
}
.admin-kpi-grid article strong {
    font-size: 36px;
    background: linear-gradient(135deg, #fff 40%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 24px rgba(147,197,253,.2);
}

/* ---------- PANELS ---------- */
.admin-panel,
.admin-overview-grid > .panel,
.admin-note-panel {
    background: linear-gradient(155deg, rgba(23,29,40,.92), rgba(11,15,22,.96)) !important;
    border: 1px solid rgba(116,171,246,.16) !important;
    border-radius: 22px !important;
    box-shadow:
        0 24px 60px rgba(0,0,0,.42),
        0 1px 0 rgba(255,255,255,.05) inset !important;
    backdrop-filter: blur(18px);
    transition: border-color .3s, box-shadow .3s, transform .3s;
}
.admin-panel:hover {
    border-color: rgba(96,165,250,.32) !important;
    box-shadow:
        0 30px 70px rgba(0,0,0,.5),
        0 0 0 1px rgba(96,165,250,.14) inset,
        0 0 40px rgba(59,130,246,.08) !important;
}
.panel-heading {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(116,171,246,.12);
    margin-bottom: 18px;
}
.panel-heading h3 {
    background: linear-gradient(135deg, #fff 50%, #c7d5ea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 19px;
    letter-spacing: -.02em;
}
.panel-index {
    padding: 5px 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(139,92,246,.12));
    border: 1px solid rgba(96,165,250,.28);
    color: #93c5fd;
    font: 700 11px 'Space Grotesk';
    box-shadow: 0 0 16px rgba(96,165,250,.14);
}

/* ---------- TASK FORM ---------- */
.task-builder {
    position: relative;
    background:
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(96,165,250,.10), transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(168,85,247,.08), transparent 55%),
        linear-gradient(155deg, rgba(23,29,40,.94), rgba(11,15,22,.97)) !important;
    border: 1px solid rgba(116,171,246,.24) !important;
    overflow: hidden;
}
.task-builder::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #a78bfa, #22d3ee, #3b82f6);
    background-size: 300% 100%;
    animation: grad-shift 6s linear infinite;
}
@keyframes grad-shift {
    0% { background-position: 0% 0; }
    100% { background-position: 300% 0; }
}
.admin-form-grid.task-form {
    gap: 20px;
}
.admin-form-grid.task-form .field label {
    color: #c7d5ea;
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 700;
}
.admin-form-grid.task-form .field label em {
    color: #f87171;
    text-shadow: 0 0 12px rgba(248,113,113,.6);
}
.admin-form-grid.task-form input,
.admin-form-grid.task-form textarea {
    padding: 15px 18px;
    border-radius: 14px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(116,171,246,.18);
    color: #f5f8ff;
    font-size: 15px;
    transition: all .28s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.admin-form-grid.task-form input:hover {
    border-color: rgba(96,165,250,.32);
    background: rgba(0,0,0,.45);
}
.admin-form-grid.task-form input:focus,
.admin-form-grid.task-form textarea:focus {
    outline: 0;
    border-color: #60a5fa;
    background: rgba(0,0,0,.55);
    box-shadow:
        0 0 0 4px rgba(96,165,250,.16),
        0 0 24px rgba(96,165,250,.24),
        0 1px 0 rgba(255,255,255,.06) inset;
    transform: translateY(-1px);
}
.admin-form-grid.task-form input::placeholder {
    color: #56647b;
}
.admin-form-grid.task-form .field small {
    color: #7f8ea8;
    font-size: 11.5px;
}
.admin-form-grid.task-form .form-actions {
    padding-top: 18px;
    border-top: 1px solid rgba(116,171,246,.12);
    margin-top: 10px;
    gap: 14px;
}

/* ---------- BUTTONS (upgrade) ---------- */
.btn-blue {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: 1px solid rgba(147,197,253,.32);
    box-shadow:
        0 12px 30px rgba(37,99,235,.35),
        0 1px 0 rgba(255,255,255,.2) inset;
    transition: all .28s cubic-bezier(.2,.8,.2,1);
}
.btn-blue::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35), transparent 70%);
    transform: translateX(-100%);
    transition: transform .55s ease;
}
.btn-blue:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    box-shadow:
        0 18px 44px rgba(59,130,246,.5),
        0 0 0 1px rgba(147,197,253,.4) inset,
        0 0 30px rgba(139,92,246,.35);
    transform: translateY(-3px) scale(1.01);
}
.btn-blue:hover::before { transform: translateX(100%); }
.btn-blue:active { transform: translateY(0) scale(.98); }

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: rgba(252,165,165,.32);
    color: #fff;
    box-shadow: 0 10px 26px rgba(220,38,38,.32);
}
.btn-danger:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 16px 38px rgba(239,68,68,.46);
    transform: translateY(-2px);
}

.btn-quiet {
    background: rgba(255,255,255,.04);
    border-color: rgba(116,171,246,.22);
    color: #c7d5ea;
}
.btn-quiet:hover {
    background: rgba(96,165,250,.12);
    border-color: rgba(96,165,250,.42);
    color: #fff;
}

.btn-outline {
    background: rgba(255,255,255,.02);
    border-color: rgba(116,171,246,.28);
    color: #c7d5ea;
}
.btn-outline:hover {
    background: rgba(96,165,250,.10);
    border-color: rgba(96,165,250,.5);
    color: #fff;
}

/* ---------- TABLES ---------- */
.table-scroll {
    border: 1px solid rgba(116,171,246,.16) !important;
    border-radius: 18px !important;
    background: rgba(0,0,0,.25);
    overflow: auto;
    box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.data-table thead th {
    background: linear-gradient(180deg, rgba(59,130,246,.14), rgba(59,130,246,.06));
    color: #93c5fd;
    border-bottom: 1px solid rgba(116,171,246,.22);
    letter-spacing: .14em;
    font-weight: 800;
    padding: 14px 16px;
}
.data-table tbody td {
    color: #dbe5f5;
    border-bottom: 1px solid rgba(116,171,246,.08);
    padding: 15px 16px;
    transition: background .2s;
}
.data-table tbody tr {
    transition: background .2s, transform .2s;
}
.data-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(59,130,246,.06), rgba(139,92,246,.04));
}
.data-table tbody td strong {
    color: #f5f8ff;
    font-weight: 600;
}
.cell-sub {
    color: #7f8ea8;
}

/* ---------- PILL STATUS ---------- */
.pill-status {
    padding: 5px 11px;
    border-radius: 999px;
    font: 700 10px 'Space Grotesk';
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid;
    box-shadow: 0 0 14px rgba(0,0,0,.2);
}
.pill-status.status-active,
.pill-status.status-approved,
.pill-status.status-success {
    background: linear-gradient(135deg, rgba(16,185,129,.22), rgba(16,185,129,.08));
    border-color: rgba(16,185,129,.42);
    color: #34d399;
    box-shadow: 0 0 18px rgba(16,185,129,.22);
}
.pill-status.status-pending,
.pill-status.status-started {
    background: linear-gradient(135deg, rgba(251,191,36,.22), rgba(251,191,36,.08));
    border-color: rgba(251,191,36,.42);
    color: #fbbf24;
    box-shadow: 0 0 18px rgba(251,191,36,.22);
}
.pill-status.status-rejected,
.pill-status.status-blocked,
.pill-status.status-closed {
    background: linear-gradient(135deg, rgba(239,68,68,.22), rgba(239,68,68,.08));
    border-color: rgba(239,68,68,.42);
    color: #f87171;
    box-shadow: 0 0 18px rgba(239,68,68,.22);
}

/* ---------- PILL MINI ---------- */
.pill-mini {
    padding: 3px 9px;
    border-radius: 99px;
    font: 700 10px 'Space Grotesk';
    letter-spacing: .04em;
}
.pill-mini.ok {
    background: linear-gradient(135deg, rgba(16,185,129,.2), rgba(16,185,129,.06));
    color: #34d399;
    box-shadow: 0 0 12px rgba(16,185,129,.18);
}
.pill-mini.wait {
    background: linear-gradient(135deg, rgba(251,191,36,.2), rgba(251,191,36,.06));
    color: #fbbf24;
    box-shadow: 0 0 12px rgba(251,191,36,.18);
}

/* ---------- CLAIM CARDS ---------- */
.claim-card {
    position: relative;
    background: linear-gradient(155deg, rgba(23,29,40,.92), rgba(11,15,22,.96));
    border: 1px solid rgba(116,171,246,.16);
    border-radius: 18px;
    box-shadow:
        0 16px 40px rgba(0,0,0,.32),
        0 1px 0 rgba(255,255,255,.04) inset;
    transition: all .3s cubic-bezier(.2,.8,.2,1);
    overflow: hidden;
}
.claim-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #a78bfa);
    opacity: .8;
}
.claim-card:hover {
    transform: translateY(-3px);
    border-color: rgba(96,165,250,.4);
    box-shadow:
        0 24px 60px rgba(0,0,0,.44),
        0 0 0 1px rgba(96,165,250,.18) inset,
        0 0 32px rgba(59,130,246,.16);
}
.proof-content {
    background: linear-gradient(120deg, rgba(59,130,246,.10), rgba(139,92,246,.06));
    border: 1px solid rgba(116,171,246,.18);
    border-radius: 12px;
    padding: 14px 16px;
}
.proof-content strong {
    color: #93c5fd;
    letter-spacing: .14em;
}
.proof-content p {
    color: #c7d5ea;
}

/* ---------- FORM INPUTS (generic) ---------- */
.review-form input,
.withdraw-review-form input,
.adjust-form input,
.adjust-form select {
    background: rgba(0,0,0,.4);
    border: 1px solid rgba(116,171,246,.2);
    color: #e0e7ff;
    border-radius: 10px;
    transition: all .24s;
}
.review-form input:focus,
.withdraw-review-form input:focus,
.adjust-form input:focus,
.adjust-form select:focus {
    outline: 0;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96,165,250,.18), 0 0 20px rgba(96,165,250,.2);
    background: rgba(0,0,0,.55);
}

/* ---------- QUICK ACTIONS ---------- */
.quick-actions a {
    background: linear-gradient(120deg, rgba(59,130,246,.08), rgba(139,92,246,.04));
    border-color: rgba(116,171,246,.2);
    color: #c7d5ea;
    border-radius: 12px;
    transition: all .28s cubic-bezier(.2,.8,.2,1);
    position: relative;
    overflow: hidden;
}
.quick-actions a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(96,165,250,.16), transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s;
}
.quick-actions a:hover {
    transform: translateX(6px);
    border-color: rgba(96,165,250,.5);
    color: #fff;
    background: linear-gradient(120deg, rgba(59,130,246,.2), rgba(139,92,246,.12));
    box-shadow: 0 8px 22px rgba(59,130,246,.24);
}
.quick-actions a:hover::before { transform: translateX(100%); }
.quick-actions b {
    color: #93c5fd;
}

/* ---------- ADMIN TOTAL ---------- */
.admin-total {
    font-size: 40px;
    background: linear-gradient(135deg, #34d399 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 28px rgba(52,211,153,.3);
    letter-spacing: -.02em;
}

/* ---------- LIGHT THEME OVERRIDES ---------- */
html[data-theme="light"] .admin-sidebar {
    background: linear-gradient(160deg, #ffffff, #f5f9ff) !important;
    border-color: #dbe7f5 !important;
    box-shadow: 0 20px 50px rgba(37,83,139,.12) !important;
}
html[data-theme="light"] .admin-sidebar::before { opacity: .35; }
html[data-theme="light"] .admin-brand h1 { color: #111827; }
html[data-theme="light"] .admin-brand p { color: #64748b; }
html[data-theme="light"] .admin-nav > a { color: #53657e; }
html[data-theme="light"] .admin-nav > a:hover,
html[data-theme="light"] .admin-nav > a.active {
    color: #1554b7;
    background: linear-gradient(135deg, #edf4ff, #e0ecff);
    border-color: #cfe0fb;
    box-shadow: 0 10px 24px rgba(37,100,184,.14);
}
html[data-theme="light"] .admin-nav > a > span { color: #94a3b8; }
html[data-theme="light"] .admin-title h2 {
    background: linear-gradient(135deg, #111827 30%, #1554b7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
html[data-theme="light"] .admin-panel,
html[data-theme="light"] .admin-overview-grid > .panel,
html[data-theme="light"] .admin-note-panel {
    background: linear-gradient(155deg, #ffffff, #f8fbff) !important;
    border-color: #e0e8f3 !important;
    box-shadow: 0 18px 44px rgba(37,83,139,.08) !important;
}
html[data-theme="light"] .admin-kpi-grid article {
    background: linear-gradient(155deg, #ffffff, #f5f9ff);
    border-color: #e0e8f3;
    box-shadow: 0 16px 40px rgba(37,83,139,.08);
}
html[data-theme="light"] .admin-kpi-grid article strong {
    background: linear-gradient(135deg, #172033 40%, #1554b7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
html[data-theme="light"] .task-builder {
    background:
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(96,165,250,.10), transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(168,85,247,.08), transparent 55%),
        linear-gradient(155deg, #ffffff, #f8fbff) !important;
    border-color: #cfe0fb !important;
}
html[data-theme="light"] .admin-form-grid.task-form .field label { color: #53657e; }
html[data-theme="light"] .admin-form-grid.task-form input,
html[data-theme="light"] .admin-form-grid.task-form textarea {
    background: #ffffff;
    border-color: #d8e1ee;
    color: #172033;
}
html[data-theme="light"] .admin-form-grid.task-form input:focus {
    border-color: #2677ef;
    box-shadow: 0 0 0 4px rgba(38,119,239,.14), 0 0 20px rgba(38,119,239,.16);
}
html[data-theme="light"] .table-scroll {
    background: #ffffff;
    border-color: #e0e8f3 !important;
}
html[data-theme="light"] .data-table thead th {
    background: linear-gradient(180deg, #f1f6fc, #e8f1fb);
    color: #1554b7;
    border-color: #dbe7f5;
}
html[data-theme="light"] .data-table tbody td {
    color: #172033;
    border-color: #eef3f9;
}
html[data-theme="light"] .data-table tbody tr:hover {
    background: linear-gradient(90deg, #f2f7ff, #f8f4ff);
}
html[data-theme="light"] .claim-card {
    background: linear-gradient(155deg, #ffffff, #f8fbff);
    border-color: #e0e8f3;
    box-shadow: 0 14px 34px rgba(37,83,139,.07);
}
html[data-theme="light"] .proof-content {
    background: linear-gradient(120deg, #eef5ff, #f3edff);
    border-color: #dbe7f5;
}
html[data-theme="light"] .proof-content strong { color: #1554b7; }
html[data-theme="light"] .proof-content p { color: #53657e; }
html[data-theme="light"] .admin-commandbar {
    background: linear-gradient(120deg, #eef5ff, #f8f4ff);
    border-color: #cfe0fb;
}
html[data-theme="light"] .admin-commandbar a {
    background: #fff;
    border-color: #dbe7f5;
    color: #53657e;
}
html[data-theme="light"] .admin-commandbar a:hover {
    background: linear-gradient(135deg, #edf4ff, #f0e8ff);
    border-color: #a9c8f5;
    color: #1554b7;
}
html[data-theme="light"] .btn-quiet,
html[data-theme="light"] .btn-outline {
    background: #fff;
    border-color: #d8e1ee;
    color: #1e293b;
}
html[data-theme="light"] .btn-quiet:hover,
html[data-theme="light"] .btn-outline:hover {
    background: #edf4ff;
    border-color: #a9c8f5;
    color: #1554b7;
}
html[data-theme="light"] .review-form input,
html[data-theme="light"] .withdraw-review-form input,
html[data-theme="light"] .adjust-form input,
html[data-theme="light"] .adjust-form select {
    background: #fff;
    border-color: #d8e1ee;
    color: #172033;
}
html[data-theme="light"] .admin-shell::before { opacity: .35; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .admin-shell::before,
    .admin-shell::after { display: none; }
    .admin-title h2 { font-size: 26px; }
    .admin-kpi-grid article strong { font-size: 28px; }
    .admin-total { font-size: 32px; }
}
@media (max-width: 600px) {
    .admin-nav > a:hover,
    .admin-nav > a.active { transform: none; }
    .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-actions a:hover { transform: none; }
    .admin-title::after { width: 60px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    .admin-nav > a,
    .admin-nav > a::before,
    .admin-kpi-grid article,
    .btn-blue,
    .btn-blue::before,
    .claim-card,
    .quick-actions a,
    .quick-actions a::before {
        transition: none !important;
        animation: none !important;
    }
    .task-builder::before { animation: none; }
    .admin-nav > a > b { animation: none; }
    .admin-online i { animation: none; }
    .admin-commandbar > span i { animation: none; }
}