/* Custom styles for Rai Sikh Community Web App */

:root {
    /* Slate inversion variables (Dark Mode default) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --color-glass-bg: rgba(15, 23, 42, 0.45);
    --color-glass-hover: rgba(15, 23, 42, 0.55);
    --color-glass-border: rgba(255, 255, 255, 0.05);
}

html.light-theme {
    /* Slate inversion variables (Light Mode overrides) */
    --slate-50: #0f172a;
    --slate-100: #1e293b;
    --slate-200: #334155;
    --slate-300: #475569;
    --slate-400: #64748b;
    --slate-500: #94a3b8;
    --slate-600: #cbd5e1;
    --slate-700: #e2e8f0;
    --slate-800: #f1f5f9;
    --slate-900: #f8fafc;
    --slate-950: #ffffff;

    --color-glass-bg: rgba(241, 245, 249, 0.6);
    --color-glass-hover: rgba(241, 245, 249, 0.85);
    --color-glass-border: rgba(15, 23, 42, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism styling */
.glassmorphism {
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--color-glass-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.glassmorphism:hover {
    background: var(--color-glass-hover);
    border-color: rgba(20, 184, 166, 0.25);
}

/* Custom scrollbars for WebKit */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--slate-950);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-800);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate-700);
}

/* Micro-animations */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(20, 184, 166, 0.05);
    }
    50% {
        box-shadow: 0 0 35px rgba(20, 184, 166, 0.15);
    }
}

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

/* Utility to render small uppercase font sizing */
.text-xxs {
    font-size: 0.65rem;
}
