@charset "UTF-8";
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    background: #042C53;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrap {
    display: flex;
    width: 900px;
    max-width: 94vw;
    min-height: 560px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

/* ── Left panel ── */
.login-left {
    flex: 1;
    background: #0C3D6B;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
    position: relative;
    overflow: hidden;
}
.login-left::before {
    content: "";
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(24, 95, 165, 0.30);
}
.login-left::after {
    content: "";
    position: absolute;
    bottom: -60px; left: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(4, 44, 83, 0.5);
}
.ll-content { position: relative; z-index: 1; }

.ll-brand { display: inline-flex; align-items: center; margin-bottom: 28px; background: #FFFFF0; border-radius: 8px; padding: 12px 18px; }
.ll-brand-logo { height: 40px; width: auto; display: block; }

.ll-title { font-size: 27px; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 14px; }
.ll-sub { font-size: 13.5px; color: rgba(181, 212, 244, 0.85); line-height: 1.6; margin-bottom: 30px; max-width: 380px; }

.ll-features { display: flex; flex-direction: column; gap: 12px; }
.ll-feat { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(181, 212, 244, 0.9); }
.ll-feat i { font-size: 16px; color: #5DCAA5; flex-shrink: 0; }

/* ── Right panel ── */
.login-right {
    width: 380px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px 40px;
}

.lr-digitrack-logo { width: 190px; height: auto; margin-bottom: 20px; }
.lr-eyebrow { font-size: 11px; font-weight: 600; color: #7B8794; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.lr-heading { font-size: 23px; font-weight: 600; color: #1A2B3C; margin-bottom: 4px; }
.lr-hint { font-size: 13px; color: #7B8794; margin-bottom: 24px; }

.lr-error {
    display: flex; align-items: center; gap: 8px;
    background: #FDEEEE; color: #B3261E;
    border: 1px solid #F5C6C6; border-radius: 8px;
    padding: 9px 12px; font-size: 12.5px; margin-bottom: 16px;
}
.lr-error i { font-size: 15px; flex-shrink: 0; }

.lr-field { margin-bottom: 16px; }
.lr-label { display: block; font-size: 11px; font-weight: 600; color: #7B8794; margin-bottom: 5px; letter-spacing: 0.04em; }
.lr-input {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid #E2E8F0; border-radius: 8px;
    padding: 0 12px; height: 42px;
    background: #F7F9FB;
}
.lr-input:focus-within { border-color: #042C53; background: #fff; }
.lr-input i { font-size: 16px; color: #94A3B8; }
.lr-input input { border: none; background: transparent; outline: none; font-size: 13.5px; color: #1A2B3C; flex: 1; width: 100%; height: 100%; }

.lr-btn {
    width: 100%; height: 42px;
    background: #042C53; color: #fff;
    border: none; border-radius: 8px;
    font-size: 13.5px; font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 20px;
}
.lr-btn:hover { background: #0C3D6B; }
.lr-btn i { font-size: 16px; }

.lr-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 14px; }
.lr-divider span { font-size: 10.5px; color: #94A3B8; white-space: nowrap; }
.lr-divider::before, .lr-divider::after { content: ""; flex: 1; height: 1px; background: #E2E8F0; }

.lr-roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.lr-role { border: 1px solid #E2E8F0; border-radius: 8px; padding: 8px; text-align: center; background: #F7F9FB; }
.lr-role i { font-size: 17px; color: #185FA5; display: block; margin-bottom: 3px; }
.lr-role span { font-size: 10.5px; color: #475569; }

.lr-footer { margin-top: 24px; font-size: 11px; color: #94A3B8; text-align: center; }

/* Stack panels on narrow viewports */
@media (max-width: 760px) {
    .login-wrap { flex-direction: column; width: 94vw; min-height: 0; }
    .login-left { padding: 32px 28px; }
    .ll-features { display: none; }
    .login-right { width: 100%; padding: 32px 28px; }
}
