/* Ultra Premium Dashboard Design - Serious, Visual, Beautiful */
:root {
    --bg-deep: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-sidebar: rgba(15, 23, 42, 0.95);
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: rgba(255, 255, 255, 0.03);
}

body {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Sidebar */
aside {
    background: var(--bg-sidebar) !important;
    border-right: 1px solid var(--glass-border) !important;
}

aside a {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
}

aside a:hover,
aside a.active {
    background: rgba(59, 130, 246, 0.1) !important;
    color: var(--text-primary) !important;
    border-left: 3px solid var(--accent-primary);
}

/* Header */
.glass-header {
    background: rgba(15, 23, 42, 0.8) !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary) !important;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.text-gray-500,
.text-gray-600 {
    color: var(--text-secondary) !important;
}

.text-gray-800 {
    color: var(--text-primary) !important;
}

/* Search Bar */
input[type="text"] {
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    border-radius: 30px !important;
    /* Rounded */
}

input[type="text"]:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

/* Stat Cards - Refined */
.stat-card-flutter {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8)) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    position: relative;
    overflow: hidden;
    border-radius: 32px !important;
    /* Rounded */
    padding: 45px !important;
    /* Increased padding again */
}

.stat-card-flutter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-card-flutter:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4) !important;
}

.stat-card-flutter:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.1), transparent 50%);
    pointer-events: none;
}

.stat-card-flutter .w-12 {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Badge Overrides */
.text-green-500.bg-green-50 {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
}

.text-yellow-500.bg-yellow-50 {
    background: rgba(234, 179, 8, 0.15) !important;
    color: #facc15 !important;
    border: 1px solid rgba(234, 179, 8, 0.2);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.1);
}

.text-green-500.bg-green-50,
.text-yellow-500.bg-yellow-50 {
    border-radius: 20px !important;
    /* Rounded */
}

/* Vault Usage Section */
.bg-white {
    background: var(--bg-card) !important;
    border: 1px solid var(--glass-border) !important;
}

.bg-gray-50 {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Progress Bar */
.bg-gray-100 {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Quick Access Buttons */
.bg-blue-50 {
    background: rgba(59, 130, 246, 0.1) !important;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.bg-purple-50 {
    background: rgba(139, 92, 246, 0.1) !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.bg-orange-50 {
    background: rgba(249, 115, 22, 0.1) !important;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.bg-green-50 {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.bg-blue-50,
.bg-purple-50,
.bg-orange-50,
.bg-green-50 {
    border-radius: 24px !important;
    /* Rounded */
}

.text-blue-600 {
    color: #60a5fa !important;
}

.text-purple-600 {
    color: #a78bfa !important;
}

.text-orange-600 {
    color: #fb923c !important;
}

.text-green-600 {
    color: #4ade80 !important;
}

/* Activity List */
.hover\:bg-gray-50:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

.border-gray-50,
.border-gray-100,
.border-gray-200 {
    border-color: var(--glass-border) !important;
}

/* FAB */
.fab-flutter {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px !important;
    /* Rounded */
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

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

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

/* Vault Usage & Activity */
.bg-white,
#recentActivity {
    border-radius: 32px !important;
    /* Rounded */
}