.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(0,102,255,.12),transparent),var(--bg)}.login-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:2.5rem;box-shadow:0 24px 48px #0006}.login-header{margin-bottom:2rem;text-align:center}.login-header h1{font-size:1.5rem;font-weight:700;color:var(--text);margin-bottom:.25rem}.login-header p{font-size:.9375rem;color:var(--text-muted)}.login-form{display:flex;flex-direction:column;gap:1.25rem}.login-form label{display:flex;flex-direction:column;gap:.5rem}.login-form label span{font-size:.875rem;font-weight:500;color:var(--text-muted)}.login-form input{padding:.75rem 1rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;color:var(--text);transition:border-color .2s}.login-form input::placeholder{color:var(--text-muted);opacity:.8}.login-form input:focus{outline:none;border-color:var(--accent)}.login-error{padding:.75rem;background:#ef444426;border:1px solid rgba(239,68,68,.3);border-radius:8px;color:#fca5a5;font-size:.875rem}.login-btn{margin-top:.5rem;padding:.875rem 1.25rem;background:var(--accent);color:#fff;font-weight:600;border-radius:8px;transition:background .2s}.login-btn:hover:not(:disabled){background:var(--accent-hover)}.login-btn:disabled{opacity:.7;cursor:not-allowed}.login-hint{margin-top:1.5rem;font-size:.8125rem;color:var(--text-muted);text-align:center}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem 2rem;max-width:400px;width:90%}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.modal-header h3{font-size:1.125rem;margin:0}.modal-close{background:none;border:none;font-size:1.5rem;color:var(--text-muted);cursor:pointer;line-height:1}.change-password-form label{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.change-password-form label span{font-size:.875rem;font-weight:500;color:var(--text-muted)}.change-password-form input{padding:.625rem .875rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;color:var(--text)}.modal-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem}.modal-actions .btn-primary{padding:.5rem 1rem;background:var(--accent);color:#fff;font-weight:600;border-radius:8px;border:none;cursor:pointer}.modal-actions .btn-secondary{padding:.5rem 1rem;background:var(--surface-hover);color:var(--text);border-radius:8px;border:1px solid var(--border);cursor:pointer}.admin-dashboard{min-height:100vh;background:var(--bg)}.admin-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 2rem;background:var(--surface);border-bottom:1px solid var(--border)}.admin-header h1{font-size:1.25rem}.admin-user{font-size:.875rem;color:var(--text-muted);margin-top:.125rem}.admin-header-actions{display:flex;gap:1rem}.btn-link:hover{text-decoration:underline}.btn-reset-db{color:var(--error);background:none;font-size:.875rem;border:1px solid var(--error);padding:.35rem .75rem;border-radius:6px;cursor:pointer}.btn-reset-db:hover{background:#ef444426}.admin-tabs{display:flex;gap:.5rem;padding:1rem 2rem;background:var(--surface);border-bottom:1px solid var(--border)}.admin-tabs button{padding:.5rem 1rem;border-radius:8px;color:var(--text-muted);font-size:.9rem}.admin-tabs button.active{background:var(--surface-hover);color:var(--text)}.admin-main{max-width:800px;margin:0 auto;padding:2rem}.admin-section.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem}.admin-section h2{font-size:1.125rem;margin-bottom:1rem}.admin-form{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.admin-form input,.admin-form select{padding:.5rem .75rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;color:var(--text)}.admin-form button{padding:.5rem 1rem;background:var(--accent);color:#fff;border-radius:8px;font-weight:500}.admin-form button[type=button]{background:var(--surface-hover);color:var(--text)}.admin-list{list-style:none}.admin-list li{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid var(--border)}.admin-list li>div{display:flex;gap:.5rem}.admin-list .btn-delete{color:var(--error)}.filter-row button{padding:.4rem .75rem;background:var(--accent);color:#fff;border-radius:6px}.user-dashboard{min-height:100vh;background:var(--bg)}.user-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 2rem;background:var(--surface);border-bottom:1px solid var(--border)}.user-header h1{font-size:1.25rem}.user-welcome{font-size:.875rem;color:var(--text-muted);margin-top:.125rem}.user-header-actions{display:flex;gap:1rem}.btn-link{color:var(--accent);background:none;font-size:.875rem}.user-main{max-width:1200px;margin:0 auto;padding:2rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem 2rem;margin-bottom:2rem}.form-section h2,.records-section h2{font-size:1.125rem;margin-bottom:1rem}.activity-form label{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.activity-form label span{font-size:.875rem;font-weight:500;color:var(--text-muted)}.activity-form input,.activity-form select,.activity-form textarea{padding:.625rem .875rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;color:var(--text)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-error{padding:.75rem;background:#ef444426;border-radius:8px;color:#fca5a5;margin-bottom:1rem}.form-actions{display:flex;gap:.75rem;margin-top:1rem}.btn-primary{padding:.625rem 1.25rem;background:var(--accent);color:#fff;font-weight:600;border-radius:8px}.btn-secondary{padding:.625rem 1.25rem;background:var(--surface-hover);color:var(--text);border-radius:8px}.records-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.filters-download{display:flex;flex-direction:column;gap:.75rem}.filter-row{display:flex;align-items:center;gap:.5rem}.filter-row label{font-size:.875rem;color:var(--text-muted)}.filter-row input{padding:.4rem;border-radius:6px;border:1px solid var(--border);background:var(--bg);color:var(--text)}.download-row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.download-row select{padding:.4rem;border-radius:6px;border:1px solid var(--border);background:var(--bg);color:var(--text)}.download-row button{padding:.4rem .75rem;background:var(--accent);color:#fff;border-radius:6px;font-size:.875rem}.table-wrap{overflow-x:auto}.records-table{width:100%;border-collapse:collapse;font-size:.875rem}.records-table th,.records-table td{padding:.5rem .75rem;text-align:left;border-bottom:1px solid var(--border)}.records-table th{font-weight:600;color:var(--text-muted)}.records-table .btn-edit{color:var(--accent);margin-right:.5rem;font-size:.8rem}.records-table .btn-delete{color:var(--error);font-size:.8rem}.muted{color:var(--text-muted)}:root{--bg: #0f1419;--surface: #1a2332;--surface-hover: #243044;--border: #2d3a4d;--text: #e6edf3;--text-muted: #8b9cb3;--accent: #0066ff;--accent-hover: #0052cc;--success: #22c55e;--error: #ef4444;--radius: 12px;--font: "DM Sans", system-ui, sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:100vh;line-height:1.5}#root{min-height:100vh}input,select,textarea,button{font-family:inherit;font-size:1rem}button{cursor:pointer;border:none;background:none}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}
