/* Custom styles and animations for the User Management Dashboard */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #030712; /* Fallback */
    overflow-x: hidden;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.glass-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s ease-in-out;
}

.glass-input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
    background: rgba(0, 0, 0, 0.3);
}

/* Mesh Gradients Background */
.mesh-gradient-1 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.mesh-gradient-2 {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.mesh-gradient-3 {
    background: radial-gradient(circle, rgba(45, 212, 191, 0.1) 0%, rgba(0,0,0,0) 60%);
}

/* Custom switch active styling */
input:checked + .switch-bg {
    background-color: #8b5cf6;
}

input:checked + .switch-bg .switch-dot {
    transform: translateX(100%);
}

/* Console Glow */
.console-glow {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 0 15px rgba(139, 92, 246, 0.1);
}

/* Micro-animations */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.03); }
}

.pulse-indicator {
    animation: pulse-slow 2s infinite ease-in-out;
}
