/* =============================== GLOBAL THEME ================================ */ :root { --dark-bg: #111827; --primary: #6366f1; --primary-hover: #4f46e5; --text-light: #f9fafb; --text-muted: #9ca3af; --body-bg: #f3f4f6; --border-color: #e5e7eb; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body { background: var(--body-bg); } /* =============================== LOGIN PAGE LAYOUT (Centering Fix) ================================ */ .auth-page-wrapper { min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; } /* =============================== LOGIN CARD ================================ */ .login-container { background: white; width: 100%; max-width: 460px; padding: 40px; border-radius: 16px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); } .auth-header { text-align: center; margin-bottom: 30px; } .auth-header h2 { color: var(--dark-bg); font-size: 1.7rem; } /* =============================== INPUT GROUPS & FLOATING LABELS ================================ */ .input-group { position: relative; margin-bottom: 24px; } .input { width: 100%; padding: 14px; border: 1.5px solid var(--border-color); border-radius: 10px; background: #fff; font-size: 1rem; } .input:focus { outline: none; border-color: var(--primary); } .user-label { position: absolute; left: 12px; top: 14px; color: var(--text-muted); transition: 0.2s; background: white; padding: 0 5px; pointer-events: none; } /* Label Floats up on Focus or when Text is present */ .input:focus ~ .user-label, .input:not(:placeholder-shown) ~ .user-label { top: -10px; left: 8px; font-size: 0.75rem; color: var(--primary); font-weight: 600; } /* =============================== BUTTONS & FOOTER ================================ */ .btn-auth { width: 100%; padding: 16px; background: linear-gradient(135deg,#0f172a,#020617); color: white; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.3s; } .btn-auth:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.25); } .auth-footer { text-align: center; margin-top: 20px; } .auth-footer a { color: var(--primary); text-decoration: none; font-weight: 600; }