/* ============================================================
   Login Page — Classic split-panel (static, no animations)
   Brand side uses the TerraNova palette: blue wordmark + gold mark.
   ============================================================ */

body.login-classic {
    min-height: 100vh;
    margin: 0;
    color: #1f2937;
    background:
        radial-gradient(900px 520px at 14% 14%, rgba(45, 212, 191, 0.20), transparent 60%),
        radial-gradient(820px 520px at 86% 86%, rgba(129, 140, 248, 0.20), transparent 60%),
        linear-gradient(135deg, #ecfdf5 0%, #eef2ff 50%, #f5f3ff 100%);
    background-attachment: fixed;
}

/* ---- Logo watermark (static) ---- */
body.login-classic::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url('images/terranova-logo.png') center / min(720px, 80vw) auto no-repeat;
    opacity: 0.06;
}

body.login-classic .container { position: relative; z-index: 1; }

/* ---- Outer shell ---- */
body.login-classic .login-shell {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

/* ---- Brand side ---- */
body.login-classic .login-brandside {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 55%, #2563eb 100%);
    align-items: stretch;
}

/* gold glow (logo mark colour) */
body.login-classic .login-brandside::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -110px;
    top: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, #f3b33d 0%, #e8951f 60%, transparent 72%);
    opacity: 0.30;
}

/* thin ring accent */
body.login-classic .login-brandside::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -80px;
    bottom: -80px;
    border-radius: 50%;
    border: 26px solid rgba(255, 255, 255, 0.07);
}

body.login-classic .login-brandside-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.75rem 2.25rem;
    color: #fff;
    width: 100%;
}

/* white chip so the colourful logo always reads */
body.login-classic .login-chip {
    display: inline-block;
    align-self: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 12px 28px rgba(8, 15, 40, 0.28);
}

body.login-classic .login-chip img {
    display: block;
    width: 190px;
    max-width: 60vw;
    height: auto;
}

body.login-classic .login-brand-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.4;
    margin: 0 0 1.2rem;
    color: rgba(255, 255, 255, 0.95);
}

body.login-classic .login-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 .4rem;
    color: #fff;
}

body.login-classic .login-brand-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: .9rem;
    margin: 0 0 1.5rem;
}

body.login-classic .login-brand-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.login-classic .login-brand-points li {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, 0.92);
    padding: .35rem 0;
}

body.login-classic .login-brand-points li i {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.15);
    color: #fde9c4;
    font-size: .82rem;
}

/* ---- Form side ---- */
body.login-classic .login-formside {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.login-classic .login-mobile-logo {
    width: 180px;
    max-width: 70%;
    height: auto;
}

body.login-classic h1 { color: #111827; }

body.login-classic .form-control {
    border: 1px solid #d1d5db;
    background: #fff;
}

body.login-classic .form-control:focus {
    border-color: #1d4ed8;
    box-shadow: none;
}

/* ---- Input groups (leading icon + password eye) ---- */
body.login-classic .login-input .input-group-text {
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-right: 0;
    color: #64748b;
}

body.login-classic .login-input .form-control {
    border-left: 0;
}

body.login-classic .login-input .login-eye {
    border: 1px solid #d1d5db;
    border-left: 0;
    background: #fff;
    color: #64748b;
}

body.login-classic .login-input .login-eye:hover { color: #1d4ed8; }

/* focus ring across the whole group */
body.login-classic .login-input:focus-within {
    border-radius: .5rem;
    box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.15);
}

body.login-classic .login-input:focus-within .input-group-text,
body.login-classic .login-input:focus-within .form-control,
body.login-classic .login-input:focus-within .login-eye {
    border-color: #1d4ed8;
}

/* button: brand blue, shifts toward gold on hover (logo palette) */
body.login-classic .btn-primary {
    background: #1d4ed8;
    border: 0;
    font-weight: 600;
    transition: background .25s ease, box-shadow .25s ease;
}

body.login-classic .btn-primary:hover,
body.login-classic .btn-primary:focus {
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 45%, #e8951f 140%);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.30);
}

body.login-classic .login-formside a.login-forgot-link {
    color: #1d4ed8 !important;
}

body.login-classic .login-formside a.login-forgot-link:hover {
    color: #1e40af !important;
    text-decoration: underline !important;
}
