* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Segoe UI", sans-serif; } body { background: #f3f4f6; } /* AUTH */ .auth-page { display: flex; min-height: 100vh; width: 100%; } .auth-left { flex: 1.15; background: linear-gradient(135deg, #4f46e5, #7c3aed, #0ea5e9); display: flex; align-items: center; justify-content: center; padding: 80px; } .auth-left-content { max-width: 520px; color: white; } .auth-left-content h1 { font-size: 64px; font-weight: 800; line-height: 1.08; margin-bottom: 28px; } .auth-left-content p { font-size: 18px; line-height: 1.9; color: rgba(255, 255, 255, 0.92); } .auth-right { flex: 1; background: #f3f4f6; display: flex; align-items: center; justify-content: center; padding: 40px; } .auth-card { width: 100%; max-width: 540px; background: #ffffff; border-radius: 34px; padding: 56px 42px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06); } .auth-card h2 { font-size: 34px; font-weight: 700; color: #0f172a; margin-bottom: 10px; } .sub-text { color: #64748b; font-size: 18px; margin-bottom: 34px; } .auth-card form { display: flex; flex-direction: column; } .auth-card label { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 10px; margin-top: 14px; } .auth-card input, .form-grid input, .form-grid textarea { width: 100%; height: 66px; border: 1px solid #d8dee9; border-radius: 18px; padding: 0 20px; font-size: 18px; outline: none; background: #edf3ff; transition: all 0.25s ease; } .form-grid textarea { height: 120px; padding-top: 18px; resize: none; } .auth-card input:focus, .form-grid input:focus, .form-grid textarea:focus { border-color: #7c3aed; background: #f8fbff; box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08); } .auth-card button, .primary-btn, .small-btn { margin-top: 24px; height: 58px; border: none; border-radius: 18px; background: linear-gradient(90deg, #4f46e5, #7c3aed); color: white; font-size: 17px; font-weight: 700; cursor: pointer; transition: 0.25s ease; padding: 0 22px; } .small-btn { height: 42px; font-size: 14px; margin-top: 0; border-radius: 12px; } .auth-card button:hover, .primary-btn:hover, .small-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124, 58, 237, 0.28); } .auth-message { background: #f8fafc; border: 1px solid #e2e8f0; color: #0f172a; padding: 14px 16px; border-radius: 14px; margin-bottom: 20px; font-size: 15px; } .bottom-text { text-align: center; margin-top: 30px; color: #64748b; font-size: 16px; } .bottom-text a { color: #4f46e5; text-decoration: none; font-weight: 700; } /* DASHBOARD */ .dashboard-layout { display: flex; min-height: 100vh; background: #f8fafc; } .sidebar { width: 260px; background: linear-gradient(180deg, #4f46e5, #7c3aed); color: white; padding: 30px 22px; display: flex; flex-direction: column; justify-content: space-between; } .logo { font-size: 30px; font-weight: 800; margin-bottom: 35px; } .sidebar-links { display: flex; flex-direction: column; gap: 14px; } .sidebar-links a { text-decoration: none; color: white; padding: 14px 16px; border-radius: 14px; font-size: 16px; transition: 0.2s ease; } .sidebar-links a:hover, .active-link { background: rgba(255, 255, 255, 0.16); } .logout-btn { background: white; color: #4f46e5; border: none; border-radius: 14px; padding: 14px 18px; font-size: 16px; font-weight: 700; cursor: pointer; } .dashboard-content { flex: 1; padding: 40px; } .top-header h1, .page-header h1 { font-size: 34px; color: #0f172a; margin-bottom: 8px; } .top-header p, .page-header p { color: #64748b; font-size: 17px; margin-bottom: 30px; } .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 28px; } .stat-box { background: white; border-radius: 22px; padding: 24px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05); } .stat-box h4 { color: #64748b; margin-bottom: 10px; } .stat-box h2 { color: #111827; font-size: 32px; } .dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } .dashboard-card, .page-card, .result-card, .doctor-card, .table-card { background: white; padding: 28px; border-radius: 24px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05); } .dashboard-card { min-height: 180px; } .dashboard-card h3, .result-card h3, .doctor-card h3, .page-card h3 { font-size: 22px; color: #111827; margin-bottom: 14px; } .dashboard-card p, .result-card p, .doctor-card p, .page-card p { color: #64748b; line-height: 1.8; font-size: 15px; } .big-card { grid-column: span 2; background: linear-gradient(135deg, #eef2ff, #f5f3ff); } .page-card { margin-bottom: 28px; } .symptoms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 25px; } .symptom-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 10px; color: #334155; } .result-grid, .doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 28px; } .form-grid { display: grid; gap: 18px; } .table-card { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } table th, table td { text-align: left; padding: 16px; border-bottom: 1px solid #e5e7eb; font-size: 15px; } table th { color: #111827; background: #f8fafc; } .reports-header { display: flex; justify-content: space-between; align-items: center; } /* Responsive */ @media (max-width: 1100px) { .auth-page, .dashboard-layout { flex-direction: column; } .auth-left { min-height: 320px; padding: 40px 30px; } .auth-left-content h1 { font-size: 42px; } .auth-right { padding: 30px 20px 50px; } .auth-card { border-radius: 26px; padding: 36px 24px; } .sidebar { width: 100%; } .stats-grid, .dashboard-grid, .symptoms-grid, .result-grid, .doctor-grid { grid-template-columns: 1fr; } .big-card { grid-column: span 1; } .reports-header { flex-direction: column; align-items: flex-start; gap: 15px; } }