/* ========================================================= AUTH PAGE STYLES — login.php ========================================================= */ body.auth-page { background: #F9FAFB; min-height: 100vh; padding: 20px; overflow-y: auto; } /* ── Center Panel (Form) ── */ .auth-center { width: 100%; max-width: 440px; margin: 40px auto; display: flex; align-items: center; justify-content: center; padding: 40px; background: #FFFFFF; border-radius: 16px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01); border: 1px solid #E5E7EB; } .auth-form-wrap { width: 100%; } .auth-form-title { font-size: 1.8rem; font-weight: 800; color: #111827; margin-bottom: 8px; letter-spacing: -0.03em; } .auth-form-subtitle { color: #6B7280; font-size: 0.95rem; margin-bottom: 32px; } /* Role selector */ .role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; } .role-card { position: relative; cursor: pointer; } .role-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; } .role-card-label { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 12px; border-radius: 12px; border: 2px solid #E5E7EB; background: #FFFFFF; cursor: pointer; transition: all 0.2s ease; text-align: center; } .role-card input:checked + .role-card-label { border-color: #2563EB; background: #EFF6FF; } .role-card-label:hover { border-color: #D1D5DB; background: #F9FAFB; } .role-card input:checked + .role-card-label:hover { border-color: #2563EB; } .role-card-icon { font-size: 1.5rem; line-height: 1; } .role-card-name { font-size: 0.9rem; font-weight: 600; color: #111827; } .role-card input:checked + .role-card-label .role-card-name { color: #1D4ED8; } .role-card-desc { font-size: 0.75rem; color: #6B7280; } /* Login form */ .auth-form .form-group { margin-bottom: 20px; } .auth-form .input-with-icon { position: relative; } .auth-form .input-with-icon .input-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #9CA3AF; font-size: 1rem; pointer-events: none; } .auth-form .input-with-icon .form-control { padding-left: 44px; height: 46px; border-radius: 8px; } .auth-form .btn-login { width: 100%; padding: 14px; font-size: 1rem; justify-content: center; background: #2563EB; color: #FFFFFF; border-radius: 8px; margin-top: 12px; font-weight: 600; box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2); } .auth-form .btn-login:hover { background: #1D4ED8; box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3); } .auth-error { background: #FEF2F2; border: 1px solid #FECACA; border-radius: 8px; padding: 12px 16px; color: #B91C1C; font-size: 0.9rem; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; } .auth-hint { margin-top: 36px; padding-top: 24px; border-top: 1px solid #E5E7EB; } .auth-hint-title { font-size: 0.8rem; font-weight: 700; color: #6B7280; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; } .auth-hint-creds { display: flex; flex-direction: column; gap: 10px; } .auth-hint-item { display: flex; justify-content: space-between; align-items: center; background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 8px; padding: 10px 14px; font-size: 0.85rem; } .auth-hint-role { font-weight: 600; color: #374151; } .auth-hint-pass { font-family: monospace; color: #4B5563; background: #E5E7EB; padding: 4px 10px; border-radius: 6px; font-weight: 500; } /* Responsive */ @media (max-width: 900px) { .auth-center { width: 100%; border-left: none; } }