/* Branded /web/login (2026-09-22) - hr_custom/views/al_login_view.xml */
:root {
    --al-navy: #1A2836; --al-teal: #039993; --al-primary: #02807B; --al-primary-dark: #016e6a;
    --al-orange: #ED8557; --al-ink: #1A2836; --al-muted: #5d6b7a; --al-line: #d8dee6; --al-bg: #f3f5f8;
}
* { box-sizing: border-box; }
html, body.al-login-body { height: 100%; margin: 0; }
body.al-login-body {
    font-family: Aptos, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    color: var(--al-ink); background: var(--al-bg); font-size: 15px;
}
.al-login { min-height: 100%; display: grid; grid-template-columns: minmax(320px, 44%) 1fr; }

.al-brand {
    position: relative; overflow: hidden; background: var(--al-navy); color: #fff;
    padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between;
}
.al-brand::before, .al-brand::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.al-brand::before {
    width: 520px; height: 520px; right: -220px; bottom: -180px;
    background: radial-gradient(circle at 35% 35%, rgba(3,153,147,.55), rgba(3,153,147,0) 70%);
}
.al-brand::after { width: 260px; height: 260px; left: -90px; top: 38%; border: 2px solid rgba(237,133,87,.35); }
.al-brand img { width: 200px; height: auto; position: relative; }
.al-brand-copy { position: relative; max-width: 420px; }
.al-kicker { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--al-orange); font-weight: 700; margin-bottom: 14px; }
.al-brand-copy h1 { font-family: Montserrat, Aptos, "Segoe UI", sans-serif; font-size: 40px; line-height: 1.12; margin: 0; font-weight: 700; }
.al-brand-copy p { margin: 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.55; }
.al-brand-foot { position: relative; font-size: 13px; color: rgba(255,255,255,.55); }

.al-form-side { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.al-card { width: 100%; max-width: 400px; }
.al-card h2 { font-size: 28px; margin: 0 0 6px; font-weight: 700; }
.al-sub { margin: 0 0 24px; color: var(--al-muted); }

.al-alert, .al-card .alert { border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.45; margin: 0 0 18px; }
.al-alert-note { background: #fff4ee; color: #7a3a1a; border: 1px solid #f7d3c1; }
.al-alert-note b { color: #5c2a12; }
.al-card .alert-danger { background: #fdeeee; color: #8a1f1f; border: 1px solid #f3c6c6; }
.al-card .alert-success { background: #eaf6ee; color: #1f5f32; border: 1px solid #c4e5cf; }

.oe_login_form .form-group { margin-bottom: 18px; }
.oe_login_form .field-password { position: relative; }
.oe_login_form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--al-ink); }
.oe_login_form .al-hint { font-weight: 400; color: var(--al-muted); }
.oe_login_form .form-control {
    width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--al-ink);
    background: #fff; border: 1.5px solid var(--al-line); border-radius: 10px;
    transition: border-color .15s, box-shadow .15s;
}
.oe_login_form .form-control:focus { outline: none; border-color: var(--al-primary); box-shadow: 0 0 0 4px rgba(2,128,123,.14); }
.oe_login_form #password { padding-right: 64px; }
.al-toggle {
    position: absolute; right: 8px; bottom: 7px; border: 0; background: transparent; color: var(--al-primary);
    font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px 8px; border-radius: 6px;
}
.al-toggle:hover { background: rgba(2,128,123,.08); }
.oe_login_buttons { display: flex; flex-direction: column-reverse; gap: 10px; }
.oe_login_buttons .btn-primary {
    width: 100%; height: 50px; margin-top: 6px; border: 0; border-radius: 10px;
    background: var(--al-primary); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
    box-shadow: 0 6px 16px rgba(2,128,123,.25); transition: background .15s;
}
.oe_login_buttons .btn-primary:hover { background: var(--al-primary-dark); }
.oe_login_buttons .btn-link { color: var(--al-primary); text-align: center; font-weight: 600; text-decoration: none; }

.al-help { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--al-line); font-size: 14px; color: var(--al-muted); line-height: 1.5; }
.al-help a { color: var(--al-primary); font-weight: 600; text-decoration: none; }
.al-help a:hover { text-decoration: underline; }

@media (max-width: 820px) {
    .al-login { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .al-brand { padding: 28px 24px; }
    .al-brand img { width: 120px; }
    .al-brand-copy, .al-brand-foot, .al-brand::after { display: none; }
    .al-form-side { align-items: flex-start; padding: 32px 16px 60px; }
}
