/**
 * Zarnia Staff Dashboard - Custom Theme & Glow FX
 * Dark modern design with neon cyan / electric blue accents
 */

:root {
    --color-bg-dark: #070a13;
    --color-card-dark: rgba(15, 23, 42, 0.75);
    --color-border-dark: rgba(51, 65, 85, 0.4);
    --neon-cyan: #00f0ff;
    --neon-cyan-glow: rgba(0, 240, 255, 0.25);
    --neon-blue: #3b82f6;
    --neon-blue-glow: rgba(59, 130, 246, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0b0f19;
}

::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* Neon Glow Utilities */
.glow-cyan {
    box-shadow: 0 0 20px -3px var(--neon-cyan-glow);
}

.glow-cyan-sm {
    box-shadow: 0 0 10px -2px var(--neon-cyan-glow);
}

.glow-blue {
    box-shadow: 0 0 20px -3px var(--neon-blue-glow);
}

.glow-text-cyan {
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

/* Glassmorphism Cards */
.glass-panel {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5), 0 0 15px -3px rgba(0, 240, 255, 0.1);
}

/* Radial Gradient Background Mesh */
.bg-radial-mesh {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 60%);
}

/* Status Pulse Animation */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 4px #00f0ff);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.95);
        filter: drop-shadow(0 0 1px #00f0ff);
    }
}

.animate-pulse-glow {
    animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Skeleton Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #111827 25%, #1f2937 50%, #111827 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Micro-transitions */
.transition-smooth {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sanction Type Badges */
.badge-ban {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-kick {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.badge-mute {
    background: rgba(234, 179, 8, 0.12);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.badge-warn {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-unban, .badge-unmute {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Modal Backdrop Blur */
.modal-backdrop {
    background-color: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(8px);
}

/* ========================================================
   CUSTOM STYLED SELECT DROPDOWNS & INTERACTIVE SELECTORS
   ======================================================== */
select, .custom-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #0c1222 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300f0ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px !important;
    padding-right: 40px !important;
    border: 1px solid rgba(51, 65, 85, 0.7) !important;
    border-radius: 14px !important;
    color: #f1f5f9 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

select:hover, .custom-select:hover {
    border-color: rgba(0, 240, 255, 0.45) !important;
    background-color: #0f172a !important;
    box-shadow: 0 0 16px -2px rgba(0, 240, 255, 0.2) !important;
}

select:focus, .custom-select:focus {
    border-color: #00f0ff !important;
    outline: none !important;
    background-color: #0f172a !important;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.2), 0 0 20px -2px rgba(0, 240, 255, 0.35) !important;
}

/* Options dropdown styling */
select option {
    background-color: #070a13 !important;
    color: #f1f5f9 !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

select option:checked {
    background-color: #0e1e38 !important;
    color: #00f0ff !important;
    font-weight: 700 !important;
}

/* Custom interactive sanction type card buttons */
.sanction-type-pill {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.sanction-type-pill:hover {
    transform: translateY(-1.5px);
}

.sanction-type-pill.active {
    box-shadow: 0 0 16px -1px var(--active-glow, rgba(0, 240, 255, 0.4));
    border-color: var(--active-border, #00f0ff) !important;
}

/* Mobile responsive drawer animations */
#main-sidebar {
    will-change: transform;
}
