/* ═══════════════════════════════════════════════════════════════════════ EduRecommender — Premium Glassmorphism Design System ═══════════════════════════════════════════════════════════════════════ */ /* ── Reset ──────────────────────────────────────────────────────────── */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } /* ── Design tokens ──────────────────────────────────────────────────── */ :root { --bg-page: #07070f; --bg-glass: rgba(18, 18, 40, 0.5); --bg-glass-strong: rgba(24, 24, 50, 0.72); --bg-glass-hover: rgba(30, 30, 60, 0.65); --glass-border: rgba(255, 255, 255, 0.06); --glass-border-hover: rgba(102, 126, 234, 0.3); --glass-blur: 20px; --text-primary: #eaeaf4; --text-secondary: #9a9ac4; --text-muted: #5e5e88; --accent-1: #667eea; --accent-2: #764ba2; --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); --accent-glow: rgba(102, 126, 234, 0.2); --pill-bg: rgba(102, 126, 234, 0.1); --pill-text: #8b9cf7; --tag-bg: rgba(102, 126, 234, 0.06); --tag-text: rgba(139, 156, 247, 0.65); --success: #34d399; --warning: #fbbf24; --error: #f87171; --info: #60a5fa; --reason-border: #8b5cf6; --reason-bg: rgba(139, 92, 246, 0.06); --radius-sm: 10px; --radius-md: 16px; --radius-lg: 22px; --radius-full: 9999px; --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1); } /* ── Global ─────────────────────────────────────────────────────────── */ html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: var(--font); background: var(--bg-page); color: var(--text-primary); min-height: 100vh; line-height: 1.5; overflow-x: hidden; } /* Subtle radial gradient behind the page */ body::before { content: ""; position: fixed; top: -40%; left: -20%; width: 140%; height: 140%; background: radial-gradient( ellipse at 25% 10%, rgba(102, 126, 234, 0.07) 0%, transparent 55% ), radial-gradient( ellipse at 75% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 55% ); pointer-events: none; z-index: 0; } #root { position: relative; z-index: 1; } /* ── Scrollbar ──────────────────────────────────────────────────────── */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(102, 126, 234, 0.25); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: rgba(102, 126, 234, 0.4); } /* ── Utility ────────────────────────────────────────────────────────── */ .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* ── Animations ─────────────────────────────────────────────────────── */ @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeSlideLeft { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }