.auth-page {
    min-height: 100vh;
}

.auth-shell {
    min-height: 100vh;
    padding: 28px;
}

.auth-header {
    width: min(1180px, calc(100vw - 56px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    background: rgba(255, 251, 246, 0.74);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 42px rgba(34, 30, 23, 0.08);
}

.auth-main {
    width: min(1180px, calc(100vw - 56px));
    margin: 0 auto;
    padding: 44px 0 20px;
}

.auth-hero {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 28px;
    align-items: stretch;
}

.auth-hero__copy,
.auth-panel {
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 251, 246, 0.64);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 62px rgba(30, 28, 24, 0.08);
}

.auth-hero__copy {
    padding: 42px;
}

.auth-hero__copy h1 {
    margin: 0 0 18px;
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    max-width: 11ch;
}

.auth-hero__copy p {
    margin: 0;
    max-width: 58ch;
    color: var(--landing-ink-soft);
    line-height: 1.8;
    font-size: 1rem;
}

.auth-signal-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.auth-signal-list span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--landing-ink-soft);
}

.auth-signal-list i {
    color: var(--landing-green);
}

.auth-panel {
    padding: 30px;
}

.auth-card-head h2 {
    margin: 0 0 10px;
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.auth-card-head p {
    margin: 0 0 24px;
    color: var(--landing-ink-soft);
    line-height: 1.75;
}

.auth-form {
    display: grid;
    gap: 12px;
}

.auth-form--subtle {
    margin-top: 6px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field span {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--landing-ink);
}

.auth-field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(17, 19, 24, 0.1);
    background: rgba(255, 255, 255, 0.82);
    color: var(--landing-ink);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field select {
    width: 100%;
    padding: 12px 14px;
    padding-right: 42px;
    border-radius: 14px;
    border: 1px solid rgba(17, 19, 24, 0.1);
    background: rgba(255, 255, 255, 0.82);
    color: var(--landing-ink);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    -webkit-appearance: menulist;
    appearance: menulist;
}

.auth-field input:focus {
    border-color: rgba(41, 95, 78, 0.42);
    box-shadow: 0 0 0 4px rgba(41, 95, 78, 0.08);
}

.auth-field select:focus {
    border-color: rgba(41, 95, 78, 0.42);
    box-shadow: 0 0 0 4px rgba(41, 95, 78, 0.08);
}

.auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.auth-divider {
    position: relative;
    margin: 22px 0 10px;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(17, 19, 24, 0.08);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    background: rgba(255, 251, 246, 0.9);
    color: var(--landing-ink-soft);
    font-size: 0.9rem;
}

.auth-inline-note {
    margin-top: -2px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--landing-ink-soft);
}

.auth-submit[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
    box-shadow: none;
}

.auth-footer-note {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
    color: var(--landing-ink-soft);
}

.auth-footer-note a {
    color: var(--landing-green);
    font-weight: 700;
}

.auth-flashes {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.auth-flash {
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.auth-flash--danger {
    background: rgba(217, 79, 79, 0.12);
    color: #8e2b2b;
}

.auth-flash--success {
    background: rgba(41, 95, 78, 0.12);
    color: #1d5c46;
}

.verify-result {
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(17, 19, 24, 0.08);
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.verify-result--success {
    background: linear-gradient(180deg, rgba(219, 232, 224, 0.75), rgba(255, 255, 255, 0.82));
}

.verify-result--error {
    background: linear-gradient(180deg, rgba(255, 239, 234, 0.86), rgba(255, 255, 255, 0.82));
}

.verify-result--pending {
    background: linear-gradient(180deg, rgba(245, 238, 215, 0.88), rgba(255, 255, 255, 0.84));
}

.verify-result__icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    font-size: 1.75rem;
    color: #fffdf9;
    background: linear-gradient(135deg, var(--landing-green), #19352d);
    box-shadow: 0 16px 34px rgba(41, 95, 78, 0.22);
}

.verify-result--error .verify-result__icon {
    background: linear-gradient(135deg, #cf7c63, #8e4c3a);
    box-shadow: 0 16px 34px rgba(177, 97, 72, 0.22);
}

.verify-result__actions {
    display: grid;
    gap: 12px;
}

.verify-result__details {
    display: grid;
    gap: 10px;
    color: var(--landing-ink-soft);
    line-height: 1.7;
}

.verify-result__details p {
    margin: 0;
}

@media (max-width: 920px) {
    .auth-hero {
        grid-template-columns: 1fr;
    }

    .auth-hero__copy h1 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .auth-shell {
        padding: 18px;
    }

    .auth-header,
    .auth-main {
        width: min(100vw - 36px, 1180px);
    }

    .auth-header,
    .auth-hero__copy,
    .auth-panel {
        border-radius: 24px;
    }

    .auth-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-hero__copy,
    .auth-panel {
        padding: 24px;
    }
}