* { box-sizing: border-box; }
body.auth-page { margin: 0; color: #263447; background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.auth-page a { color: #94600a; text-decoration: none; }
.auth-page a:hover { color: #b76c00; text-decoration: underline; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; background: #263447 var(--auth-banner) left center / cover no-repeat; }
.auth-story { display: flex; flex-direction: column; padding: 32px clamp(28px, 4vw, 64px) 26px; background: linear-gradient(180deg, #152c2010 20%, #152c2020 42%, #142b22e8 100%); border-right: 0; }
.auth-brand { display: flex; flex-direction: column; align-items: flex-end; width: fit-content; color: #263447 !important; background: #ffffffed; padding: 12px 16px; border-radius: 12px; }
.auth-brand img { width: 180px; max-width: 100%; height: auto; object-fit: contain; }
.auth-brand span { font-size: 18px; font-weight: 700; margin-top: 4px; }
.story-copy { width: 100%; max-width: 560px; margin: auto 0 0; padding: 180px 0 28px; }
.eyebrow, .form-kicker { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #9b6712; }
.story-copy h1 { font-size: clamp(34px, 3.3vw, 50px); line-height: 1.1; font-weight: 700; letter-spacing: -2px; margin: 18px 0; max-width: 520px; color: #fff; }
.story-copy p { font-size: 16px; line-height: 1.7; color: #eef4ef; max-width: 420px; }
.story-visual { display: none; }
.story-visual img { display: block; width: 100%; max-width: 620px; height: clamp(230px, 37vh, 380px); object-fit: contain; }
.feature-list { display: flex; flex-wrap: wrap; gap: 12px 18px; font-size: 12px; color: #f5f7f5; }
.feature-list i { color: #f4b649; margin-right: 4px; }
.story-copy .eyebrow { color: #ffcd76; }
.story-footer { display: flex; justify-content: space-between; gap: 12px; color: #d9e4dd; font-size: 11px; }
.auth-form-side { display: flex; flex-direction: column; padding: 24px clamp(28px, 5vw, 80px); background: #fffffff5; backdrop-filter: blur(14px); }
.auth-topnav { display: flex; justify-content: flex-end; align-items: center; gap: 25px; font-size: 13px; }
.auth-topnav a { color: #697180; padding: 8px 0; }
.auth-topnav [aria-current] { color: #263447; font-weight: 700; }
.auth-topnav i { margin-left: 7px; }
.auth-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0 0; font-size: 11px; color: #9299a4; }
.auth-form-wrap { width: 100%; max-width: 420px; margin: auto; padding: 24px 0; }
.auth-form-wrap h2 { margin: 14px 0 10px; font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -1px; }
.form-description { color: #78808d; line-height: 1.7; margin-bottom: 30px; font-size: 14px; }
.auth-form-wrap label { font-size: 13px; font-weight: 600; margin-bottom: 8px; display: block; }
.auth-form-wrap .input-group { display: flex; width: 100%; position: relative; align-items: center; margin-bottom: 21px; border: 1px solid #dde2e9; border-radius: 10px; background: #fff; transition: box-shadow .15s, border-color .15s; }
.auth-form-wrap .input-group:focus-within { border-color: #e8ac46; box-shadow: 0 0 0 3px #f39e1018; }
.auth-form-wrap .input-group > .fa { color: #a0a6b0; width: 40px; text-align: center; flex-shrink: 0; }
.auth-form-wrap .input-group input { min-width: 0; width: 100%; height: 49px; border: 0; box-shadow: none; background: transparent; padding: 12px 13px 12px 0; outline: 0; color: #263447; border-radius: 10px; }
.auth-form-wrap input::placeholder { color: #a0a6b0; font-size: 13px; }
.field-label { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.field-label a { font-size: 12px; }
.password-toggle { border: 0; background: transparent; padding: 12px; color: #8a92a0; }
.auth-form-wrap .btn { border-radius: 10px; padding: 13px 18px; font-size: 14px; font-weight: 700; box-shadow: none; }
.auth-form-wrap .btn-primary { background: #f39e10; border-color: #f39e10; color: #332100; }
.auth-form-wrap .btn-primary:hover { background: #e9940a; border-color: #e9940a; }
.auth-form-wrap .btn-primary i { margin-left: 10px; }
.auth-form-wrap a:focus-visible, .auth-form-wrap button:focus-visible { outline: 3px solid #8f5a0a; outline-offset: 3px; }
.auth-links { color: #858c97; text-align: center; line-height: 1.8; margin: 24px 0 0; font-size: 13px; }
.auth-links a { font-weight: 700; }
.app-download { display: block; text-align: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid #eef0f4; font-size: 12px; }
.app-download i { margin-right: 6px; }
.auth-form-wrap .alert { border-radius: 10px; line-height: 1.6; font-size: 13px; }
.auth-form-wrap .alert img { max-width: 100%; }
.otp-row { display: flex; gap: 12px; align-items: flex-start; }
.otp-row .btn { flex-shrink: 0; }
.alternative-link { display: block; margin: -8px 0 20px; font-size: 12px; }
.contact-card { border: 1px solid #f1e7d5; background: #fffbf4; border-radius: 14px; padding: 24px; margin: 24px 0; }
.contact-card > i { font-size: 28px; color: #d68b11; }
.contact-card h3 { font-size: 18px; font-weight: 700; }
.contact-card p { margin: 0; color: #78808d; line-height: 1.7; }
.nopadding { padding: 0; }
.auth-form-wrap .pin-parent { display: flex; gap: 7px; margin: 20px 0; }
.auth-form-wrap .pin-parent input { float: none; width: 16%; min-width: 0; height: 48px; border: 1px solid #dde2e9; border-radius: 8px; text-align: center; }
.auth-form-wrap .pin { width: 100%; margin-bottom: 20px; height: 50px; border: 1px solid #dde2e9; border-radius: 10px; padding: 12px; }
.auth-mobile .auth-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.auth-mobile .auth-story { padding: 24px; border-right: 0; border-bottom: 1px solid #f3eadc; }
.auth-mobile .story-copy, .auth-mobile .story-footer { display: none; }
.auth-mobile .auth-form-side { padding: 20px 24px; }
.auth-mobile .auth-form-wrap { padding: 30px 0; }
@media (max-width: 850px) {
    .auth-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .auth-story { padding: 25px 28px; border-right: 0; border-bottom: 1px solid #f3eadc; }
    .auth-brand img { width: 150px; }
    .story-copy { padding: 22px 0 0; max-width: 100%; }
    .story-copy h1 { font-size: 30px; max-width: 100%; margin: 10px 0; letter-spacing: -1px; }
    .story-copy p { margin: 0; max-width: 100%; font-size: 14px; }
    .story-visual, .feature-list, .story-footer, .eyebrow { display: none; }
    .auth-form-side { padding: 20px 28px; }
    .auth-form-wrap { padding: 32px 0; }
}
@media (max-height: 800px) {
    .auth-form-wrap h2 { font-size: 28px; margin-top: 10px; }
    .form-description { margin-bottom: 20px; }
    .auth-form-wrap .input-group { margin-bottom: 15px; }
    .auth-links { margin-top: 16px; }
    .app-download { margin-top: 14px; padding-top: 14px; }
    .auth-mobile .auth-story { padding-top: 16px; padding-bottom: 12px; }
    .auth-mobile .auth-form-wrap { padding: 18px 0; }
}
@media (max-width: 850px) and (max-height: 800px) {
    .auth-story { padding: 16px 24px; }
    .story-copy { padding-top: 12px; }
    .story-copy h1 { font-size: 24px; }
    .story-copy p { display: none; }
    .auth-form-side { padding: 12px 24px; }
    .auth-form-wrap { padding: 18px 0; }
}
@media (min-width: 851px) and (max-height: 750px) {
    .auth-story { padding-top: 24px; }
    .story-copy { padding: 16px 0; }
    .story-copy h1 { font-size: 34px; }
    .story-visual { margin-top: 12px; margin-bottom: 12px; }
    .story-visual img { height: clamp(180px, 32vh, 240px); }
    .auth-form-wrap { padding: 28px 0; }
}

/* Shared product authentication layout with module-specific cover images. */
@font-face {
    font-family: 'Auth Muli';
    src: url('../../../../assets/fonts/Muli-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
.auth-page.auth-editorial { background: #f5f2e9; font-family: 'Auth Muli', 'Segoe UI', Arial, sans-serif; }
.auth-page.auth-editorial .auth-layout { background: #f5f2e9; grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr); padding: 18px; gap: 18px; }
.auth-page.auth-editorial .auth-story { position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; background: #173f32; padding: 28px 34px; min-height: 600px; }
.auth-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; z-index: -2; }
.auth-page.auth-editorial .auth-story::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #102e2220 30%, #102e22b8 62%, #102e22 100%); }
.auth-page.auth-editorial .auth-brand { background: #fffffff2; border-radius: 6px; padding: 10px 14px; }
.auth-page.auth-editorial .story-copy { padding: 160px 0 24px; margin-top: auto; max-width: 620px; }
.auth-page.auth-editorial .story-copy h1 { font-family: inherit; font-size: clamp(40px, 4.2vw, 68px); line-height: 1.1; letter-spacing: -1.5px; font-weight: 400; margin: 16px 0; }
.auth-page.auth-editorial .story-copy p { font-size: 14px; max-width: 360px; line-height: 1.6; }
.auth-capabilities { display: flex; gap: 20px; border-top: 1px solid #ffffff35; margin-top: 24px; padding-top: 18px; color: #fff; font-size: 12px; }
.auth-capabilities span { flex: 1; }
.auth-capabilities b { display: block; font-size: 10px; color: #f8bd54; letter-spacing: 2px; margin-bottom: 7px; }
.auth-page.auth-editorial .auth-form-side { background: transparent; backdrop-filter: none; padding: 12px clamp(24px, 4vw, 64px); }
.auth-page.auth-editorial .auth-topnav a:last-child { border: 1px solid #cccfc3; border-radius: 24px; padding: 9px 16px; color: #214938; }
.auth-page.auth-editorial .auth-form-wrap { max-width: 390px; }
.auth-page.auth-editorial .form-kicker { color: #52705e; letter-spacing: 3px; }
.auth-page.auth-editorial .auth-form-wrap h2 { font-family: inherit; font-size: 40px; font-weight: 400; color: #173f32; letter-spacing: -1px; }
.auth-page.auth-editorial .auth-form-wrap .input-group { border-radius: 5px; border-color: #d8d9ce; background: #fffdf8; }
.auth-page.auth-editorial .auth-form-wrap .btn-primary { border-radius: 5px; background: #f39e10; border-color: #f39e10; padding: 15px 18px; }
.auth-page.auth-editorial .app-download { border-color: #dbddd1; }
@media (min-width: 851px) and (max-height: 760px) {
    .auth-page.auth-editorial .auth-story { min-height: 0; padding: 22px 28px; }
    .auth-page.auth-editorial .story-copy { padding: 80px 0 16px; }
    .auth-page.auth-editorial .story-copy h1 { font-size: 46px; }
    .auth-page.auth-editorial .auth-capabilities { margin-top: 16px; padding-top: 12px; }
    .auth-page.auth-editorial .auth-form-wrap { padding: 16px 0; }
}
@media (max-width: 850px) {
    .auth-page.auth-editorial .auth-layout { grid-template-columns: 1fr; padding: 10px; gap: 0; }
    .auth-page.auth-editorial .auth-story { min-height: 210px; padding: 18px 22px; border: 0; border-radius: 12px; }
    .auth-page.auth-editorial .story-copy { padding: 25px 0 0; }
    .auth-page.auth-editorial .story-copy h1 { font-size: 32px; margin: 10px 0 0; }
    .auth-page.auth-editorial .story-copy p, .auth-capabilities { display: none; }
    .auth-page.auth-editorial .auth-form-side { padding: 16px 20px; }
    .auth-page.auth-editorial .auth-form-wrap h2 { font-size: 32px; }
}
.auth-mobile.auth-editorial .auth-layout { grid-template-columns: 1fr; }
.auth-mobile.auth-editorial .auth-story { min-height: 125px; }
