/* ==========================================================================
   ff-login.css  -  split-screen sign-in (login.aspx)
   Same palette as ff-shell.css / ff-dash.css.
   ========================================================================== */

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body.lg-body {
    font-family: 'Inter', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #12283a;
    background: #eef2f6;
}

.lg-wrap { display: flex; min-height: 100vh; }

/* ---------- Left: brand panel ---------- */
.lg-brand {
    position: relative;
    flex: 1 1 52%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 56px;
    background: linear-gradient(135deg, #0b2236 0%, #0e3a57 55%, #0e4d6f 100%);
    color: #fff;
    overflow: hidden;
}
.lg-brand:before,
.lg-brand:after {                      /* decorative gold rings */
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.lg-brand:before { right: -120px; top: -140px; width: 420px; height: 420px; border: 64px solid rgba(244, 180, 0, .11); }
.lg-brand:after  { left: -90px; bottom: -120px; width: 320px; height: 320px; border: 46px solid rgba(255, 255, 255, .06); }

.lg-logo { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.lg-logo-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #f4b400;
    color: #0b2236;
    font-size: 20px;
}
.lg-logo b { font-size: 22px; font-weight: 700; letter-spacing: .2px; }
.lg-logo span { display: block; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: #9fc0d6; }

.lg-hero { position: relative; z-index: 1; max-width: 520px; }
.lg-hero h1 { margin: 0 0 14px; font-size: 38px; line-height: 1.15; font-weight: 700; letter-spacing: -.5px; color: #fff; }
.lg-hero h1 em { font-style: normal; color: #f4b400; }
.lg-hero p { margin: 0 0 28px; font-size: 15px; line-height: 1.6; color: #b9d0e0; }

/* approval pipeline preview */
.lg-flow { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-flow span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
    font-weight: 600;
    color: #e6f0f7;
}
.lg-flow span:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

.lg-foot { position: relative; z-index: 1; font-size: 12px; color: #7f9fb6; }

/* ---------- Right: form ---------- */
.lg-side {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
}
.lg-card {
    width: 100%;
    max-width: 400px;
    padding: 34px 32px 28px;
    border: 1px solid #dde5ec;
    border-top: 4px solid #0e4d6f;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(16, 42, 67, .10);
}
.lg-step {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #e6eef3;
    color: #0e4d6f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.lg-card h2 { margin: 0 0 4px; font-size: 24px; font-weight: 700; color: #0b2236; letter-spacing: -.3px; }
.lg-sub { margin: 0 0 24px; color: #6b8394; font-size: 13px; }

.lg-field { margin-bottom: 16px; }
.lg-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #3b5366;
}
.lg-input { position: relative; }
.lg-input > .fa {
    position: absolute;
    left: 14px;
    top: 50%;
    margin-top: -7px;
    color: #8aa2b4;
    font-size: 14px;
    pointer-events: none;
}
.lg-input input {
    width: 100%;
    height: 44px;
    padding: 0 42px 0 40px;
    border: 1px solid #c8d5df;
    border-radius: 8px;
    background: #f8fafc;
    color: #12283a;
    font: inherit;
    transition: border-color .12s, box-shadow .12s, background .12s;
}
.lg-input input:focus {
    outline: 0;
    border-color: #0e4d6f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14, 77, 111, .15);
}
.lg-input input::placeholder { color: #9db0be; }
.lg-eye {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #8aa2b4;
    cursor: pointer;
}
.lg-eye:hover { background: #eef2f6; color: #0e4d6f; }
.lg-caps { display: none; margin-top: 6px; font-size: 12px; color: #b45309; }
.lg-caps .fa { margin-right: 5px; }

.lg-btn {
    display: block;
    width: 100%;
    height: 46px;
    margin-top: 6px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #0e3a57, #0e4d6f);
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: transform .1s, box-shadow .15s;
}
.lg-btn:hover, .lg-btn:focus {
    outline: 0;
    box-shadow: 0 6px 16px rgba(14, 77, 111, .35);
    transform: translateY(-1px);
}
.lg-btn .fa { margin-left: 8px; color: #f4b400; }

.lg-msg { min-height: 20px; margin: 4px 0 8px; font-size: 13px; }
.lg-back { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: #0e4d6f; text-decoration: none; }
.lg-back:hover { color: #b8860b; text-decoration: underline; }

.lg-secure { margin-top: 20px; font-size: 12px; color: #8aa2b4; text-align: center; }
.lg-secure .fa { margin-right: 5px; color: #1fb5a3; }

/* ---------- Small screens ---------- */
@media (max-width: 899px) {
    .lg-wrap { flex-direction: column; }
    .lg-brand { flex: 0 0 auto; padding: 26px 24px; gap: 18px; }
    .lg-hero h1 { font-size: 26px; }
    .lg-hero p, .lg-foot { display: none; }
    .lg-flow span { padding: 5px 10px; font-size: 11px; }
    .lg-side { flex: 1 1 auto; padding: 24px 16px 32px; }
    .lg-card { padding: 26px 20px 22px; }
}
