/* Auth — kompakt split layout (hero yok) */
.auth-page {
    font-family: 'Montserrat', sans-serif;
    color: #111;
    background: #ececec;
    padding: 24px 16px 40px;
}

.auth-shell {
    display: flex;
    flex-direction: column;
    max-width: 440px;
    margin: 0 auto;
}

.auth-brand--mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-brand--mobile .site-logo-wrap {
    --site-logo-w: 160px;
    --site-logo-h: 36px;
}

.auth-panel {
    display: none;
}

.auth-main {
    width: 100%;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.auth-card__head {
    margin-bottom: 22px;
}

.auth-card__eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ca1515;
    margin-bottom: 6px;
}

.auth-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
    margin: 0 0 6px;
}

.auth-card__desc {
    font-size: 13px;
    color: #777;
    line-height: 1.55;
    margin: 0;
}

.auth-card__desc a {
    color: #ca1515;
    font-weight: 600;
    text-decoration: none;
}

.auth-card__desc a:hover {
    text-decoration: underline;
}

/* Steps */
.auth-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 14px;
}

.auth-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-step__dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #fff;
    border: 2px solid #ddd;
    color: #999;
}

.auth-step__dot i {
    font-size: 10px;
}

.auth-step__label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
}

.auth-step.is-active .auth-step__dot {
    background: #ca1515;
    border-color: #ca1515;
    color: #fff;
}

.auth-step.is-active .auth-step__label {
    color: #111;
}

.auth-step.is-done .auth-step__dot {
    background: #111;
    border-color: #111;
    color: #fff;
}

.auth-step__line {
    width: 32px;
    height: 2px;
    background: #e5e5e5;
    margin: 0 10px;
}

.auth-step__line.is-done {
    background: #111;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-form__group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.auth-form__group label span {
    color: #ca1515;
}

.auth-field {
    position: relative;
}

.auth-field__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s;
}

.auth-form__input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #222;
    background: #f8f8f8;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-field .auth-form__input {
    padding-left: 42px;
}

.auth-form__input:focus {
    outline: none;
    border-color: #ca1515;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(202, 21, 21, 0.08);
}

.auth-field:focus-within .auth-field__icon {
    color: #ca1515;
}

.auth-form__input--otp {
    text-align: center;
    font-size: 1.25rem;
    letter-spacing: 0.32em;
    font-weight: 700;
    padding-left: 14px !important;
}

.auth-form__hint {
    margin-top: 5px;
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

.auth-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    user-select: none;
}

.auth-check input {
    width: 16px;
    height: 16px;
    accent-color: #ca1515;
}

.auth-link {
    font-size: 13px;
    font-weight: 600;
    color: #ca1515;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.auth-btn--primary {
    background: linear-gradient(135deg, #ca1515 0%, #a81212 100%);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(202, 21, 21, 0.25);
}

.auth-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(202, 21, 21, 0.32);
}

.auth-btn--ghost {
    width: auto;
    padding: 8px 0;
    background: transparent;
    color: #ca1515 !important;
    font-size: 12px;
    font-weight: 600;
    box-shadow: none;
}

.auth-btn--ghost:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Perks — mobilde kompakt, desktop panelde büyük */
.auth-perks {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.auth-perks--compact {
    padding: 12px;
    border-radius: 12px;
    background: #f8f8f8;
    border: 1px solid #efefef;
}

.auth-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}

.auth-perk i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff5f5;
    color: #ca1515;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.auth-panel__perks {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.auth-panel__perk {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.auth-panel__perk i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #f5c4c4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.auth-panel__perk strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.auth-panel__perk span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}

/* Alerts & footer */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 16px;
}

.auth-alert ul {
    margin: 0;
    padding-left: 16px;
}

.auth-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.auth-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #666;
}

.auth-footer a {
    color: #ca1515;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-footer p + p {
    margin-top: 6px;
}

/* ── Desktop split ── */
@media (min-width: 992px) {
    .auth-page {
        padding: 48px 24px 64px;
        background: linear-gradient(160deg, #e8e8e8 0%, #f5f5f5 100%);
    }

    .auth-shell {
        flex-direction: row;
        max-width: 960px;
        min-height: 560px;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
    }

    .auth-brand--mobile {
        display: none;
    }

    .auth-panel {
        display: flex;
        position: relative;
        width: 42%;
        flex-shrink: 0;
        background: linear-gradient(155deg, #121212 0%, #1a1212 50%, #2a1515 100%);
        overflow: hidden;
    }

    .auth-panel__inner {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        padding: 40px 36px;
        height: 100%;
    }

    .auth-panel__logo .site-logo-wrap {
        margin-bottom: 32px;
    }

    .auth-panel__title {
        font-size: 1.65rem;
        font-weight: 800;
        color: #fff;
        line-height: 1.25;
        margin: 0 0 12px;
    }

    .auth-panel__text {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.65;
        margin: 0;
        max-width: 280px;
    }

    .auth-panel__links {
        margin-top: auto;
        padding-top: 32px;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .auth-panel__links a {
        font-size: 12px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.55);
        text-decoration: none;
        transition: color 0.2s;
    }

    .auth-panel__links a:hover {
        color: #fff;
    }

    .auth-panel__glow {
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(202, 21, 21, 0.35) 0%, transparent 70%);
        bottom: -80px;
        right: -60px;
        pointer-events: none;
    }

    .auth-main {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 44px;
        background: #fff;
    }

    .auth-card {
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .auth-perks--compact {
        display: none;
    }

    .auth-steps {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .auth-page {
        padding: 16px 12px 32px;
    }

    .auth-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .auth-form__row {
        grid-template-columns: 1fr;
    }

    .auth-card__title {
        font-size: 1.2rem;
    }
}

@media (max-width: 991px) {
    .auth-panel__perks {
        display: none;
    }
}
