/* ===== ADMIN DASHBOARD CSS (HIGH CONTRAST & PREMIUM DARK SLATE) ===== */

:root {
    --bg-primary: #0a0f1d;
    --bg-secondary: #0f172a;
    --bg-card: #162033;
    --bg-card-elevated: #1e293b;
    --bg-card-hover: #233149;
    --border-color: rgba(148, 163, 184, 0.2);
    --border-bright: rgba(148, 163, 184, 0.35);
    
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --accent-green: #10b981;
    --accent-green-bright: #34d399;
    --accent-green-dim: rgba(16, 185, 129, 0.18);
    
    --accent-gold: #f59e0b;
    --accent-gold-bright: #fbbf24;
    --accent-gold-dim: rgba(245, 158, 11, 0.18);
    
    --accent-blue: #3b82f6;
    --accent-blue-bright: #60a5fa;
    --accent-blue-dim: rgba(59, 130, 246, 0.18);
    
    --accent-red: #f43f5e;
    --accent-red-bright: #fb7185;
    --accent-red-dim: rgba(244, 63, 94, 0.18);
    
    --accent-purple: #8b5cf6;
    --accent-purple-dim: rgba(139, 92, 246, 0.18);
    
    --sidebar-width: 250px;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(148, 163, 184, 0.12);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Be Vietnam Pro', 'Inter', 'Outfit', -apple-system, sans-serif;
    background: radial-gradient(circle at 50% 0%, #151e33 0%, #0b1120 50%, #060912 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== RUNE & COIN ICONS ===== */
.rune-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    fill: currentColor;
}
.rune-inline {
    width: 16px;
    height: 16px;
    vertical-align: -2px;
    fill: currentColor;
    display: inline-block;
}
.coin-icon {
    display: inline-block;
    vertical-align: -2px;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.4));
}

/* ===== LOADING ===== */
.admin-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 16px;
    color: var(--text-secondary);
}
.admin-loading-spinner {
    width: 44px; height: 44px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-green-bright);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ACCESS DENIED ===== */
.access-denied {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.denied-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 48px 40px;
    box-shadow: var(--shadow);
}
.denied-icon { font-size: 64px; display: block; margin-bottom: 16px; }
.denied-card h2 { color: var(--accent-red-bright); margin-bottom: 8px; font-family: 'Outfit', sans-serif; }
.denied-card p { color: var(--text-secondary); margin-bottom: 24px; }
.denied-link {
    color: var(--accent-green-bright);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s;
}
.denied-link:hover { opacity: 0.8; }

/* ===== LAYOUT ===== */
.admin-app {
    display: flex;
    min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.admin-sidebar {
    width: var(--sidebar-width);
    background: #0d1424;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}
.sidebar-brand {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}
.brand-star {
    font-size: 28px;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: starPulse 3s ease-in-out infinite;
}
@keyframes starPulse {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:0.7; transform:scale(1.1); }
}
.brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 2px;
    line-height: 1.2;
    background: linear-gradient(135deg, #34d399, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
}
.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(148, 163, 184, 0.15);
    transform: translateX(2px);
}
.nav-item.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.12));
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}
.nav-icon { 
    font-size: 18px; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-badge {
    position: absolute;
    right: 12px;
    background: var(--accent-red);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
}

.sidebar-footer {
    padding: 14px 10px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}
.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148, 163, 184, 0.1);
}
.admin-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid var(--accent-green-bright);
    object-fit: cover;
}
.admin-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ===== MAIN CONTENT ===== */
.admin-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 28px 36px;
    max-width: calc(100vw - var(--sidebar-width));
}

/* ===== HEADER ===== */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.admin-header h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 30px;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 14px;
    font-size: 14px;
    color: var(--text-muted);
    pointer-events: none;
}
.search-box input {
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-sm);
    padding: 10px 14px 10px 38px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 500;
    width: 250px;
    outline: none;
    transition: all 0.2s ease;
}
.search-box input:focus {
    border-color: var(--accent-green-bright);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
    background: var(--bg-card-elevated);
}
.search-box input::placeholder {
    color: var(--text-muted);
}
.filter-select {
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-select:focus {
    border-color: var(--accent-green-bright);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.filter-select option {
    background: var(--bg-secondary);
    color: #ffffff;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-bright);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.stat-icon {
    font-size: 30px;
    width: 58px; height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-card.accent-green .stat-icon { 
    background: var(--accent-green-dim); 
    border-color: rgba(16, 185, 129, 0.3);
}
.stat-card.accent-gold .stat-icon { 
    background: var(--accent-gold-dim); 
    border-color: rgba(245, 158, 11, 0.3);
}
.stat-card.accent-blue .stat-icon { 
    background: var(--accent-blue-dim); 
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-info { display: flex; flex-direction: column; }
.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}
.stat-card.accent-green .stat-value { color: var(--accent-green-bright); }
.stat-card.accent-gold .stat-value { color: var(--accent-gold-bright); }
.stat-card.accent-blue .stat-value { color: var(--accent-blue-bright); }

.stat-label {
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 6px;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
}
.quick-actions h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.action-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.action-btn {
    background: var(--bg-card-elevated);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-sm);
    padding: 12px 22px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.action-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-green-bright);
    color: var(--accent-green-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}
.action-btn.pulse {
    animation: btnPulse 1s ease;
    border-color: var(--accent-green-bright);
}
@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Live indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--accent-green-bright);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.live-dot {
    width: 8px; height: 8px;
    background: var(--accent-green-bright);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green-bright);
    animation: liveBlink 2s ease-in-out infinite;
}
@keyframes liveBlink {
    0%,100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== TABLE ===== */
.table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.user-table {
    width: 100%;
    border-collapse: collapse;
}
.user-table th {
    background: #111a2e;
    padding: 14px 18px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #cbd5e1;
    text-align: left;
    border-bottom: 1px solid var(--border-bright);
}
.user-table td {
    padding: 14px 18px;
    font-size: 13.5px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    vertical-align: middle;
}
.user-table tr:last-child td { border-bottom: none; }
.user-table tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

/* User cell */
.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.user-cell img {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.3);
    object-fit: cover;
}
.user-cell-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Plan badges */
.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.plan-badge.premium {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.5);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}
.plan-badge.trial {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}
.plan-badge.free {
    background: rgba(148, 163, 184, 0.16);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
}
.status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.45);
}
.status-badge.disabled {
    background: rgba(244, 63, 94, 0.2);
    color: #fda4af;
    border: 1px solid rgba(244, 63, 94, 0.45);
}
.status-badge.expired {
    background: rgba(245, 158, 11, 0.2);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.45);
}

/* Action buttons */
.btn-sm {
    background: var(--bg-card-elevated);
    border: 1px solid var(--border-bright);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-right: 4px;
}
.btn-sm:hover {
    border-color: var(--accent-green-bright);
    color: var(--accent-green-bright);
    background: var(--accent-green-dim);
    transform: translateY(-1px);
}
.btn-sm.danger:hover {
    border-color: var(--accent-red-bright);
    color: var(--accent-red-bright);
    background: var(--accent-red-dim);
    transform: translateY(-1px);
}
.btn-sm.upgrade {
    border-color: rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
}
.btn-sm.upgrade:hover {
    background: var(--accent-gold-dim);
    border-color: #fbbf24;
    transform: translateY(-1px);
}

/* Table empty state */
.table-empty {
    text-align: center;
    padding: 56px 20px;
    color: var(--text-muted);
}
.table-empty span { font-size: 44px; display: block; margin-bottom: 14px; }
.table-empty p { font-size: 15px; color: var(--text-secondary); font-weight: 600; }

/* ===== PENDING SECTION ===== */
.pending-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}
.pending-info h3 { 
    font-family: 'Outfit', sans-serif; 
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 6px; 
}
.pending-info p { 
    color: var(--text-secondary); 
    font-size: 13.5px; 
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.modal-card {
    background: #0f172a;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius);
    width: 560px;
    max-width: 92vw;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(148, 163, 184, 0.2);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform:translateY(20px); opacity:0; } to { transform:translateY(0); opacity:1; } }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    border-bottom: 1px solid var(--border-color);
    background: #141e34;
}
.modal-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}
.modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.15s;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.modal-body {
    padding: 26px;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: #162033;
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.detail-item label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.detail-item span {
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
}
.detail-item .mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent-blue-bright);
    word-break: break-all;
}

.modal-actions {
    padding: 18px 26px;
    border-top: 1px solid var(--border-color);
    background: #141e34;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.plan-select {
    background: #111827;
    border: 1px solid var(--border-bright);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
.plan-select option {
    background: #111827;
    color: #ffffff;
}
.btn-action {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}
.btn-action.save {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.btn-action.save:hover { 
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}
.btn-action.toggle {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.5);
    color: #fda4af;
}
.btn-action.toggle:hover {
    background: var(--accent-red);
    color: #ffffff;
}

/* Delete button in modal */
.btn-action.delete {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.5);
    color: #fda4af;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-action.delete:hover {
    background: var(--accent-red);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.4);
}
.modal-actions-spacer {
    flex: 1;
}

/* Cancel button */
.btn-action.cancel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-bright);
    color: var(--text-secondary);
}
.btn-action.cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Confirm delete button */
.btn-action.confirm-delete {
    background: var(--accent-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-action.confirm-delete:hover:not(:disabled) {
    background: #e11d48;
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.5);
    transform: translateY(-1px);
}
.btn-action.confirm-delete:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===== DELETE CONFIRMATION MODAL ===== */
.delete-confirm-card {
    max-width: 480px;
}
.delete-header h3 {
    color: var(--accent-red-bright);
}
.delete-warning {
    text-align: center;
}
.delete-warning-icon {
    font-size: 52px;
    margin-bottom: 14px;
    animation: deleteShake 0.6s ease-in-out;
}
@keyframes deleteShake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-8px); }
    30% { transform: translateX(8px); }
    45% { transform: translateX(-6px); }
    60% { transform: translateX(6px); }
    75% { transform: translateX(-3px); }
    90% { transform: translateX(3px); }
}
.delete-warning-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}
.delete-warning-text strong {
    color: var(--accent-red-bright);
}
.delete-user-info {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.35);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.delete-user-name {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}
.delete-user-email {
    font-size: 13.5px;
    color: #fecdd3;
    font-family: 'JetBrains Mono', monospace;
}
.delete-warning-detail {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.delete-items-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    text-align: left;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 8px 14px;
}
.delete-items-list li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.delete-items-list li:last-child {
    border-bottom: none;
}
.delete-confirm-input-wrapper {
    text-align: left;
}
.delete-confirm-input-wrapper label {
    display: block;
    font-size: 13.5px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
}
.delete-confirm-input-wrapper label strong {
    color: var(--accent-red-bright);
    font-weight: 800;
    letter-spacing: 1px;
}
.delete-confirm-input-wrapper input {
    width: 100%;
    background: #111827;
    border: 2px solid var(--border-bright);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    outline: none;
    transition: border-color 0.2s;
}
.delete-confirm-input-wrapper input:focus {
    border-color: var(--accent-red-bright);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2);
}
.delete-confirm-input-wrapper input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0;
}
.delete-actions {
    justify-content: flex-end;
    gap: 12px;
}

/* ===== QUEST MANAGEMENT ===== */
.quest-create-form {
    background: #162033;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 22px;
    margin-top: 18px;
    box-shadow: var(--shadow);
}
.quest-create-form h4 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}
.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}
.form-input {
    background: #111827;
    border: 1px solid var(--border-bright);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
    flex: 1;
    min-width: 0;
    transition: all 0.2s ease;
}
.form-input:focus {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    outline: none;
    background: #1a2234;
}
.form-input.small {
    max-width: 130px;
    flex: 0 0 130px;
}
textarea.form-input {
    resize: none;
    width: 100%;
    box-sizing: border-box;
}

/* ===== DP GRANT ===== */
.dp-grant-section {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
}
.dp-grant-section h4 {
    margin: 0 0 12px;
    color: #fcd34d;
    font-size: 14px;
    font-weight: 700;
}
.dp-grant-section .form-row {
    margin-bottom: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 64px;
    }
    .sidebar-brand .brand-text,
    .nav-item span:not(.nav-icon),
    .admin-name { display: none; }
    .admin-content {
        margin-left: 64px;
        padding: 18px;
    }
    .nav-item { justify-content: center; padding: 14px; }
    .nav-icon { font-size: 20px; }
    .nav-badge { right: 4px; top: 4px; font-size: 9px; padding: 2px 5px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .admin-header { flex-direction: column; align-items: flex-start; }
    .header-actions { width: 100%; }
    .search-box input { width: 100%; }
    .form-row { flex-direction: column; }
    .form-input.small { max-width: 100%; flex: 1; }
}
