| |
| |
| |
| |
|
|
| |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap'); |
|
|
| |
| :root { |
| |
| --bg-primary: #0a0e1a; |
| --bg-secondary: #111827; |
| --bg-tertiary: #1a2236; |
| --bg-card: #1e2a3a; |
| --bg-card-hover: #243347; |
| --bg-glass: rgba(30, 42, 58, 0.7); |
| --bg-glass-strong: rgba(30, 42, 58, 0.9); |
| --bg-overlay: rgba(10, 14, 26, 0.85); |
|
|
| |
| --accent-primary: #6366f1; |
| --accent-primary-light: #818cf8; |
| --accent-primary-dark: #4f46e5; |
| --accent-secondary: #06b6d4; |
| --accent-secondary-light: #22d3ee; |
| --accent-success: #22c55e; |
| --accent-success-light: #4ade80; |
| --accent-warning: #f59e0b; |
| --accent-warning-light: #fbbf24; |
| --accent-danger: #ef4444; |
| --accent-danger-light: #f87171; |
| --accent-critical: #18181b; |
|
|
| |
| --text-primary: #f1f5f9; |
| --text-secondary: #94a3b8; |
| --text-tertiary: #64748b; |
| --text-muted: #475569; |
| --text-inverse: #0a0e1a; |
|
|
| |
| --density-low: #22c55e; |
| --density-moderate: #f59e0b; |
| --density-high: #ef4444; |
| --density-critical: #991b1b; |
|
|
| |
| --border-subtle: rgba(148, 163, 184, 0.1); |
| --border-medium: rgba(148, 163, 184, 0.2); |
| --border-strong: rgba(148, 163, 184, 0.3); |
| --border-accent: rgba(99, 102, 241, 0.4); |
|
|
| |
| --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%); |
| --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); |
| --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%); |
| --gradient-dark: linear-gradient(180deg, #0a0e1a 0%, #111827 100%); |
| --gradient-card: linear-gradient(145deg, #1e2a3a 0%, #162030 100%); |
| --gradient-glass: linear-gradient(145deg, rgba(30,42,58,0.8) 0%, rgba(22,32,48,0.6) 100%); |
|
|
| |
| --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3); |
| --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4); |
| --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5); |
| --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.6); |
| --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3); |
| --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.3); |
|
|
| |
| --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; |
| --font-mono: 'JetBrains Mono', 'Consolas', monospace; |
| --font-size-xs: 0.75rem; |
| --font-size-sm: 0.875rem; |
| --font-size-base: 1rem; |
| --font-size-lg: 1.125rem; |
| --font-size-xl: 1.25rem; |
| --font-size-2xl: 1.5rem; |
| --font-size-3xl: 1.875rem; |
| --font-size-4xl: 2.25rem; |
|
|
| |
| --space-1: 0.25rem; |
| --space-2: 0.5rem; |
| --space-3: 0.75rem; |
| --space-4: 1rem; |
| --space-5: 1.25rem; |
| --space-6: 1.5rem; |
| --space-8: 2rem; |
| --space-10: 2.5rem; |
| --space-12: 3rem; |
|
|
| |
| --radius-sm: 6px; |
| --radius-md: 10px; |
| --radius-lg: 14px; |
| --radius-xl: 20px; |
| --radius-full: 9999px; |
|
|
| |
| --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1); |
| --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1); |
| --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1); |
| --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1); |
|
|
| |
| --z-base: 1; |
| --z-dropdown: 100; |
| --z-sticky: 200; |
| --z-modal: 500; |
| --z-toast: 700; |
| --z-chatbot: 800; |
| --z-overlay: 900; |
| } |
|
|
| |
| [data-high-contrast="true"] { |
| --bg-primary: #000000; |
| --bg-secondary: #0a0a0a; |
| --bg-card: #1a1a1a; |
| --text-primary: #ffffff; |
| --text-secondary: #e0e0e0; |
| --border-subtle: rgba(255, 255, 255, 0.3); |
| --border-medium: rgba(255, 255, 255, 0.5); |
| } |
|
|
| |
| *, *::before, *::after { |
| box-sizing: border-box; |
| margin: 0; |
| padding: 0; |
| } |
|
|
| html { |
| font-size: 16px; |
| scroll-behavior: smooth; |
| -webkit-text-size-adjust: 100%; |
| } |
|
|
| [data-large-text="true"] html, |
| [data-large-text="true"] { |
| font-size: 20px; |
| } |
|
|
| body { |
| font-family: var(--font-family); |
| background: var(--bg-primary); |
| color: var(--text-primary); |
| line-height: 1.6; |
| min-height: 100vh; |
| -webkit-font-smoothing: antialiased; |
| -moz-osx-font-smoothing: grayscale; |
| overflow-x: hidden; |
| } |
|
|
| |
| .skip-link { |
| position: absolute; |
| top: -50px; |
| left: var(--space-4); |
| background: var(--accent-primary); |
| color: #fff; |
| padding: var(--space-3) var(--space-6); |
| border-radius: var(--radius-md); |
| z-index: 10000; |
| font-weight: 600; |
| text-decoration: none; |
| transition: top var(--transition-fast); |
| } |
|
|
| .skip-link:focus { |
| top: var(--space-4); |
| } |
|
|
| |
| :focus-visible { |
| outline: 3px solid var(--accent-primary-light); |
| outline-offset: 2px; |
| border-radius: var(--radius-sm); |
| } |
|
|
| |
| h1, h2, h3, h4, h5, h6 { |
| font-weight: 700; |
| line-height: 1.2; |
| color: var(--text-primary); |
| } |
|
|
| h1 { font-size: var(--font-size-4xl); letter-spacing: -0.02em; } |
| h2 { font-size: var(--font-size-3xl); letter-spacing: -0.01em; } |
| h3 { font-size: var(--font-size-2xl); } |
| h4 { font-size: var(--font-size-xl); } |
| h5 { font-size: var(--font-size-lg); } |
|
|
| p { color: var(--text-secondary); margin-bottom: var(--space-4); } |
|
|
| a { |
| color: var(--accent-primary-light); |
| text-decoration: none; |
| transition: color var(--transition-fast); |
| } |
|
|
| a:hover { color: var(--accent-secondary-light); } |
|
|
| |
| ::-webkit-scrollbar { width: 8px; height: 8px; } |
| ::-webkit-scrollbar-track { background: var(--bg-secondary); } |
| ::-webkit-scrollbar-thumb { |
| background: var(--bg-tertiary); |
| border-radius: var(--radius-full); |
| } |
| ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); } |
|
|
| |
| .page-wrapper { |
| display: flex; |
| min-height: 100vh; |
| } |
|
|
| .main-content { |
| flex: 1; |
| padding: var(--space-6); |
| max-width: 1400px; |
| margin: 0 auto; |
| width: 100%; |
| } |
|
|
| .content-grid { |
| display: grid; |
| gap: var(--space-6); |
| } |
|
|
| .grid-2 { grid-template-columns: repeat(2, 1fr); } |
| .grid-3 { grid-template-columns: repeat(3, 1fr); } |
| .grid-4 { grid-template-columns: repeat(4, 1fr); } |
|
|
| @media (max-width: 1024px) { |
| .grid-4 { grid-template-columns: repeat(2, 1fr); } |
| .grid-3 { grid-template-columns: repeat(2, 1fr); } |
| } |
|
|
| @media (max-width: 640px) { |
| .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } |
| .main-content { padding: var(--space-4); } |
| } |
|
|
| |
| .navbar { |
| background: var(--bg-glass-strong); |
| backdrop-filter: blur(20px); |
| -webkit-backdrop-filter: blur(20px); |
| border-bottom: 1px solid var(--border-subtle); |
| padding: var(--space-3) var(--space-6); |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| position: sticky; |
| top: 0; |
| z-index: var(--z-sticky); |
| } |
|
|
| .navbar-brand { |
| display: flex; |
| align-items: center; |
| gap: var(--space-3); |
| font-size: var(--font-size-xl); |
| font-weight: 800; |
| color: var(--text-primary); |
| text-decoration: none; |
| } |
|
|
| .navbar-brand .logo-icon { |
| font-size: 1.5rem; |
| background: var(--gradient-primary); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| background-clip: text; |
| } |
|
|
| .navbar-nav { |
| display: flex; |
| align-items: center; |
| gap: var(--space-4); |
| list-style: none; |
| } |
|
|
| .navbar-nav a { |
| display: flex; |
| align-items: center; |
| gap: var(--space-2); |
| color: var(--text-secondary); |
| font-weight: 500; |
| font-size: var(--font-size-sm); |
| padding: var(--space-2) var(--space-4); |
| border-radius: var(--radius-md); |
| transition: all var(--transition-base); |
| text-decoration: none; |
| min-height: 44px; |
| min-width: 44px; |
| justify-content: center; |
| } |
|
|
| .navbar-nav a:hover, |
| .navbar-nav a.active { |
| color: var(--text-primary); |
| background: var(--bg-card); |
| } |
|
|
| .navbar-nav a.active { |
| background: var(--accent-primary); |
| color: #fff; |
| } |
|
|
| .navbar-user { |
| display: flex; |
| align-items: center; |
| gap: var(--space-3); |
| } |
|
|
| .navbar-avatar { |
| width: 36px; |
| height: 36px; |
| border-radius: var(--radius-full); |
| background: var(--gradient-primary); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| font-weight: 700; |
| font-size: var(--font-size-sm); |
| color: #fff; |
| } |
|
|
| |
| .mobile-nav { |
| display: none; |
| position: fixed; |
| bottom: 0; |
| left: 0; |
| right: 0; |
| background: var(--bg-glass-strong); |
| backdrop-filter: blur(20px); |
| border-top: 1px solid var(--border-subtle); |
| padding: var(--space-2) var(--space-4); |
| z-index: var(--z-sticky); |
| } |
|
|
| .mobile-nav-items { |
| display: flex; |
| justify-content: space-around; |
| list-style: none; |
| } |
|
|
| .mobile-nav-items a { |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| gap: 2px; |
| color: var(--text-tertiary); |
| font-size: var(--font-size-xs); |
| font-weight: 500; |
| padding: var(--space-2); |
| border-radius: var(--radius-md); |
| transition: all var(--transition-fast); |
| text-decoration: none; |
| min-height: 44px; |
| min-width: 44px; |
| justify-content: center; |
| } |
|
|
| .mobile-nav-items a .nav-icon { |
| font-size: 1.25rem; |
| } |
|
|
| .mobile-nav-items a:hover, |
| .mobile-nav-items a.active { |
| color: var(--accent-primary-light); |
| } |
|
|
| @media (max-width: 768px) { |
| .navbar-nav { display: none; } |
| .mobile-nav { display: block; } |
| .main-content { padding-bottom: 80px; } |
| } |
|
|
| |
| .card { |
| background: var(--gradient-card); |
| border: 1px solid var(--border-subtle); |
| border-radius: var(--radius-lg); |
| padding: var(--space-6); |
| transition: all var(--transition-base); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .card::before { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: 0; |
| right: 0; |
| height: 2px; |
| background: var(--gradient-primary); |
| opacity: 0; |
| transition: opacity var(--transition-base); |
| } |
|
|
| .card:hover { |
| border-color: var(--border-medium); |
| box-shadow: var(--shadow-md); |
| transform: translateY(-1px); |
| } |
|
|
| .card:hover::before { |
| opacity: 1; |
| } |
|
|
| .card-header { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| margin-bottom: var(--space-4); |
| } |
|
|
| .card-title { |
| font-size: var(--font-size-lg); |
| font-weight: 600; |
| color: var(--text-primary); |
| } |
|
|
| .card-subtitle { |
| font-size: var(--font-size-sm); |
| color: var(--text-tertiary); |
| margin-top: var(--space-1); |
| } |
|
|
| .card-body { |
| color: var(--text-secondary); |
| } |
|
|
| |
| .stat-card { |
| background: var(--gradient-card); |
| border: 1px solid var(--border-subtle); |
| border-radius: var(--radius-lg); |
| padding: var(--space-5); |
| display: flex; |
| flex-direction: column; |
| gap: var(--space-2); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .stat-card .stat-icon { |
| font-size: 1.75rem; |
| margin-bottom: var(--space-1); |
| } |
|
|
| .stat-card .stat-value { |
| font-size: var(--font-size-3xl); |
| font-weight: 800; |
| line-height: 1; |
| background: var(--gradient-primary); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| background-clip: text; |
| } |
|
|
| .stat-card .stat-value.warning { |
| background: var(--gradient-warm); |
| -webkit-background-clip: text; |
| background-clip: text; |
| } |
|
|
| .stat-card .stat-label { |
| font-size: var(--font-size-sm); |
| color: var(--text-tertiary); |
| font-weight: 500; |
| } |
|
|
| .stat-card .stat-change { |
| font-size: var(--font-size-xs); |
| font-weight: 600; |
| } |
|
|
| .stat-card .stat-change.positive { color: var(--accent-success); } |
| .stat-card .stat-change.negative { color: var(--accent-danger); } |
|
|
| |
| .btn { |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| gap: var(--space-2); |
| padding: var(--space-3) var(--space-6); |
| font-family: var(--font-family); |
| font-size: var(--font-size-sm); |
| font-weight: 600; |
| border: 1px solid transparent; |
| border-radius: var(--radius-md); |
| cursor: pointer; |
| transition: all var(--transition-base); |
| text-decoration: none; |
| min-height: 44px; |
| min-width: 44px; |
| white-space: nowrap; |
| user-select: none; |
| } |
|
|
| .btn:active { transform: scale(0.97); } |
|
|
| .btn-primary { |
| background: var(--gradient-primary); |
| color: #fff; |
| border-color: transparent; |
| box-shadow: var(--shadow-sm), 0 0 0 0 rgba(99, 102, 241, 0); |
| } |
|
|
| .btn-primary:hover { |
| box-shadow: var(--shadow-md), var(--shadow-glow); |
| transform: translateY(-1px); |
| } |
|
|
| .btn-secondary { |
| background: var(--bg-card); |
| color: var(--text-secondary); |
| border-color: var(--border-medium); |
| } |
|
|
| .btn-secondary:hover { |
| background: var(--bg-card-hover); |
| color: var(--text-primary); |
| border-color: var(--border-strong); |
| } |
|
|
| .btn-success { |
| background: var(--accent-success); |
| color: #fff; |
| } |
|
|
| .btn-success:hover { |
| background: var(--accent-success-light); |
| box-shadow: 0 0 15px rgba(34, 197, 94, 0.3); |
| } |
|
|
| .btn-danger { |
| background: var(--accent-danger); |
| color: #fff; |
| } |
|
|
| .btn-danger:hover { |
| background: var(--accent-danger-light); |
| } |
|
|
| .btn-ghost { |
| background: transparent; |
| color: var(--text-secondary); |
| border-color: transparent; |
| } |
|
|
| .btn-ghost:hover { |
| background: var(--bg-card); |
| color: var(--text-primary); |
| } |
|
|
| .btn-sm { |
| padding: var(--space-2) var(--space-4); |
| font-size: var(--font-size-xs); |
| min-height: 36px; |
| } |
|
|
| .btn-lg { |
| padding: var(--space-4) var(--space-8); |
| font-size: var(--font-size-base); |
| } |
|
|
| .btn-block { width: 100%; } |
|
|
| .btn:disabled { |
| opacity: 0.5; |
| cursor: not-allowed; |
| transform: none !important; |
| } |
|
|
| |
| .form-group { |
| display: flex; |
| flex-direction: column; |
| gap: var(--space-2); |
| margin-bottom: var(--space-5); |
| } |
|
|
| .form-label { |
| font-size: var(--font-size-sm); |
| font-weight: 600; |
| color: var(--text-secondary); |
| } |
|
|
| .form-input { |
| padding: var(--space-3) var(--space-4); |
| background: var(--bg-secondary); |
| border: 1px solid var(--border-medium); |
| border-radius: var(--radius-md); |
| color: var(--text-primary); |
| font-family: var(--font-family); |
| font-size: var(--font-size-base); |
| transition: all var(--transition-fast); |
| min-height: 44px; |
| } |
|
|
| .form-input:focus { |
| outline: none; |
| border-color: var(--accent-primary); |
| box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); |
| } |
|
|
| .form-input::placeholder { |
| color: var(--text-muted); |
| } |
|
|
| |
| .badge { |
| display: inline-flex; |
| align-items: center; |
| gap: var(--space-1); |
| padding: var(--space-1) var(--space-3); |
| font-size: var(--font-size-xs); |
| font-weight: 600; |
| border-radius: var(--radius-full); |
| white-space: nowrap; |
| } |
|
|
| .badge-low { background: rgba(34,197,94,0.15); color: var(--density-low); } |
| .badge-moderate { background: rgba(245,158,11,0.15); color: var(--density-moderate); } |
| .badge-high { background: rgba(239,68,68,0.15); color: var(--density-high); } |
| .badge-critical { background: rgba(153,27,27,0.2); color: #fca5a5; } |
| .badge-info { background: rgba(59,130,246,0.15); color: #60a5fa; } |
|
|
| |
| .progress { |
| width: 100%; |
| height: 8px; |
| background: var(--bg-secondary); |
| border-radius: var(--radius-full); |
| overflow: hidden; |
| position: relative; |
| } |
|
|
| .progress-bar { |
| height: 100%; |
| border-radius: var(--radius-full); |
| transition: width var(--transition-slow); |
| position: relative; |
| } |
|
|
| .progress-bar.low { background: var(--density-low); } |
| .progress-bar.moderate { background: var(--density-moderate); } |
| .progress-bar.high { background: var(--density-high); } |
| .progress-bar.critical { background: var(--density-critical); } |
|
|
| .progress-bar::after { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: 0; |
| right: 0; |
| bottom: 0; |
| background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); |
| animation: shimmer 2s infinite; |
| } |
|
|
| @keyframes shimmer { |
| 0% { transform: translateX(-100%); } |
| 100% { transform: translateX(100%); } |
| } |
|
|
| |
| .toast-container { |
| position: fixed; |
| top: var(--space-6); |
| right: var(--space-6); |
| z-index: var(--z-toast); |
| display: flex; |
| flex-direction: column; |
| gap: var(--space-3); |
| max-width: 400px; |
| } |
|
|
| .toast { |
| background: var(--bg-glass-strong); |
| backdrop-filter: blur(20px); |
| border: 1px solid var(--border-medium); |
| border-radius: var(--radius-lg); |
| padding: var(--space-4) var(--space-5); |
| display: flex; |
| align-items: flex-start; |
| gap: var(--space-3); |
| animation: slideInRight var(--transition-spring) forwards; |
| box-shadow: var(--shadow-lg); |
| } |
|
|
| .toast.info { border-left: 3px solid #3b82f6; } |
| .toast.success { border-left: 3px solid var(--accent-success); } |
| .toast.warning { border-left: 3px solid var(--accent-warning); } |
| .toast.error { border-left: 3px solid var(--accent-danger); } |
|
|
| @keyframes slideInRight { |
| from { transform: translateX(100%); opacity: 0; } |
| to { transform: translateX(0); opacity: 1; } |
| } |
|
|
| @keyframes slideOut { |
| from { transform: translateX(0); opacity: 1; } |
| to { transform: translateX(100%); opacity: 0; } |
| } |
|
|
| .toast-icon { font-size: 1.25rem; flex-shrink: 0; } |
| .toast-body { flex: 1; } |
| .toast-title { font-weight: 600; font-size: var(--font-size-sm); color: var(--text-primary); } |
| .toast-message { font-size: var(--font-size-xs); color: var(--text-secondary); margin-top: 2px; } |
|
|
| .toast-close { |
| background: none; |
| border: none; |
| color: var(--text-tertiary); |
| cursor: pointer; |
| font-size: 1.25rem; |
| padding: var(--space-1); |
| min-height: 44px; |
| min-width: 44px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
|
|
| |
| .density-dot { |
| width: 12px; |
| height: 12px; |
| border-radius: var(--radius-full); |
| display: inline-block; |
| flex-shrink: 0; |
| } |
|
|
| .density-dot.low { background: var(--density-low); box-shadow: 0 0 8px rgba(34,197,94,0.5); } |
| .density-dot.moderate { background: var(--density-moderate); box-shadow: 0 0 8px rgba(245,158,11,0.5); } |
| .density-dot.high { background: var(--density-high); box-shadow: 0 0 8px rgba(239,68,68,0.5); animation: pulse-dot 2s infinite; } |
| .density-dot.critical { background: var(--density-critical); box-shadow: 0 0 8px rgba(153,27,27,0.5); animation: pulse-dot 1s infinite; } |
|
|
| @keyframes pulse-dot { |
| 0%, 100% { transform: scale(1); opacity: 1; } |
| 50% { transform: scale(1.3); opacity: 0.7; } |
| } |
|
|
| |
| .spinner { |
| width: 24px; |
| height: 24px; |
| border: 3px solid var(--border-medium); |
| border-top-color: var(--accent-primary); |
| border-radius: var(--radius-full); |
| animation: spin 0.8s linear infinite; |
| } |
|
|
| @keyframes spin { |
| to { transform: rotate(360deg); } |
| } |
|
|
| .loading-overlay { |
| position: absolute; |
| inset: 0; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| background: var(--bg-overlay); |
| border-radius: inherit; |
| z-index: var(--z-base); |
| } |
|
|
| |
| .chatbot-toggle { |
| position: fixed; |
| bottom: 90px; |
| right: var(--space-6); |
| width: 56px; |
| height: 56px; |
| border-radius: var(--radius-full); |
| background: var(--gradient-primary); |
| color: #fff; |
| border: none; |
| font-size: 1.5rem; |
| cursor: pointer; |
| box-shadow: var(--shadow-lg), var(--shadow-glow); |
| z-index: var(--z-chatbot); |
| transition: all var(--transition-base); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
|
|
| .chatbot-toggle:hover { |
| transform: scale(1.1); |
| box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.5); |
| } |
|
|
| .chatbot-window { |
| position: fixed; |
| bottom: 160px; |
| right: var(--space-6); |
| width: 380px; |
| max-height: 500px; |
| background: var(--bg-secondary); |
| border: 1px solid var(--border-medium); |
| border-radius: var(--radius-xl); |
| box-shadow: var(--shadow-xl); |
| z-index: var(--z-chatbot); |
| display: flex; |
| flex-direction: column; |
| overflow: hidden; |
| opacity: 0; |
| transform: translateY(20px) scale(0.95); |
| pointer-events: none; |
| transition: all var(--transition-spring); |
| } |
|
|
| .chatbot-window.open { |
| opacity: 1; |
| transform: translateY(0) scale(1); |
| pointer-events: all; |
| } |
|
|
| .chatbot-header { |
| background: var(--gradient-primary); |
| padding: var(--space-4) var(--space-5); |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| color: #fff; |
| } |
|
|
| .chatbot-header h4 { font-size: var(--font-size-base); color: #fff; } |
|
|
| .chatbot-messages { |
| flex: 1; |
| overflow-y: auto; |
| padding: var(--space-4); |
| display: flex; |
| flex-direction: column; |
| gap: var(--space-3); |
| min-height: 250px; |
| } |
|
|
| .chat-message { |
| max-width: 85%; |
| padding: var(--space-3) var(--space-4); |
| border-radius: var(--radius-lg); |
| font-size: var(--font-size-sm); |
| line-height: 1.5; |
| animation: fadeInUp 0.3s ease; |
| } |
|
|
| @keyframes fadeInUp { |
| from { transform: translateY(10px); opacity: 0; } |
| to { transform: translateY(0); opacity: 1; } |
| } |
|
|
| .chat-message.user { |
| align-self: flex-end; |
| background: var(--accent-primary); |
| color: #fff; |
| border-bottom-right-radius: var(--radius-sm); |
| } |
|
|
| .chat-message.bot { |
| align-self: flex-start; |
| background: var(--bg-card); |
| color: var(--text-primary); |
| border-bottom-left-radius: var(--radius-sm); |
| } |
|
|
| .chat-suggestions { |
| display: flex; |
| flex-wrap: wrap; |
| gap: var(--space-2); |
| padding: var(--space-2) var(--space-4); |
| } |
|
|
| .chat-suggestion { |
| font-size: var(--font-size-xs); |
| padding: var(--space-2) var(--space-3); |
| background: var(--bg-card); |
| border: 1px solid var(--border-subtle); |
| border-radius: var(--radius-full); |
| cursor: pointer; |
| color: var(--text-secondary); |
| transition: all var(--transition-fast); |
| white-space: nowrap; |
| } |
|
|
| .chat-suggestion:hover { |
| background: var(--accent-primary); |
| color: #fff; |
| border-color: var(--accent-primary); |
| } |
|
|
| .chatbot-input { |
| display: flex; |
| gap: var(--space-2); |
| padding: var(--space-3) var(--space-4); |
| border-top: 1px solid var(--border-subtle); |
| } |
|
|
| .chatbot-input input { |
| flex: 1; |
| padding: var(--space-3); |
| background: var(--bg-card); |
| border: 1px solid var(--border-subtle); |
| border-radius: var(--radius-md); |
| color: var(--text-primary); |
| font-family: var(--font-family); |
| font-size: var(--font-size-sm); |
| min-height: 44px; |
| } |
|
|
| .chatbot-input input:focus { |
| outline: none; |
| border-color: var(--accent-primary); |
| } |
|
|
| .chatbot-input button { |
| width: 44px; |
| height: 44px; |
| border-radius: var(--radius-md); |
| background: var(--accent-primary); |
| color: #fff; |
| border: none; |
| font-size: 1.1rem; |
| cursor: pointer; |
| transition: all var(--transition-fast); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
|
|
| .chatbot-input button:hover { |
| background: var(--accent-primary-dark); |
| } |
|
|
| |
| .typing-indicator { |
| display: flex; |
| gap: 4px; |
| padding: var(--space-3) var(--space-4); |
| align-items: center; |
| } |
|
|
| .typing-indicator span { |
| width: 8px; |
| height: 8px; |
| background: var(--text-tertiary); |
| border-radius: var(--radius-full); |
| animation: typingBounce 1.4s ease infinite; |
| } |
|
|
| .typing-indicator span:nth-child(2) { animation-delay: 0.2s; } |
| .typing-indicator span:nth-child(3) { animation-delay: 0.4s; } |
|
|
| @keyframes typingBounce { |
| 0%, 60%, 100% { transform: translateY(0); } |
| 30% { transform: translateY(-6px); } |
| } |
|
|
| |
| .map-container { |
| width: 100%; |
| height: 500px; |
| border-radius: var(--radius-lg); |
| overflow: hidden; |
| border: 1px solid var(--border-subtle); |
| } |
|
|
| @media (max-width: 640px) { |
| .map-container { height: 350px; } |
| } |
|
|
| |
| .queue-card { |
| background: var(--gradient-card); |
| border: 1px solid var(--border-subtle); |
| border-radius: var(--radius-lg); |
| padding: var(--space-5); |
| display: flex; |
| align-items: center; |
| gap: var(--space-4); |
| transition: all var(--transition-base); |
| } |
|
|
| .queue-card:hover { |
| border-color: var(--border-medium); |
| box-shadow: var(--shadow-md); |
| } |
|
|
| .queue-icon { |
| font-size: 2rem; |
| width: 48px; |
| height: 48px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| background: var(--bg-secondary); |
| border-radius: var(--radius-md); |
| } |
|
|
| .queue-details { flex: 1; } |
| .queue-name { font-weight: 600; font-size: var(--font-size-base); color: var(--text-primary); } |
| .queue-meta { font-size: var(--font-size-sm); color: var(--text-tertiary); } |
| .queue-wait { |
| text-align: right; |
| font-weight: 700; |
| font-size: var(--font-size-xl); |
| } |
|
|
| |
| .phase-badge { |
| display: inline-flex; |
| align-items: center; |
| gap: var(--space-2); |
| padding: var(--space-2) var(--space-4); |
| background: var(--bg-card); |
| border: 1px solid var(--border-accent); |
| border-radius: var(--radius-full); |
| font-size: var(--font-size-sm); |
| font-weight: 600; |
| color: var(--accent-primary-light); |
| } |
|
|
| .phase-badge .phase-dot { |
| width: 8px; |
| height: 8px; |
| border-radius: var(--radius-full); |
| background: var(--accent-primary); |
| animation: pulse-dot 2s infinite; |
| } |
|
|
| |
| .auth-page { |
| min-height: 100vh; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| background: var(--gradient-dark); |
| padding: var(--space-6); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .auth-page::before { |
| content: ''; |
| position: absolute; |
| top: -50%; |
| left: -50%; |
| width: 200%; |
| height: 200%; |
| background: radial-gradient(ellipse at 30% 20%, rgba(99,102,241,0.08) 0%, transparent 50%), |
| radial-gradient(ellipse at 70% 80%, rgba(6,182,212,0.06) 0%, transparent 50%); |
| animation: auroraShift 20s ease infinite alternate; |
| } |
|
|
| @keyframes auroraShift { |
| 0% { transform: translate(0, 0) rotate(0deg); } |
| 100% { transform: translate(-5%, 5%) rotate(3deg); } |
| } |
|
|
| .auth-card { |
| background: var(--bg-glass); |
| backdrop-filter: blur(30px); |
| border: 1px solid var(--border-subtle); |
| border-radius: var(--radius-xl); |
| padding: var(--space-10); |
| width: 100%; |
| max-width: 440px; |
| position: relative; |
| z-index: 1; |
| box-shadow: var(--shadow-xl); |
| } |
|
|
| .auth-card h1 { |
| font-size: var(--font-size-2xl); |
| text-align: center; |
| margin-bottom: var(--space-2); |
| } |
|
|
| .auth-card .auth-subtitle { |
| text-align: center; |
| color: var(--text-tertiary); |
| margin-bottom: var(--space-8); |
| font-size: var(--font-size-sm); |
| } |
|
|
| .auth-footer { |
| text-align: center; |
| margin-top: var(--space-6); |
| font-size: var(--font-size-sm); |
| color: var(--text-tertiary); |
| } |
|
|
| |
| .flash-messages { |
| margin-bottom: var(--space-4); |
| } |
|
|
| .flash-msg { |
| padding: var(--space-3) var(--space-4); |
| border-radius: var(--radius-md); |
| font-size: var(--font-size-sm); |
| font-weight: 500; |
| margin-bottom: var(--space-2); |
| } |
|
|
| .flash-msg.success { background: rgba(34,197,94,0.15); color: var(--accent-success-light); border: 1px solid rgba(34,197,94,0.2); } |
| .flash-msg.error { background: rgba(239,68,68,0.15); color: var(--accent-danger-light); border: 1px solid rgba(239,68,68,0.2); } |
| .flash-msg.warning { background: rgba(245,158,11,0.15); color: var(--accent-warning-light); border: 1px solid rgba(245,158,11,0.2); } |
| .flash-msg.info { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.2); } |
|
|
| |
| .hero-banner { |
| background: var(--gradient-primary); |
| border-radius: var(--radius-xl); |
| padding: var(--space-8) var(--space-10); |
| margin-bottom: var(--space-6); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .hero-banner::after { |
| content: ''; |
| position: absolute; |
| top: -50%; |
| right: -20%; |
| width: 300px; |
| height: 300px; |
| background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); |
| border-radius: 50%; |
| } |
|
|
| .hero-banner h2 { color: #fff; font-size: var(--font-size-2xl); margin-bottom: var(--space-2); } |
| .hero-banner p { color: rgba(255,255,255,0.8); margin-bottom: 0; } |
|
|
| .hero-event-info { |
| display: flex; |
| gap: var(--space-6); |
| margin-top: var(--space-4); |
| flex-wrap: wrap; |
| } |
|
|
| .hero-event-info .event-detail { |
| display: flex; |
| align-items: center; |
| gap: var(--space-2); |
| color: rgba(255,255,255,0.9); |
| font-size: var(--font-size-sm); |
| font-weight: 500; |
| } |
|
|
| |
| .zone-list { |
| display: flex; |
| flex-direction: column; |
| gap: var(--space-3); |
| } |
|
|
| .zone-item { |
| display: flex; |
| align-items: center; |
| gap: var(--space-4); |
| padding: var(--space-3) var(--space-4); |
| background: var(--bg-card); |
| border-radius: var(--radius-md); |
| border: 1px solid var(--border-subtle); |
| transition: all var(--transition-fast); |
| } |
|
|
| .zone-item:hover { |
| border-color: var(--border-medium); |
| background: var(--bg-card-hover); |
| } |
|
|
| .zone-info { flex: 1; } |
| .zone-name { font-weight: 600; font-size: var(--font-size-sm); } |
| .zone-type { font-size: var(--font-size-xs); color: var(--text-tertiary); text-transform: capitalize; } |
| .zone-occupancy { text-align: right; font-size: var(--font-size-sm); font-weight: 600; } |
|
|
| |
| .data-table { |
| width: 100%; |
| border-collapse: separate; |
| border-spacing: 0; |
| } |
|
|
| .data-table th { |
| text-align: left; |
| padding: var(--space-3) var(--space-4); |
| font-size: var(--font-size-xs); |
| font-weight: 600; |
| color: var(--text-tertiary); |
| text-transform: uppercase; |
| letter-spacing: 0.05em; |
| border-bottom: 1px solid var(--border-subtle); |
| } |
|
|
| .data-table td { |
| padding: var(--space-3) var(--space-4); |
| font-size: var(--font-size-sm); |
| border-bottom: 1px solid var(--border-subtle); |
| } |
|
|
| .data-table tr:hover td { |
| background: var(--bg-card); |
| } |
|
|
| |
| @media (prefers-reduced-motion: reduce) { |
| *, *::before, *::after { |
| animation-duration: 0.01ms !important; |
| animation-iteration-count: 1 !important; |
| transition-duration: 0.01ms !important; |
| } |
| } |
|
|
| [data-reduced-motion="true"] *, |
| [data-reduced-motion="true"] *::before, |
| [data-reduced-motion="true"] *::after { |
| animation-duration: 0.01ms !important; |
| animation-iteration-count: 1 !important; |
| transition-duration: 0.01ms !important; |
| } |
|
|
| |
| .text-center { text-align: center; } |
| .text-right { text-align: right; } |
| .mt-4 { margin-top: var(--space-4); } |
| .mt-6 { margin-top: var(--space-6); } |
| .mb-4 { margin-bottom: var(--space-4); } |
| .mb-6 { margin-bottom: var(--space-6); } |
| .flex { display: flex; } |
| .flex-col { flex-direction: column; } |
| .items-center { align-items: center; } |
| .justify-between { justify-content: space-between; } |
| .gap-2 { gap: var(--space-2); } |
| .gap-3 { gap: var(--space-3); } |
| .gap-4 { gap: var(--space-4); } |
| .gap-6 { gap: var(--space-6); } |
| .sr-only { |
| position: absolute; |
| width: 1px; |
| height: 1px; |
| padding: 0; |
| margin: -1px; |
| overflow: hidden; |
| clip: rect(0,0,0,0); |
| white-space: nowrap; |
| border: 0; |
| } |
| .visually-hidden { composes: sr-only; } |
|
|
| @media (max-width: 768px) { |
| .chatbot-window { |
| right: var(--space-4); |
| left: var(--space-4); |
| width: auto; |
| bottom: 100px; |
| } |
| .chatbot-toggle { |
| bottom: 76px; |
| } |
| } |
|
|