/* MedPayroll - sign-in pages (admin Default.aspx + Portal/Login.aspx) - Powered by medaccess360.net */
:root { --primary:#4f46e5; --primary-dark:#4338ca; --primary-light:#818cf8; --success:#059669; --danger:#dc2626; --gray-50:#f9fafb; --gray-200:#e5e7eb; --gray-500:#6b7280; --gray-700:#374151; --gray-900:#111827; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: 'Segoe UI', Roboto, Arial, sans-serif; color: var(--gray-900); background: var(--gray-50); }
.auth-shell { display: flex; min-height: 100vh; }
.auth-brand { flex: 1.1; background: linear-gradient(135deg, #111827 0%, #312e81 55%, #4f46e5 100%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-brand.staff { background: linear-gradient(135deg, #064e3b 0%, #047857 55%, #10b981 100%); }
.auth-brand::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,0.06); right: -160px; bottom: -160px; }
.auth-logo { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; }
.auth-logo .mark { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.auth-logo .accent { color: #c7d2fe; }
.auth-logo .mark.has-logo { background: #fff; padding: 4px; overflow: hidden; }
.auth-logo .mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.auth-brand.staff .auth-logo .accent { color: #a7f3d0; }
.auth-hero h2 { font-size: 32px; line-height: 1.2; margin: 0 0 14px; max-width: 460px; }
.auth-hero p { opacity: .85; font-size: 15px; max-width: 460px; line-height: 1.6; }
.auth-features { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.auth-features li { display: flex; gap: 10px; align-items: center; font-size: 14px; opacity: .92; }
.auth-features i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.auth-foot { font-size: 12px; opacity: .7; position: relative; z-index: 1; }
.auth-foot a { color: #fff; font-weight: 700; }
.auth-form-side { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 24px; margin: 0 0 6px; }
.auth-card .sub { color: var(--gray-500); font-size: 14px; margin-bottom: 26px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 13px; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.auth-input { position: relative; }
.auth-input i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-500); font-size: 14px; }
.auth-input input { width: 100%; padding: 12px 14px 12px 40px; border: 1px solid var(--gray-200); border-radius: 10px; font-size: 14px; font-family: inherit; background: #fff; }
.auth-input input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.auth-btn { width: 100%; padding: 13px; border: none; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit; }
.auth-btn:hover { background: var(--primary-dark); }
.auth-btn.staff { background: var(--success); } .auth-btn.staff:hover { background: #047857; }
.auth-alert { padding: 11px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; background: #fdecea; color: #b91c1c; }
.auth-alert.info { background: #eef2ff; color: var(--primary-dark); }
.auth-switch { margin-top: 22px; font-size: 13px; color: var(--gray-500); text-align: center; }
.auth-switch a { color: var(--primary); font-weight: 700; text-decoration: none; }
.auth-hint { font-size: 12px; color: var(--gray-500); margin-top: 6px; }
@media (max-width: 860px) { .auth-brand { display: none; } }
