body {
    background: #070304 !important;
    color: #f7f3f3;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.auth-shell {
    --auth-red: #ef4444;
    --auth-muted: #a59a9d;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    min-height: 100vh;
    min-height: 100svh;
}

.auth-shell a { text-decoration: none; }
.auth-shell button, .auth-shell input { font: inherit; }
.auth-shell a, .auth-shell button { -webkit-tap-highlight-color: transparent; }
.auth-shell a:focus-visible, .auth-shell button:focus-visible {
    outline: 2px solid #ff9b9b;
    outline-offset: 5px;
}
.auth-banner {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    min-height: 700px;
    overflow: hidden;
    isolation: isolate;
    border-right: 1px solid #55212a;
    background: #100708;
}
.auth-banner::after {
    content: '';
    position: absolute;
    right: 0;
    top: 42%;
    width: 3px;
    height: 100px;
    background: var(--auth-red);
    box-shadow: 0 0 24px #ef4444;
}
.auth-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
    z-index: -2;
}
.auth-banner-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(7, 3, 4, .4), transparent 28%, rgba(7, 3, 4, .1) 48%, #070304 94%);
}
.auth-brand { position: absolute; top: 34px; left: 40px; display: block; }
.auth-brand img { display: block; width: 140px; height: 56px; object-fit: contain; }
.auth-brand span { font-size: 24px; font-weight: 700; font-style: italic; }
.auth-banner-edition {
    position: absolute;
    top: 54px;
    right: 36px;
    font-size: 10px;
    letter-spacing: .2em;
    color: #c5b5b8;
}
.auth-banner-copy { position: absolute; bottom: 32px; left: 48px; right: 48px; }
.auth-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff8388;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .18em;
}
.auth-eyebrow i { width: 18px; height: 3px; background: var(--auth-red); transform: skewX(-25deg); }
.auth-banner-copy h2 {
    margin: 18px 0;
    font-size: clamp(54px, 5.5vw, 86px);
    font-weight: 700;
    font-style: italic;
    line-height: .96;
    letter-spacing: -.04em;
}
.auth-banner-copy h2 em { color: var(--auth-red); }
.auth-banner-copy p { margin: 0; color: #bbb0b2; font-size: 15px; line-height: 1.65; }
.auth-banner-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #422129;
    font-size: 10px;
    letter-spacing: .18em;
    color: #a59a9d;
}
.auth-speed-lines { display: flex; gap: 5px; }
.auth-speed-lines i { width: 8px; height: 17px; background: #ef4444; transform: skewX(-25deg); }
.auth-speed-lines i:nth-child(2) { opacity: .55; }
.auth-speed-lines i:nth-child(3) { opacity: .25; }
.auth-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 38px 48px 26px;
    background:
        radial-gradient(ellipse at 100% 0, rgba(134, 26, 41, .14), transparent 55%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 7px),
        #0b0608;
}
.auth-panel-top, .auth-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; color: #b2a6a9; font-size: 13px; min-height: 32px; }
.auth-back svg { width: 19px; height: 19px; }
.auth-back:hover { color: #fff; }
.auth-panel-mark { display: flex; align-items: center; gap: 8px; font-size: 9px; color: #95858a; letter-spacing: .15em; }
.auth-panel-mark i { width: 5px; height: 5px; background: var(--auth-red); }
.auth-form-container { width: 100%; max-width: 440px; margin: auto; padding: 44px 0; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #37242a; margin-bottom: 34px; }
.auth-tabs a { position: relative; text-align: center; padding: 14px 20px; color: #a29499; font-weight: 700; font-size: 13px; letter-spacing: .12em; }
.auth-tabs a:hover { color: #fff; background: rgba(239, 68, 68, .04); }
.auth-tabs a[aria-current='page'] { color: #fff; background: linear-gradient(0deg, rgba(239, 68, 68, .09), transparent); }
.auth-tabs a[aria-current='page']::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--auth-red); }
.auth-heading { margin-bottom: 28px; }
.auth-heading h1 { margin: 10px 0 8px; font-size: clamp(30px, 2.8vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.auth-heading p { margin: 0; color: var(--auth-muted); font-size: 14px; line-height: 1.6; }
.auth-form { display: grid; gap: 19px; }
.auth-field { min-width: 0; }
.auth-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.auth-field label { display: block; margin-bottom: 9px; color: #e5dcdf; font-size: 13px; font-weight: 500; }
.auth-field input {
    display: block;
    width: 100%;
    height: 49px;
    border: 1px solid #3b272d;
    border-radius: 3px;
    background: #160e12;
    color: #fff;
    padding: 0 15px;
    font-size: 14px;
    box-shadow: none;
    transition: border-color 160ms, background 160ms, box-shadow 160ms;
}
.auth-field input::placeholder { color: #8d7b83; opacity: 1; }
.auth-field input:hover { border-color: #6c3744; }
.auth-field input:focus { outline: none; border-color: var(--auth-red); background: #1b1015; box-shadow: 0 0 0 3px rgba(239, 68, 68, .1); }
.auth-field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 100px #160e12 inset; caret-color: #fff; }
.auth-password { position: relative; }
.auth-password input { padding-right: 46px; }
.auth-password-toggle { position: absolute; right: 1px; top: 1px; width: 44px; height: 47px; display: grid; place-items: center; border: 0; border-radius: 2px; background: transparent; color: #a7979e; cursor: pointer; }
.auth-password-toggle:hover { color: #fff; }
.auth-password-toggle svg { width: 19px; height: 19px; }
.auth-eye-slash { display: none; }
.auth-password-toggle[aria-pressed='true'] .auth-eye-slash { display: block; }
.auth-forgot { margin-top: -5px; text-align: right; font-size: 13px; }
.auth-forgot a, .auth-switch a, .auth-agreement a { color: #ff9296; }
.auth-forgot a:hover, .auth-switch a:hover, .auth-agreement a:hover { color: #fff; text-decoration: underline; }
.auth-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 52px;
    padding: 14px 23px;
    border: none;
    background: linear-gradient(110deg, #a91f2c, #de3543);
    color: #fff;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .09em;
    cursor: pointer;
    transition: filter 160ms, transform 160ms;
}
.auth-submit svg { width: 21px; height: 21px; }
.auth-submit:hover { filter: brightness(1.18); transform: translateY(-1px); }
.auth-submit:focus-visible { outline: none !important; box-shadow: inset 0 0 0 3px #ffbdc0; }
.auth-submit:active { transform: translateY(0); }
.auth-switch { padding-top: 25px; margin: 26px 0 0; border-top: 1px solid #302128; color: var(--auth-muted); font-size: 14px; text-align: center; }
.auth-switch a { margin-left: 4px; font-weight: 600; }
.auth-agreement { display: flex; align-items: flex-start; gap: 11px; }
.auth-agreement input { flex-shrink: 0; width: 17px; height: 17px; margin: 3px 0 0; border: 1px solid #73535d; border-radius: 2px; background-color: #160e12; color: #d83342; accent-color: #d83342; cursor: pointer; }
.auth-agreement input:focus { outline: 2px solid #ff9b9b; outline-offset: 3px; --tw-ring-color: transparent; }
.auth-agreement label { color: var(--auth-muted); font-size: 12px; line-height: 1.8; cursor: pointer; }
.auth-alert { margin-bottom: 20px; padding: 13px 16px; border: 1px solid; border-left-width: 3px; font-size: 14px; line-height: 1.6; }
.auth-alert-error { color: #ffb2b7; background: #321019; border-color: #973340; }
.auth-alert-success { color: #b3ebcd; background: #10251b; border-color: #386b50; }
.auth-alert ul { margin: 0; padding: 0; list-style: none; }
.auth-panel-footer { color: #97878f; font-size: 11px; }
.auth-panel-footer a { color: inherit; }
.auth-panel-footer a:hover { color: #fff; }

@media (min-width: 1600px) {
    .auth-panel { padding-right: 70px; padding-left: 70px; }
    .auth-banner-copy { left: 64px; right: 64px; bottom: 44px; }
}
@media (max-width: 1100px) {
    .auth-panel { padding: 26px 30px 24px; }
    .auth-banner-copy { left: 32px; right: 32px; }
    .auth-brand { left: 28px; }
    .auth-banner-edition { display: none; }
    .auth-panel-mark { display: none; }
}
@media (max-width: 767px) {
    .auth-shell { grid-template-columns: minmax(0, 1fr); }
    .auth-banner { position: relative; height: 240px; min-height: 0; border-right: 0; border-bottom: 1px solid #55212a; }
    .auth-banner-image { object-position: center 12%; }
    .auth-banner-shade { background: linear-gradient(90deg, rgba(7, 3, 4, .9), rgba(7, 3, 4, .25) 75%), linear-gradient(0deg, #070304, transparent 50%); }
    .auth-brand { left: 24px; top: 17px; }
    .auth-brand img { width: 108px; height: 44px; }
    .auth-banner-copy { left: 24px; right: 24px; bottom: 22px; }
    .auth-banner-copy h2 { font-size: 42px; margin: 10px 0 0; }
    .auth-banner-copy .auth-eyebrow { font-size: 8px; letter-spacing: .13em; }
    .auth-banner-copy p, .auth-banner-footer { display: none; }
    .auth-banner::after { top: auto; bottom: 0; right: 24px; height: 3px; width: 64px; }
    .auth-panel { padding: 20px 24px 24px; }
    .auth-form-container { padding: 18px 0 38px; }
    .auth-tabs { margin-bottom: 26px; }
    .auth-heading h1 { font-size: 32px; }
    .auth-field input { font-size: 16px; }
    .auth-field-row { gap: 12px; }
    .auth-panel-footer { flex-wrap: wrap; }
}
@media (max-width: 420px) {
    .auth-field-row { grid-template-columns: minmax(0, 1fr); gap: 19px; }
    .auth-panel { padding-left: 20px; padding-right: 20px; }
    .auth-heading h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-shell *, .auth-shell *::before, .auth-shell *::after { transition: none !important; }
}
