* {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: radial-gradient(ellipse at 15% 5%,#e9efff,transparent 55%),#f8fafc;
    color: #17243b;
    font-family: Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
a {
    color: #072798;
    text-decoration: none;
}
a:hover {
    color: #e34c00;
}
button,input {
    font: inherit;
}
button,a,input {
    -webkit-tap-highlight-color: transparent;
}
a:focus-visible,button:focus-visible {
    outline: 3px solid #ff975c;
    outline-offset: 4px;
}
.auth-shell {
    width: 100%;
    max-width: 1050px;
    display: grid;
    grid-template-columns: 5fr 7fr;
    min-height: 650px;
    border: 1px solid #dce3f1;
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 70px -20px #07279830;
}
.brand-panel {
    padding: 42px 36px;
    background: radial-gradient(circle at 100% 0,#34418f99,transparent 45%),linear-gradient(150deg,#001f87,#071a55);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.brand-logo {
    display: inline-flex;
    background: #fff;
    border-radius: 15px;
    padding: 12px 16px;
    margin-bottom: 28px;
    box-shadow: 0 6px 20px #0002;
}
.brand-logo img {
    display: block;
    width: 165px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}
.eyebrow {
    display: block;
    color: #b9cafb;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
}
.brand-panel h1 {
    font-size: 29px;
    line-height: 1.25;
    letter-spacing: -.6px;
    margin: 0 0 14px;
    font-weight: 750;
}
.brand-intro {
    color: #c4d1ef;
    font-size: 13px;
    margin: 0;
    line-height: 1.8;
}
.features {
    display: grid;
    gap: 12px;
    margin: 25px 0;
}
.feature {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid #ffffff20;
    border-radius: 16px;
    background: #ffffff0b;
}
.feature-icon {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    display: grid;
    place-items: center;
    background: #ff570021;
    border: 1px solid #ff570055;
    border-radius: 10px;
    color: #ff8c4f;
    font-size: 20px;
}
.feature h2 {
    font-size: 12px;
    margin: 0 0 3px;
    color: #fff;
}
.feature p {
    font-size: 11px;
    margin: 0;
    color: #c4d1ef;
    line-height: 1.65;
}
.support {
    border-top: 1px solid #ffffff26;
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    font-size: 11px;
}
.support span {
    width: 100%;
    color: #b3c4e8;
}
.support a {
    color: #fff;
}
.form-panel {
    padding: 48px;
    display: flex;
    align-items: center;
    background: #fcfdff;
}
.form-content {
    width: 100%;
    max-width: 410px;
    margin: auto;
}
.back-link {
    display: inline-block;
    font-size: 12px;
    color: #68758b;
    margin: 0 0 35px;
}
.form-tag {
    display: block;
    color: #ff5700;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 9px;
}
.form-content h2 {
    font-size: 29px;
    color: #101c32;
    line-height: 1.3;
    letter-spacing: -.8px;
    margin: 0 0 10px;
}
.intro {
    color: #718096;
    font-size: 13px;
    margin: 0 0 28px;
    line-height: 1.8;
}
label {
    display: block;
    color: #37445b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 9px;
}
.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 21px;
}
.label-row a {
    font-size: 11px;
    font-weight: 650;
    margin-bottom: 9px;
}
.input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #dce2ec;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .15s,border-color .15s;
}
.input-wrap:focus-within {
    border-color: #072798;
    box-shadow: 0 0 0 3px #07279812;
}
.input-wrap input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 14px;
    color: #17243b;
    font-size: 13px;
}
.input-wrap input::placeholder {
    color: #9ba6b5;
}
.input-icon {
    font-size: 12px;
    padding: 14px;
    color: #718096;
    border-right: 1px solid #e5e9f1;
    background: #f8fafc;
}
.reveal {
    padding: 14px;
    border: 0;
    background: none;
    color: #64748b;
    font-size: 11px;
    cursor: pointer;
}
.primary {
    margin-top: 25px;
    border: 0;
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    background: #ff5700;
    font-weight: 750;
    cursor: pointer;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    box-shadow: 0 5px 15px #ff570026;
    transition: background .2s,transform .2s;
}
.primary:hover {
    background: #072798;
    transform: translateY(-1px);
}
.primary:disabled {
    opacity: .65;
    cursor: wait;
}
.bottom-note {
    font-size: 12px;
    text-align: center;
    color: #718096;
    margin: 24px 0 0;
}
.bottom-note a {
    font-weight: 650;
}
.form-footer {
    border-top: 1px solid #e8edf5;
    padding-top: 22px;
    margin-top: 32px;
    text-align: center;
    color: #8a97ab;
    font-size: 10px;
    letter-spacing: .4px;
}
.secure-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #2eae80;
    border-radius: 50%;
    margin-right: 5px;
}
.notice {
    font-size: 12px;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}
.notice.danger {
    color: #b42318;
    background: #fff0ee;
    border: 1px solid #ffd5ce;
}
.notice.success {
    color: #147d4a;
    background: #effbf3;
    border: 1px solid #c9edd7;
}
.otp-group {
    display: flex;
    gap: 9px;
    margin: 14px 0 24px;
}
.otp-group input {
    width: calc((100% - 45px)/6);
    min-width: 0;
    height: 54px;
    text-align: center;
    font-size: 22px;
    font-weight: 650;
    border: 1px solid #dce2ec;
    border-radius: 11px;
    outline: none;
    color: #072798;
    background: white;
}
.otp-group input:focus {
    border-color: #072798;
    box-shadow: 0 0 0 3px #07279814;
}
.hint {
    font-size: 12px;
    color: #718096;
    margin: 0;
}
.location-message {
    font-size: 11px;
    color: #a34518;
    margin: 8px 0 0;
}
.location-message:empty {
    display: none;
}
@media(min-width:1200px) {
    body {
        padding: 50px;
    }
}
@media(max-width:760px) {
    body {
        padding: 16px;
        align-items: flex-start;
    }
    .auth-shell {
        grid-template-columns: 1fr;
        max-width: 500px;
        border-radius: 24px;
        min-height: 0;
    }
    .brand-panel {
        padding: 25px 28px;
    }
    .brand-logo {
        margin-bottom: 16px;
        padding: 9px 12px;
    }
    .brand-logo img {
        width: 140px;
    }
    .brand-panel h1 {
        font-size: 23px;
        max-width: 330px;
    }
    .brand-intro {
        font-size: 12px;
    }
    .features,.support,.eyebrow {
        display: none;
    }
    .form-panel {
        padding: 28px;
    }
    .back-link {
        margin-bottom: 24px;
    }
    .form-content h2 {
        font-size: 26px;
    }
    .form-footer {
        margin-top: 26px;
    }
}
@media(prefers-reduced-motion:reduce) {
    * {
        transition: none!important;
    }
}
/* Restore the original compact authentication panel dimensions. */
.auth-shell {
    max-width: 1050px;
    grid-template-columns: minmax(0,5fr) minmax(0,7fr);
}
.form-panel {
    padding: 48px;
    min-width: 0;
}
.form-content {
    max-width: 410px;
    margin: auto;
}
.feature {
    background: #ffffff12;
    border-color: #ffffff30;
    box-shadow: 0 7px 16px #00000030,inset 0 1px 0 #ffffff12;
}
.support {
    justify-content: center;
    text-align: center;
    gap: 10px 16px;
}
.support a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.support svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.password-icon {
    display: grid;
    place-items: center;
    padding: 0;
    width: 46px;
    align-self: stretch;
    flex: 0 0 46px;
}
.password-icon svg {
    width: 20px;
    height: 20px;
}
.reveal {
    display: grid;
    place-items: center;
    min-width: 46px;
    align-self: stretch;
    padding: 12px;
}
.reveal svg {
    width: 21px;
    height: 21px;
}
.eye-slash {
    display: none;
}
.reveal[aria-pressed="true"] .eye-slash {
    display: block;
}
.resend-form {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.resend-button {
    border: 0;
    background: none;
    color: #072798;
    font-weight: 650;
    padding: 8px;
    cursor: pointer;
}
.resend-button:disabled {
    color: #8290a5;
    cursor: not-allowed;
}
.resend-timer {
    font-variant-numeric: tabular-nums;
    color: #64748b;
    min-width: 32px;
}
@media(max-width:760px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }
    .form-panel {
        padding: 26px;
    }
    .support {
        display: flex;
        margin-top: 20px;
    }
    .features {
        display: grid;
    }
    .back-link {
        margin-bottom: 24px;
    }
}
