/* static/css/style.css */

/* Core Body Settings */
body {
    background-color: #09090b; /* Deep slate background */
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Premium Glassmorphism */
.glass {
    background: rgba(15, 17, 26, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-panel {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.4) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gradients */
.gradient-text {
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
}

.gradient-bg-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.gradient-bg-danger {
    background: linear-gradient(135deg, #e11d48 0%, #ef4444 100%);
}

/* Premium Animations */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.2); }
    50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.6); }
    100% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.2); }
}

.animate-glow {
    animation: glow 3s infinite;
}

/* Table Row Hover (Premium Interaction) */
.table-row-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.table-row-hover:hover {
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px) scale(1.002);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Progress Bar (Glow) */
.prog-bar-fill {
    background: linear-gradient(90deg, #6366f1, #a855f7);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Loader Animation */
@keyframes loader {
    0% { width: 0%; opacity: 1; }
    90% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}
.animate-loader {
    animation: loader 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Neon Text Accents */
.text-neon-emerald {
    color: #34d399;
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}
.text-neon-crimson {
    color: #fb7185;
    text-shadow: 0 0 8px rgba(251, 113, 133, 0.4);
}
