:root { --bg-dark: #0b0f19; --bg-card: rgba(19, 26, 43, 0.7); --bg-card-border: rgba(255, 255, 255, 0.08); --bg-card-hover: rgba(30, 41, 67, 0.8); --primary: #6366f1; --primary-hover: #4f46e5; --primary-glow: rgba(99, 102, 241, 0.35); --accent-teal: #14b8a6; --accent-purple: #a855f7; --accent-amber: #f59e0b; --accent-rose: #f43f5e; --accent-emerald: #10b981; --text-main: #f8fafc; --text-muted: #94a3b8; --text-dim: #64748b; --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 28px; --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.15); --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5); --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; --font-mono: 'JetBrains Mono', monospace; } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: var(--font-sans); background-color: var(--bg-dark); background-image: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.1) 0px, transparent 50%), radial-gradient(at 50% 100%, rgba(20, 184, 166, 0.08) 0px, transparent 50%); background-attachment: fixed; color: var(--text-main); min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; } /* Scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: rgba(11, 15, 25, 0.8); } ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); } /* App Container */ .app-container { display: flex; flex-direction: column; min-height: 100vh; } /* Header Navbar */ .app-header { background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--bg-card-border); position: sticky; top: 0; z-index: 100; padding: 0.85rem 2rem; display: flex; align-items: center; justify-content: space-between; } .brand-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text-main); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; } .brand-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--primary), var(--accent-purple)); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; box-shadow: 0 0 15px var(--primary-glow); } .nav-links { display: flex; align-items: center; gap: 1rem; } .nav-item { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 0.5rem 1rem; border-radius: var(--radius-sm); transition: all 0.2s ease; display: flex; align-items: center; gap: 0.5rem; } .nav-item:hover, .nav-item.active { color: var(--text-main); background: rgba(255, 255, 255, 0.05); } .nav-item.admin-btn { background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2)); border: 1px solid rgba(99, 102, 241, 0.4); color: #a5b4fc; } .nav-item.admin-btn:hover { background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(168, 85, 247, 0.35)); color: white; box-shadow: var(--shadow-glow); } /* Layout Body */ .main-content { flex: 1; padding: 2.5rem 2rem; max-width: 1320px; width: 100%; margin: 0 auto; } /* Glassmorphism Cards */ .glass-card { background: var(--bg-card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--bg-card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 2rem; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; } .glass-card.hover-lift:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.3); box-shadow: var(--shadow-card), var(--shadow-glow); } /* Hero & Guest Portal Styling */ .portal-wrapper { max-width: 580px; margin: 2rem auto; } .portal-header { text-align: center; margin-bottom: 2rem; } .portal-title { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(135deg, #ffffff 30%, var(--text-muted)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.5rem; } .portal-subtitle { color: var(--text-muted); font-size: 1rem; } /* Forms */ .form-group { margin-bottom: 1.5rem; } .form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; } .form-control-glass { width: 100%; background: rgba(11, 15, 25, 0.6); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-md); padding: 0.9rem 1.2rem; color: var(--text-main); font-size: 1rem; font-family: inherit; transition: all 0.2s ease; } .form-control-glass:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); background: rgba(11, 15, 25, 0.85); } .btn-gradient-primary { width: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: white; border: none; border-radius: var(--radius-md); padding: 0.95rem 1.5rem; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; box-shadow: 0 4px 15px var(--primary-glow); } .btn-gradient-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45); } .btn-gradient-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; } /* Credentials Output Box */ .credentials-box { background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(99, 102, 241, 0.12)); border: 1px solid rgba(20, 184, 166, 0.3); border-radius: var(--radius-md); padding: 1.75rem; margin-top: 1.5rem; animation: fadeIn 0.4s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .cred-row { display: flex; align-items: center; justify-content: space-between; background: rgba(11, 15, 25, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); padding: 0.75rem 1rem; margin-bottom: 0.75rem; } .cred-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); } .cred-value { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 700; color: var(--accent-teal); letter-spacing: 0.05em; } .copy-btn { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-main); padding: 0.35rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; } .copy-btn:hover { background: rgba(255, 255, 255, 0.18); } /* Stats Cards Grid */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .stat-card { background: var(--bg-card); border: 1px solid var(--bg-card-border); border-radius: var(--radius-md); padding: 1.5rem; display: flex; align-items: center; gap: 1.25rem; } .stat-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; } .stat-icon.primary { background: rgba(99, 102, 241, 0.15); color: var(--primary); } .stat-icon.teal { background: rgba(20, 184, 166, 0.15); color: var(--accent-teal); } .stat-icon.amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); } .stat-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); } .stat-number { font-size: 1.75rem; font-weight: 800; line-height: 1.2; } .stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; } /* Data Table */ .table-responsive { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--bg-card-border); } .custom-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.925rem; } .custom-table th { background: rgba(15, 22, 38, 0.95); color: var(--text-muted); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; padding: 1rem 1.25rem; border-bottom: 1px solid var(--bg-card-border); } .custom-table td { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: var(--text-main); vertical-align: middle; } .custom-table tbody tr { transition: background 0.15s ease; } .custom-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); } /* Badges */ .badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; } .badge-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); } .badge-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); } .badge-rose { background: rgba(244, 63, 94, 0.15); color: #fda4af; border: 1px solid rgba(244, 63, 94, 0.3); } .badge-primary { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.3); } /* Progress Bar */ .progress-bar-bg { background: rgba(255, 255, 255, 0.08); height: 8px; border-radius: 4px; overflow: hidden; width: 100%; margin-top: 0.35rem; } .progress-bar-fill { height: 100%; border-radius: 4px; transition: width 0.4s ease; } .progress-bar-fill.normal { background: linear-gradient(90deg, var(--accent-teal), var(--primary)); } .progress-bar-fill.warning { background: linear-gradient(90deg, var(--accent-amber), var(--accent-rose)); } /* Tabs */ .tab-nav { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--bg-card-border); margin-bottom: 2rem; } .tab-btn { background: none; border: none; color: var(--text-muted); font-size: 0.95rem; font-weight: 600; padding: 0.85rem 1.5rem; cursor: pointer; position: relative; transition: color 0.2s ease; display: flex; align-items: center; gap: 0.5rem; } .tab-btn:hover { color: var(--text-main); } .tab-btn.active { color: var(--primary); } .tab-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--primary); border-radius: 2px; box-shadow: var(--shadow-glow); } /* Action Buttons */ .btn-sm { padding: 0.4rem 0.75rem; font-size: 0.8rem; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; border: none; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 0.35rem; } .btn-secondary { background: rgba(255, 255, 255, 0.08); color: var(--text-main); border: 1px solid rgba(255, 255, 255, 0.1); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.16); } .btn-danger { background: rgba(244, 63, 94, 0.15); color: #fda4af; border: 1px solid rgba(244, 63, 94, 0.3); } .btn-danger:hover { background: rgba(244, 63, 94, 0.3); color: white; } /* Footer */ .app-footer { border-top: 1px solid var(--bg-card-border); padding: 1.5rem 2rem; text-align: center; color: var(--text-dim); font-size: 0.85rem; }