/*
 * auth.css
 * Giriş / Kayıt (üyelik) sayfaları — frontend/auth/login + register.
 * Versiyon 1 düzeni; renkler ve tipografi Portal tasarım > Sayfalar > Giriş/Kayıt
 * (theme.css içindeki --auth-* değişkenleri).
 */

/* ===== frontend/auth/login.blade.php + register.blade.php ===== */
body.auth-page,
body.auth-page.bg-gray {
    background: var(--auth-page-bg, #f5f7f7);
}

.auth-page .login-area {
    padding-top: 30px;
    padding-bottom: 48px;
}

.auth-page .login-form {
    padding: 40px;
    background: var(--auth-card-bg, #ffffff);
    border-radius: 10px;
    box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.auth-page .login-form .login-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.auth-page .login-form .login-header h3 {
    color: var(--auth-title, #005d5b);
    margin-bottom: 5px;
    font-family: var(--auth-title-font, inherit);
    font-size: var(--auth-title-size, 26px);
    font-weight: var(--auth-title-weight, 800);
    line-height: 1.25;
}

.auth-page .login-form .login-header p {
    margin: 8px 0 0;
    color: var(--auth-text, #555);
    font-family: var(--auth-body-font, inherit);
    font-size: var(--auth-body-size, 15px);
    font-weight: var(--auth-body-weight, 400);
    line-height: 1.5;
}

.auth-page .login-form .form-group {
    margin-bottom: 20px;
}

.auth-page .login-form label,
.auth-page .login-form .form-check-label {
    color: var(--auth-label, #222);
    font-family: var(--auth-label-font, inherit);
    font-size: var(--auth-label-size, 14px);
    font-weight: var(--auth-label-weight, 600);
    margin-bottom: 5px;
}

/* portal.blocking purge: auth formunda gereken Bootstrap yardımcıları */
.auth-page .d-block { display: block !important; }
.auth-page .d-flex { display: flex !important; }
.auth-page .d-grid { display: grid !important; }
.auth-page .d-none { display: none !important; } /* d-block ile birlikteyse kazanır */
.auth-page .w-100 { width: 100% !important; }
.auth-page .align-items-center { align-items: center !important; }
.auth-page .justify-content-between { justify-content: space-between !important; }
.auth-page .flex-grow-1 { flex-grow: 1 !important; }
.auth-page .position-relative { position: relative !important; }
.auth-page .position-absolute { position: absolute !important; }
.auth-page .overflow-hidden { overflow: hidden !important; }
.auth-page .rounded { border-radius: 0.375rem !important; }
.auth-page .text-center { text-align: center !important; }
.auth-page .text-muted { color: #6c757d !important; }
.auth-page .pe-5 { padding-right: 3rem !important; }
.auth-page .px-3 { padding-right: 1rem !important; padding-left: 1rem !important; }
.auth-page .mt-1 { margin-top: 0.25rem !important; }
.auth-page .mt-2 { margin-top: 0.5rem !important; }
.auth-page .mt-3 { margin-top: 1rem !important; }
.auth-page .mt-4 { margin-top: 1.5rem !important; }
.auth-page .mb-0 { margin-bottom: 0 !important; }
.auth-page .mb-2 { margin-bottom: 0.5rem !important; }
.auth-page .mb-3 { margin-bottom: 1rem !important; }
.auth-page .mb-4 { margin-bottom: 1.5rem !important; }
.auth-page .me-1 { margin-right: 0.25rem !important; }
.auth-page .me-2 { margin-right: 0.5rem !important; }
.auth-page .ms-1 { margin-left: 0.25rem !important; }
.auth-page .gap-3 { gap: 1rem !important; }

.auth-page .login-form .form-control,
.auth-page .login-form .form-select {
    display: block;
    width: 100%;
    border: 1px solid var(--auth-input-border, #e8e8e8);
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: none;
    transition: border-color .35s ease, box-shadow .35s ease;
    font-family: var(--auth-body-font, inherit);
    font-size: var(--auth-body-size, 15px);
    line-height: 1.5;
    color: var(--auth-label, #222);
    background-color: #fff;
    appearance: none;
}

.auth-page .login-form .form-select {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 16px 12px;
}

.auth-page .login-form textarea.form-control {
    min-height: 96px;
    resize: vertical;
}

.auth-page .login-form .form-control:focus,
.auth-page .login-form .form-select:focus {
    border-color: var(--auth-input-focus, #005d5b);
    outline: 0;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--auth-input-focus, #005d5b) 18%, transparent);
}

.auth-page .login-form .row > [class*="col-"] {
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.auth-page .login-form .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.auth-page .login-form .is-invalid ~ .invalid-feedback,
.auth-page .login-form .invalid-feedback:not(:empty) {
    display: block;
}

/* portal.blocking'de purge edilen Bootstrap form yardımcıları */
.auth-page .login-form .form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}

.auth-page .login-form .form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
}

.auth-page .login-form .form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 6.3px;
    vertical-align: top;
    appearance: none;
    print-color-adjust: exact;
    background-color: #fff;
    background-image: var(--bs-form-check-bg-image, none);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 0.25em;
    box-shadow: none;
}

.auth-page .login-form .text-danger {
    color: #dc3545 !important;
}

.auth-page .login-form .is-invalid {
    border-color: #dc3545 !important;
}

.auth-page .login-form .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.auth-page .login-form .input-group > .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.auth-page .login-form .input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 10px;
}

.auth-page .login-form .form-check-input:focus {
    border-color: var(--auth-input-focus, var(--theme-color, #0f3467));
    outline: 0;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--auth-input-focus, var(--theme-color, #0f3467)) 18%, transparent);
}

.auth-page .login-form .form-check-input:checked {
    background-color: var(--auth-accent, var(--theme-color, #0f3467));
    border-color: var(--auth-accent, var(--theme-color, #0f3467));
}

.auth-page .login-form .form-check-input:checked[type="checkbox"] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.auth-page .login-form .forgot-pass {
    color: var(--auth-accent, #005d5b);
    font-family: var(--auth-link-font, inherit);
    font-size: var(--auth-link-size, 14px);
    font-weight: var(--auth-link-weight, 700);
    transition: opacity .3s ease;
}

.auth-page .login-form .forgot-pass:hover {
    color: var(--auth-accent, #005d5b);
    opacity: .85;
}

.auth-page .login-form .theme-btn {
    width: 100%;
    background: var(--auth-button-bg, #005d5b) !important;
    border-color: var(--auth-button-bg, #005d5b) !important;
    color: var(--auth-button-text, #fff) !important;
    font-family: var(--auth-button-font, inherit);
    font-size: var(--auth-button-size, 15px);
    font-weight: var(--auth-button-weight, 600);
}

.auth-page .login-form .theme-btn:hover,
.auth-page .login-form .theme-btn:focus-visible {
    filter: brightness(1.08);
    color: var(--auth-button-text, #fff) !important;
}

.auth-page .login-form .theme-btn:disabled {
    opacity: .55;
    filter: none;
}

.auth-page .login-form .theme-btn::before {
    width: 460px;
    height: 460px;
}

.auth-page .login-form .theme-btn i {
    margin-right: 5px;
}

.auth-page .login-form .login-footer {
    margin-top: 25px;
    text-align: center;
}

.auth-page .login-form .login-footer .auth-register-cta--classic p,
.auth-page .auth-login-v2__footer .auth-register-cta--classic p {
    margin: 0;
    color: var(--auth-text, #555);
    font-family: var(--auth-body-font, inherit);
    font-size: var(--auth-body-size, 15px);
    font-weight: var(--auth-body-weight, 400);
}

.auth-page .login-form .login-footer .auth-register-cta--classic a,
.auth-page .auth-login-v2__footer .auth-register-cta--classic a {
    color: var(--auth-accent, #0F3467);
    font-family: var(--auth-link-font, inherit);
    font-size: var(--auth-link-size, 14px);
    font-weight: var(--auth-link-weight, 700);
    text-decoration: none;
    transition: opacity .3s ease;
}

.auth-page .login-form .login-footer .auth-register-cta--classic a:hover,
.auth-page .auth-login-v2__footer .auth-register-cta--classic a:hover {
    color: var(--auth-accent, #0F3467);
    opacity: .85;
}

/* Kayıt CTA 2 — banner + kırmızı buton */
.auth-page .auth-register-cta--banner {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    text-align: left;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(15, 52, 103, .08) 0%, transparent 55%),
        linear-gradient(115deg, #f7faff 0%, #eef3f9 100%);
    border: 1px solid rgba(15, 52, 103, .1);
    box-shadow: 0 8px 22px -14px rgba(15, 52, 103, .35);
}

.auth-page .auth-register-cta__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--auth-accent, #0F3467) 12%, #fff);
    color: var(--auth-accent, #0F3467);
    font-size: 18px;
}

.auth-page .auth-register-cta__rule {
    flex: 0 0 1px;
    align-self: stretch;
    width: 1px;
    background: color-mix(in srgb, var(--auth-accent, #0F3467) 22%, transparent);
}

.auth-page .auth-register-cta__copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auth-page .auth-register-cta__title {
    display: block;
    color: var(--auth-title, #0F3467);
    font-family: var(--auth-title-font, inherit);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.auth-page .auth-register-cta__sub {
    display: block;
    color: var(--auth-text, #667085);
    font-family: var(--auth-body-font, inherit);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
}

.auth-page .auth-register-cta__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e4252d 0%, #c4121a 100%);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 6px 16px -8px rgba(196, 18, 26, .65);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.auth-page .auth-register-cta__btn i {
    font-size: 12px;
    transition: transform .18s ease;
}

.auth-page .auth-register-cta__btn:hover,
.auth-page .auth-register-cta__btn:focus-visible {
    color: #fff !important;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -10px rgba(196, 18, 26, .7);
}

.auth-page .auth-register-cta__btn:hover i {
    transform: translateX(2px);
}

@media (max-width: 575.98px) {
    .auth-page .auth-register-cta--banner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px;
    }
    .auth-page .auth-register-cta__rule {
        display: none;
    }
    .auth-page .auth-register-cta__copy {
        flex: 1 1 calc(100% - 58px);
    }
    .auth-page .auth-register-cta__btn {
        width: 100%;
    }
}

/* ===== frontend/auth/partials/login-social — Google / LinkedIn ===== */
.auth-page .auth-social {
    margin-top: 22px;
}

.auth-page .auth-social--register {
    display: flex;
    flex-direction: column;
    margin: 0 0 18px;
}

/* Kayıt: Google/LinkedIn → ya da → form */
.auth-page .auth-social--register .auth-social__list {
    order: 1;
}

.auth-page .auth-social--register .auth-social__divider {
    order: 2;
    margin: 16px 0 0;
    font-size: 12px;
}

.auth-page .auth-social--register .auth-social__btn {
    min-height: 44px;
    border-radius: 12px;
    border-width: 1px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 42, 41, 0.04);
}

.auth-page .auth-social--register .auth-social__btn:hover {
    border-color: color-mix(in srgb, var(--auth-accent, #005d5b) 28%, #e2e8eb);
    background: #fbfcfc;
    box-shadow: 0 2px 8px rgba(15, 42, 41, 0.06);
}

.auth-page .auth-social--register .auth-social__icon {
    flex-basis: 42px;
    border-right-width: 1px;
}

.auth-page .auth-social__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--auth-text, #8a9a98);
    font-family: var(--auth-body-font, inherit);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.auth-page .auth-social__divider::before,
.auth-page .auth-social__divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: color-mix(in srgb, var(--auth-input-border, #d0d5d5) 80%, transparent);
}

.auth-page .auth-social__list {
    display: grid;
    gap: 10px;
}

.auth-page .auth-social--cols-2 .auth-social__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-page .auth-social--cols-1 .auth-social__list {
    grid-template-columns: 1fr;
}

.auth-page .auth-social__btn[hidden] {
    display: none !important;
}

.auth-page .auth-social[hidden] {
    display: none !important;
}

.auth-page .auth-social__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 48px;
    min-width: 0;
    padding: 0 10px 0 0;
    border: 1.5px solid var(--auth-input-border, #d8dde3);
    border-radius: 10px;
    background: #fff;
    color: var(--auth-title, #0f2a5a);
    font-family: var(--auth-button-font, inherit);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.auth-page .auth-social__btn:hover {
    border-color: color-mix(in srgb, var(--auth-accent, #005d5b) 35%, #d8dde3);
    background: #fafbfc;
    color: var(--auth-title, #0f2a5a);
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.auth-page .auth-social__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    align-self: stretch;
    border-right: 1.5px solid var(--auth-input-border, #d8dde3);
}

.auth-page .auth-social__icon svg {
    display: block;
}

.auth-page .auth-social__label {
    flex: 1 1 auto;
    padding: 0 10px;
    min-width: 0;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .auth-page .auth-social--cols-2 .auth-social__list {
        grid-template-columns: 1fr;
    }
}

.auth-page .login-form .consent-group .form-check-label,
.auth-page .consent-group .form-check-label {
    color: var(--auth-text, var(--body-text-color, #5b6b82));
    font-weight: 400;
}

.auth-page .login-form .consent-group .form-check-label a,
.auth-page .consent-group .form-check-label a {
    color: var(--auth-accent, var(--theme-color, #0f3467));
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Şifre gücü / göz ikonu / gizli lang etiketleri */
.auth-page .toggle-password,
.auth-page .login-form .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    z-index: 5;
    line-height: 1;
}

.auth-page .af-field--password .toggle-password {
    right: 14px;
}

.auth-page #lang-weak,
.auth-page #lang-medium,
.auth-page #lang-strong,
.auth-page #lang-error {
    display: none !important;
}

.auth-page .auth-password-meter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-page .auth-password-meter[hidden],
.auth-page .auth-password-meter.is-empty {
    display: none !important;
}

.auth-page .auth-password-meter__text {
    min-width: 3.5rem;
    margin: 0;
    white-space: nowrap;
    font-size: 0.85rem;
    color: #6c757d;
}

.auth-page .auth-password-meter__track {
    flex: 1 1 auto;
    height: 6px;
    overflow: hidden;
    border-radius: 4px;
    background: #e0e0e0;
}

.auth-page .auth-password-meter__bar {
    height: 6px;
    width: 0%;
    border-radius: 4px;
    background: #dc3545;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.auth-page #password-match-error.d-none,
.auth-page #password-weak-error.d-none {
    display: none !important;
}

.auth-page #password-match-error:not(.d-none),
.auth-page #password-weak-error:not(.d-none) {
    display: block;
}

/* Yalnızca telefon alan kodu Select2 — konum select’lerine uygulanmaz */
.auth-page .login-form .auth-phone-shell .select2-container,
.auth-page .login-form .phone-field-row .select2-container {
    max-width: 120px;
    flex-shrink: 0;
}

.auth-page .login-form .auth-phone-shell .select2-container .select2-selection--single,
.auth-page .login-form .phone-field-row .select2-container .select2-selection--single {
    height: 48px;
    border: 1px solid var(--auth-input-border, #e8e8e8);
    border-radius: 10px;
    padding: 8px 10px;
}

.auth-page .login-form .auth-phone-shell .select2-container--default .select2-selection--single .select2-selection__rendered,
.auth-page .login-form .phone-field-row .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
    padding-left: 0;
    color: var(--auth-label, #222);
}

.auth-page .login-form .auth-phone-shell .select2-container--default .select2-selection--single .select2-selection__arrow,
.auth-page .login-form .phone-field-row .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

/* ===== register: hesap tipi sekmeleri ===== */
.auth-page .account-type-tabs {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-page .account-type-tabs .nav-fill {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.auth-page .account-type-tabs .nav-fill > .nav-item {
    flex: 1 1 auto;
    text-align: center;
}

.auth-page .account-type-tabs .nav-fill .nav-link {
    width: 100%;
}

.auth-page .account-type-tabs .nav-pills {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
    gap: 6px;
}

.auth-page .account-type-tabs .nav-link {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    color: #6c757d;
    background: transparent;
    transition: color .25s ease, background .25s ease, transform .2s ease, box-shadow .25s ease;
}

.auth-page .account-type-tabs .nav-link:hover {
    color: var(--auth-accent, #005d5b);
    background: color-mix(in srgb, var(--auth-accent, #005d5b) 8%, transparent);
}

.auth-page .account-type-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--auth-accent, #005d5b), color-mix(in srgb, var(--auth-accent, #005d5b) 70%, #fff));
    color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--auth-accent, #005d5b) 22%, transparent);
    transform: translateY(-1px);
}

.auth-page .account-type-tabs .nav-link i {
    font-size: 16px;
    margin-right: 8px;
}

/* ===== kayıt: bilet (tf-field) tarzı floating alanlar + soft hata ===== */
.auth-page .auth-form-fields > [class*="col-"] > .form-group {
    margin-bottom: 0;
}

.auth-page .af-field {
    position: relative;
}

.auth-page .af-field .form-control,
.auth-page .af-field .form-select {
    height: 56px;
    padding: 18px 16px 8px !important;
    border-radius: 12px !important;
    border: 0 !important;
    background: #eef3f3 !important;
    box-shadow: inset 0 0 0 1px #d7e2e1 !important;
    color: var(--auth-label, #1a2b2a) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    transition: background .15s ease, box-shadow .15s ease !important;
}

.auth-page .af-field .form-control:focus,
.auth-page .af-field .form-select:focus {
    background: #fff !important;
    box-shadow:
        inset 0 0 0 1.5px var(--auth-input-focus, var(--auth-accent, #005d5b)),
        0 0 0 4px color-mix(in srgb, var(--auth-input-focus, var(--auth-accent, #005d5b)) 12%, transparent) !important;
    outline: none !important;
}

.auth-page .af-field label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #9aafad;
    pointer-events: none;
    transition: top .15s ease, transform .15s ease, font-size .15s ease, color .15s ease;
    z-index: 2;
}

.auth-page .af-field .form-control:focus + label,
.auth-page .af-field .form-control:not(:placeholder-shown) + label,
.auth-page .af-field--select:has(select:focus) label,
.auth-page .af-field--select:has(select option:checked:not([value=""])) label,
.auth-page .af-field--textarea textarea:focus + label,
.auth-page .af-field--textarea textarea:not(:placeholder-shown) + label {
    top: 9px;
    transform: none;
    font-size: 11px;
    font-weight: 700;
    color: var(--auth-accent, #005d5b);
}

.auth-page .af-field .form-control::placeholder,
.auth-page .af-field textarea::placeholder {
    color: transparent;
}

.auth-page .af-field--password .form-control {
    padding-right: 44px !important;
}

.auth-page .af-field--textarea .form-control,
.auth-page .af-field--textarea textarea {
    height: auto;
    min-height: 96px;
    padding-top: 24px !important;
    padding-bottom: 12px !important;
    resize: vertical;
}

.auth-page .af-field--textarea label {
    top: 18px;
    transform: none;
}

.auth-page .af-field--select .form-select {
    padding-right: 2.5rem !important;
}

/* Boş select: yalnızca floating label görünsün (Seçiniz metniyle çakışmasın) */
.auth-page .af-field--select:not(:has(select option:checked:not([value=""]))) .form-select {
    color: transparent !important;
}

.auth-page .af-field--select:not(:has(select option:checked:not([value=""]))) .form-select:focus {
    color: transparent !important;
}

/* Select2 — ülke / il / ilçe (aranabilir) */
.auth-page .af-field--select2 {
    z-index: 1;
}

.auth-page .af-field--select2:has(.select2-container--open) {
    z-index: 8;
}

.auth-page .af-field--select2 .select2-container {
    width: 100% !important;
    max-width: none !important;
    display: block;
}

.auth-page .login-form .af-field--select2 .select2-container {
    max-width: none !important;
    width: 100% !important;
    flex-shrink: 1;
}

.auth-page .af-field--select2 .select2-container .select2-selection--single {
    height: 56px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #eef3f3 !important;
    box-shadow: inset 0 0 0 1px #d7e2e1 !important;
    padding: 0 !important;
    display: block;
    transition: background .15s ease, box-shadow .15s ease;
}

.auth-page .af-field--select2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: block;
    line-height: 1.2 !important;
    padding: 22px 2.4rem 8px 16px !important;
    color: var(--auth-label, #1a2b2a) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-page .af-field--select2 .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: transparent !important;
}

.auth-page .af-field--select2 .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 56px;
    top: 0;
    right: 10px;
    width: 24px;
}

.auth-page .af-field--select2 .select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    float: none !important;
    margin: 0 !important;
    font-weight: 700;
    color: #8aa9a6;
    z-index: 2;
}

.auth-page .af-field--select2 .select2-container--default.select2-container--open .select2-selection--single,
.auth-page .af-field--select2 .select2-container--default.select2-container--focus .select2-selection--single {
    background: #fff !important;
    box-shadow:
        inset 0 0 0 1.5px var(--auth-input-focus, var(--auth-accent, #005d5b)),
        0 0 0 4px color-mix(in srgb, var(--auth-input-focus, var(--auth-accent, #005d5b)) 12%, transparent) !important;
}

/* Select2’de etiket her zaman üstte — boş/dolu aynı dil */
.auth-page .af-field--select2 > label {
    top: 9px;
    transform: none;
    font-size: 11px;
    font-weight: 700;
    color: #9aafad;
}

.auth-page .af-field--select2.is-filled > label,
.auth-page .af-field--select2:has(.select2-container--open) > label,
.auth-page .af-field--select2:has(.select2-container--focus) > label {
    color: var(--auth-accent, #005d5b);
}

.auth-page .af-field--select2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--auth-label, #1a2b2a) !important;
}

.auth-page .af-field--select2.select2-disabled .select2-container .select2-selection--single,
.auth-page .af-field--select2 .select2-container--disabled .select2-selection--single {
    background: #e7eeee !important;
    opacity: 0.72;
    cursor: not-allowed;
}

.auth-page .af-field--select2.is-error .select2-container .select2-selection--single {
    background: #fff8f8 !important;
    box-shadow: inset 0 0 0 1.5px #efb4b8, 0 0 0 4px rgba(224, 102, 112, 0.08) !important;
}

.auth-page .af-field--select2 .select2-dropdown {
    border: 1px solid #d7e2e1;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15, 42, 41, 0.14);
    overflow: hidden;
    z-index: 1060;
}

.auth-page .af-field--select2 .select2-search--dropdown {
    padding: 10px;
}

.auth-page .af-field--select2 .select2-search--dropdown .select2-search__field {
    border: 1px solid #d7e2e1 !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    outline: none;
}

.auth-page .af-field--select2 .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--auth-accent, #005d5b) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-accent, #005d5b) 14%, transparent);
}

.auth-page .af-field--select2 .select2-results__option {
    padding: 10px 12px;
    font-size: 14px;
}

.auth-page .af-field--select2 .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--auth-accent, #005d5b);
}

@media (max-width: 767.98px) {
    .auth-page .af-field--select2 .select2-container .select2-selection--single {
        height: 54px !important;
    }
}

.auth-page .af-field .form-control.is-invalid,
.auth-page .af-field .form-select.is-invalid,
.auth-page .af-field.is-error .form-control,
.auth-page .af-field.is-error .form-select {
    border: 0 !important;
    background: #fff8f8 !important;
    box-shadow: inset 0 0 0 1.5px #efb4b8, 0 0 0 4px rgba(224, 102, 112, 0.08) !important;
}

.auth-page .af-field.is-error label,
.auth-page .af-field:has(.is-invalid) label {
    color: #cf3c47;
}

.auth-page .login-form .consent-group.is-error,
.auth-page .consent-group:has(.auth-field-error) {
    background: #fff7f7;
    box-shadow: inset 0 0 0 1.5px #f0b7bc;
}

.auth-page .auth-field-error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fdf1f1;
    color: #b8392b;
    border: 1px solid #f6d8db;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
    animation: authFieldErrorIn .18s ease;
}

.auth-page .auth-field-error__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 1px;
    color: #e06670;
}

.auth-page .auth-field-error__text {
    min-width: 0;
}

.auth-page .auth-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 12px;
    background: var(--auth-alert-error-bg, #fdf1f1);
    color: var(--auth-alert-error-text, #b8392b);
    border: 1px solid var(--auth-alert-error-border, #f6d8db);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

/* Marka başvurusu → üyelik bağlam bandı */
.auth-page .auth-apply-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 6%, #fff);
    border: 1px solid color-mix(in srgb, var(--auth-accent, #0f3467) 14%, #e6ebf0);
}

.auth-page .auth-apply-banner__media {
    flex: 0 0 auto;
}

.auth-page .auth-apply-banner__logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--auth-accent, #0f3467) 10%, #e8ecec);
    padding: 6px;
}

.auth-page .auth-apply-banner__icon {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 12%, #fff);
    color: var(--auth-accent, #0f3467);
    font-size: 22px;
}

.auth-page .auth-apply-banner__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.auth-page .auth-apply-banner__title {
    font-family: var(--auth-title-font, inherit);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--auth-title, #0f2a5a);
}

.auth-page .auth-apply-banner__text {
    font-family: var(--auth-body-font, inherit);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--auth-text, #667788);
}

.auth-page .auth-notice--error,
.auth-page .auth-notice--warning {
    background: var(--auth-alert-error-bg, #fdf1f1);
    color: var(--auth-alert-error-text, #b8392b);
    border-color: var(--auth-alert-error-border, #f6d8db);
}

.auth-page .auth-notice--success {
    background: var(--auth-alert-success-bg, #eef8f1);
    color: var(--auth-alert-success-text, #1f6b3a);
    border-color: var(--auth-alert-success-border, #cfe8d6);
}

.auth-page .auth-notice--success .auth-notice__icon {
    background: color-mix(in srgb, var(--auth-alert-success-border, #cfe8d6) 70%, #fff);
    color: var(--auth-alert-success-icon, #1f6b3a);
}

.auth-page .auth-notice--error .auth-notice__icon,
.auth-page .auth-notice--warning .auth-notice__icon {
    background: color-mix(in srgb, var(--auth-alert-error-border, #f6d8db) 70%, #fff);
    color: var(--auth-alert-error-icon, #cf3c47);
}

.auth-page .auth-notice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: color-mix(in srgb, var(--auth-alert-error-border, #f6d8db) 70%, #fff);
    color: var(--auth-alert-error-icon, #cf3c47);
    font-size: 11px;
    line-height: 1;
}

.auth-page .auth-notice__icon svg {
    width: 12px;
    height: 12px;
    display: block;
    flex: 0 0 auto;
}

.auth-page .auth-notice__icon i {
    line-height: 1;
}

.auth-page .auth-notice__text {
    min-width: 0;
    flex: 1;
}

.auth-page .auth-notice__text strong {
    display: block;
    margin-bottom: 2px;
    font-weight: 700;
}

.auth-page .auth-notice__text a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== frontend/auth/password/verify — kod kutuları ===== */
.auth-page .auth-code-inputs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 20px;
}

.auth-page .auth-code-input {
    width: 46px;
    height: 54px;
    padding: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--auth-label, #222);
    background: var(--auth-card-bg, #fff);
    border: 1.5px solid var(--auth-input-border, #d0d5d5);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -moz-appearance: textfield;
}

.auth-page .auth-code-input::-webkit-inner-spin-button,
.auth-page .auth-code-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.auth-page .auth-code-input:focus {
    border-color: var(--auth-input-focus, #005d5b);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-input-focus, #005d5b) 18%, transparent);
}

.auth-page .auth-verify-wait {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--auth-accent, #005d5b) 6%, #fff);
    color: var(--auth-text, #555);
    font-family: var(--auth-body-font, inherit);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.auth-page .auth-verify-wait.d-none {
    display: none !important;
}

.auth-page .auth-verify-wait__spinner {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border: 2px solid color-mix(in srgb, var(--auth-accent, #005d5b) 22%, transparent);
    border-top-color: var(--auth-accent, #005d5b);
    border-radius: 50%;
    animation: authVerifySpin 0.7s linear infinite;
}

.auth-page .auth-verify-wait__text {
    min-width: 0;
}

@keyframes authVerifySpin {
    to {
        transform: rotate(360deg);
    }
}

.auth-page .auth-verify-resend {
    text-align: center;
}

.auth-page .auth-resend-link {
    display: inline-block;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    color: var(--auth-accent, #005d5b);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.auth-page .auth-resend-link:disabled {
    color: var(--auth-text, #888);
    text-decoration: underline;
    cursor: default;
    opacity: 0.85;
}

@media (max-width: 480px) {
    .auth-page .auth-code-input {
        width: 40px;
        height: 48px;
        font-size: 18px;
        border-radius: 8px;
    }

    .auth-page .auth-code-inputs {
        gap: 6px;
    }
}

@keyframes authFieldErrorIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-page .auth-phone-shell {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 56px;
    border-radius: 12px;
    background: #eef3f3;
    box-shadow: inset 0 0 0 1px #d7e2e1;
    overflow: visible;
    transition: background .15s ease, box-shadow .15s ease;
}

.auth-page .auth-phone-shell:focus-within {
    background: #fff;
    box-shadow:
        inset 0 0 0 1.5px var(--auth-input-focus, var(--auth-accent, #005d5b)),
        0 0 0 4px color-mix(in srgb, var(--auth-input-focus, var(--auth-accent, #005d5b)) 12%, transparent);
}

.auth-page .auth-phone-shell.is-error,
.auth-page .auth-phone-shell.is-invalid {
    background: #fff8f8;
    box-shadow: inset 0 0 0 1.5px #efb4b8, 0 0 0 4px rgba(224, 102, 112, 0.08);
}

.auth-page .auth-phone-shell.is-error .country-select__toggle,
.auth-page .country-select.is-error .country-select__toggle {
    box-shadow: inset 0 0 0 1.5px #efb4b8 !important;
}

.auth-page .auth-phone-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 0;
}

.auth-page .auth-phone-country {
    flex: 0 0 180px;
    min-width: 150px;
    max-width: 200px;
    position: relative;
    z-index: 6;
    border-right: 1px solid var(--auth-input-border, #e8e8e8);
}

.auth-page .auth-phone-country .country-select,
.auth-page .auth-phone-country .country-select__toggle {
    width: 100%;
    height: 100%;
}

.auth-page .auth-phone-country .country-select__toggle {
    display: flex;
    align-items: center;
    min-height: 56px;
    height: 100%;
    padding: 0 10px 0 12px;
    border: 0 !important;
    border-radius: 12px 0 0 12px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.auth-page .auth-phone-country .country-select__toggle:focus {
    box-shadow: none !important;
    border-color: transparent !important;
}

.auth-page .auth-phone-country .country-select__value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--auth-label, var(--color-dark, #0f3467));
}

.auth-page .auth-phone-country .country-select__flag {
    font-size: 18px;
    line-height: 1;
}

.auth-page .auth-phone-country .country-select__caret {
    margin-left: auto;
    color: #8a97a8;
}

.auth-page .auth-phone-country .country-select__dropdown {
    left: 0;
    right: auto;
    width: min(340px, calc(100vw - 48px));
    min-width: 280px;
}

.auth-page .auth-phone-country .country-select__option:hover,
.auth-page .auth-phone-country .country-select__option.is-active {
    background-color: color-mix(in srgb, var(--auth-accent, var(--theme-color, #0f3467)) 8%, #fff);
}

.auth-page .auth-phone-country .country-select__option.is-selected {
    background-color: color-mix(in srgb, var(--auth-accent, var(--theme-color, #0f3467)) 14%, #fff);
}

.auth-page .auth-phone-row .phone-code-input,
.auth-page .auth-phone-row .auth-phone-number,
.auth-page .auth-phone-row .form-control,
.auth-page .auth-phone-row .form-select {
    height: 56px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.auth-page .auth-phone-row .phone-code-input {
    flex: 0 0 72px;
    width: 72px;
    max-width: 72px;
    text-align: center;
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-weight: 700;
    color: var(--auth-accent, var(--theme-color, #0f3467));
    border-right: 1px solid var(--auth-input-border, #e8e8e8) !important;
}

.auth-page .auth-phone-row .phone-code-input[readonly] {
    cursor: default;
    user-select: none;
    caret-color: transparent;
    opacity: 1;
    color: var(--auth-accent, var(--theme-color, #0f3467)) !important;
    background: transparent !important;
}

.auth-page .auth-phone-row .auth-phone-number {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 14px !important;
    padding-right: 14px !important;
    border-radius: 0 12px 12px 0 !important;
    font-weight: 500;
    color: var(--auth-label, var(--color-dark, #0f3467));
}

.auth-page .auth-phone-row .auth-phone-number::placeholder {
    color: #9aa6b5;
    font-weight: 500;
    opacity: 1;
}

.auth-page .auth-phone-shell--en .auth-phone-code-wrap {
    flex: 0 0 110px;
    max-width: 120px;
    border-right: 1px solid var(--auth-input-border, #e8e8e8);
}

.auth-page .auth-phone-shell--en .auth-phone-code-select {
    width: 100%;
    height: 56px;
    padding-left: 12px !important;
    padding-right: 28px !important;
    font-weight: 700;
    color: var(--auth-accent, var(--theme-color, #0f3467));
    border-radius: 12px 0 0 12px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238a97a8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.7rem center !important;
    background-size: 12px 10px !important;
}

@media (max-width: 575.98px) {
    .auth-page .auth-phone-row {
        flex-wrap: wrap;
    }

    .auth-page .auth-phone-country {
        flex: 1 1 100%;
        min-width: 0;
        max-width: none;
        border-right: 0;
        border-bottom: 1px solid var(--auth-input-border, #e8e8e8);
    }

    .auth-page .auth-phone-country .country-select__toggle {
        border-radius: 12px 12px 0 0 !important;
    }

    .auth-page .auth-phone-row .phone-code-input {
        flex: 0 0 78px;
        width: 78px;
        max-width: 78px;
    }

    .auth-page .auth-phone-row .auth-phone-number {
        flex: 1 1 calc(100% - 78px);
    }

    .auth-page .auth-phone-shell--en .auth-phone-code-wrap {
        flex: 0 0 96px;
    }
}

@media (max-width: 768px) {
    .auth-page .login-form {
        padding: 28px 20px;
    }

    .auth-page .account-type-tabs .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }

    .auth-page .account-type-tabs .nav-link i {
        font-size: 14px;
        margin-right: 6px;
    }
}

/* ===== login Tasarım 1 yardımcı ===== */
.auth-page .auth-verify-badge {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    border-radius: 50%;
    padding: 0 8px;
    font-size: 18px;
    font-weight: bold;
}

/* ===== login Tasarım 2 — modern panel ===== */
.auth-login--d2 {
    background:
        radial-gradient(1200px 480px at 12% -10%, color-mix(in srgb, var(--auth-accent, #0f3467) 18%, transparent), transparent 60%),
        radial-gradient(900px 420px at 100% 0%, color-mix(in srgb, var(--auth-button-bg, #005d5b) 14%, transparent), transparent 55%),
        linear-gradient(180deg, color-mix(in srgb, var(--auth-page-bg, #f5f7f7) 88%, #dfe8ef), var(--auth-page-bg, #f5f7f7)) !important;
}

.auth-login-v2 {
    position: relative;
    padding: 48px 0 64px;
    overflow: hidden;
}

.auth-login-v2__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(color-mix(in srgb, var(--auth-accent, #0f3467) 6%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--auth-accent, #0f3467) 6%, transparent) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 78%);
    opacity: 0.55;
}

.auth-login-v2__container {
    position: relative;
    z-index: 1;
    max-width: 675px;
}

.auth-login-v2__panel {
    padding: 36px 36px 32px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--auth-card-bg, #fff) 92%, transparent);
    border: 1px solid color-mix(in srgb, var(--auth-accent, #0f3467) 10%, #e6ebec);
    box-shadow:
        0 1px 0 color-mix(in srgb, #fff 70%, transparent) inset,
        0 18px 48px rgba(15, 42, 61, 0.08);
    backdrop-filter: blur(8px);
    animation: authLoginV2In 0.45s ease;
}

.auth-login-v2__brand {
    margin-bottom: 28px;
}

.auth-login-v2__eyebrow {
    margin: 0 0 10px;
    font-family: var(--auth-label-font, inherit);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a97a8;
    line-height: 1.3;
}

.auth-login-v2__title {
    margin: 0;
    font-family: var(--auth-title-font, inherit);
    font-size: clamp(26px, 3.6vw, 34px);
    font-weight: var(--auth-title-weight, 800);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--auth-title, #0f3467);
}

.auth-login-v2__subtitle {
    margin: 10px 0 0;
    max-width: 34ch;
    font-family: var(--auth-body-font, inherit);
    font-size: var(--auth-body-size, 15px);
    font-weight: var(--auth-body-weight, 400);
    line-height: 1.55;
    color: var(--auth-text, #667788);
}

/* Tasarım 2: Beni hatırla — tema rengi (varsayılan mavi değil) */
.auth-login-v2 .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding-left: 0;
    margin: 0;
}

.auth-login-v2 .form-check-input {
    float: none;
    margin: 0;
    width: 1.05em;
    height: 1.05em;
    flex: 0 0 auto;
    appearance: none;
    print-color-adjust: exact;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1.5px solid color-mix(in srgb, var(--auth-accent, #0f3467) 35%, #c5ced6);
    border-radius: 4px;
    box-shadow: none;
    cursor: pointer;
}

.auth-login-v2 .form-check-input:focus {
    border-color: var(--auth-accent, #0f3467);
    outline: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-accent, #0f3467) 16%, transparent);
}

.auth-login-v2 .form-check-input:checked {
    background-color: var(--auth-accent, #0f3467);
    border-color: var(--auth-accent, #0f3467);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.auth-login-v2 .form-check-label {
    margin: 0;
    cursor: pointer;
    color: var(--auth-label, #4b5563);
    font-family: var(--auth-label-font, inherit);
    font-size: var(--auth-label-size, 14px);
    font-weight: 500;
}

.auth-login-v2__form {
    display: grid;
    gap: 16px;
}

.auth-login-v2__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.auth-login-v2__forgot {
    font-family: var(--auth-link-font, inherit);
    font-size: var(--auth-link-size, 14px);
    font-weight: var(--auth-link-weight, 700);
    color: var(--auth-accent, #0f3467);
    text-decoration: none;
}

.auth-login-v2__forgot:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-login-v2__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--auth-button-bg, var(--theme-color2, #0f3467));
    color: var(--auth-button-text, #fff);
    font-family: var(--auth-button-font, inherit);
    font-size: var(--auth-button-size, 15px);
    font-weight: var(--auth-button-weight, 600);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--auth-button-bg, #0f3467) 28%, transparent);
}

.auth-login-v2__submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    color: var(--auth-button-text, #fff);
}

.auth-login-v2__submit i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.auth-login-v2__submit:hover i {
    transform: translateX(3px);
}

.auth-login-v2__footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid color-mix(in srgb, var(--auth-accent, #0f3467) 10%, #e8ecec);
    text-align: center;
}

.auth-login-v2__footer .auth-register-cta--banner {
    text-align: left;
}

@keyframes authLoginV2In {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575.98px) {
    .auth-login-v2 {
        padding: 28px 0 48px;
    }

    .auth-login-v2__panel {
        padding: 26px 20px 24px;
        border-radius: 16px;
    }

    .auth-login-v2__title {
        font-size: 26px;
    }
}

/* ===== register-form-v2 — iki adımlı modern kayıt (auth-login-v2 paneli) ===== */
.auth-register-v2 .auth-login-v2__subtitle {
    max-width: none;
}

.auth-register-v2 .reg-step[hidden] {
    display: none !important;
}

.auth-register-v2 .reg-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 20px;
}

.auth-register-v2 .reg-steps__item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    text-align: center;
}

.auth-register-v2 .reg-steps__dot {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    background: #eef1f4;
    color: #9aa5b2;
    border: 0;
    box-shadow: none;
    transition: background .18s ease, color .18s ease;
}

.auth-register-v2 .reg-steps__label {
    font-size: 11.5px;
    font-weight: 500;
    color: #9aa5b2;
    line-height: 1.25;
    max-width: 108px;
    white-space: nowrap;
}

.auth-register-v2 .reg-steps__item.is-active .reg-steps__dot,
.auth-register-v2 .reg-steps__item.is-done .reg-steps__dot {
    background: var(--auth-accent, #0f3467);
    color: #fff;
    box-shadow: none;
}

.auth-register-v2 .reg-steps__item.is-active .reg-steps__label,
.auth-register-v2 .reg-steps__item.is-done .reg-steps__label {
    color: var(--auth-title, #0f2a5a);
    font-weight: 600;
}

.auth-register-v2 .reg-steps__line {
    flex: 0 0 36px;
    width: 36px;
    height: 1px;
    margin: 12px 10px 0;
    border-radius: 999px;
    background: #e3e8ee;
    overflow: hidden;
}

.auth-register-v2 .reg-steps__line-fill {
    display: block;
    width: 0;
    height: 100%;
    background: var(--auth-accent, #0f3467);
    transition: width .25s ease;
}

.auth-register-v2 .reg-steps__line.is-complete .reg-steps__line-fill {
    width: 100%;
}

.auth-register-v2 .reg-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.auth-register-v2 .reg-type-grid.is-need-select .reg-type-card {
    border-color: color-mix(in srgb, var(--auth-accent, #0f3467) 45%, #d8dee6);
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 4%, #fff);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-accent, #0f3467) 10%, transparent);
}

.auth-register-v2 .reg-type-grid.is-nudge {
    animation: regTypeNudge 0.45s ease;
}

.auth-register-v2 .reg-type-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 7%, #fff);
    border: 1px solid color-mix(in srgb, var(--auth-accent, #0f3467) 14%, #e6ebf0);
    color: var(--auth-title, #0f2a5a);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
}

.auth-register-v2 .reg-type-hint[hidden] {
    display: none !important;
}

.auth-register-v2 .reg-type-hint i {
    margin-top: 1px;
    color: var(--auth-accent, #0f3467);
    font-size: 13px;
    flex: 0 0 auto;
}

@keyframes regTypeNudge {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(2px); }
}

.auth-register-v2 .reg-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 210px;
    padding: 22px 16px 18px;
    border: 1.5px solid #e4e9ef;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.auth-register-v2 .reg-type-card:hover {
    border-color: color-mix(in srgb, var(--auth-accent, #0f3467) 35%, #e4e9ef);
    box-shadow: 0 8px 20px rgba(15, 42, 90, 0.06);
}

.auth-register-v2 .reg-type-card.is-selected {
    border-color: var(--auth-accent, #0f3467);
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 6%, #fff);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--auth-accent, #0f3467) 12%, transparent);
}

.auth-register-v2 .reg-type-card__check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1.5px solid #d5dde6;
    background: #fff;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.auth-register-v2 .reg-type-card.is-selected .reg-type-card__check {
    border-color: var(--auth-accent, #0f3467);
    background: var(--auth-accent, #0f3467);
    color: #fff;
}

.auth-register-v2 .reg-type-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 10%, #fff);
    color: var(--auth-accent, #0f3467);
    font-size: 1.15rem;
}

.auth-register-v2 .reg-type-card__title {
    font-family: var(--auth-type-title-font, var(--auth-title-font, inherit));
    font-size: var(--auth-type-title-size, 17px);
    font-weight: var(--auth-type-title-weight, 700);
    line-height: 1.3;
    color: var(--auth-title, #0f2a5a);
}

.auth-register-v2 .reg-type-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fdeeee;
    color: #c0392b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.auth-register-v2 .reg-type-card__desc {
    font-family: var(--auth-type-desc-font, var(--auth-body-font, inherit));
    font-size: var(--auth-type-desc-size, 14px);
    font-weight: var(--auth-type-desc-weight, 500);
    line-height: 1.5;
    color: #5f6e80;
}

.auth-register-v2 .reg-continue {
    margin-top: 4px;
}

.auth-register-v2 .reg-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 7%, #fff);
}

.auth-register-v2 .reg-summary__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 12%, #fff);
    color: var(--auth-accent, #0f3467);
    flex: 0 0 auto;
}

.auth-register-v2 .reg-summary__divider {
    width: 1px;
    height: 22px;
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 18%, transparent);
    flex: 0 0 auto;
}

.auth-register-v2 .reg-summary__label {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--auth-title, #0f2a5a);
}

.auth-register-v2 .reg-summary__change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid color-mix(in srgb, var(--auth-accent, #0f3467) 35%, #d8dde3);
    background: #fff;
    color: var(--auth-accent, #0f3467);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.auth-register-v2 .reg-summary__change:hover {
    background: color-mix(in srgb, var(--auth-accent, #0f3467) 6%, #fff);
}

.auth-register-v2 #register-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    filter: none;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .auth-register-v2 .reg-type-grid {
        grid-template-columns: 1fr;
    }

    .auth-register-v2 .reg-type-card {
        min-height: 0;
    }

    .auth-register-v2 .reg-steps__line {
        flex-basis: 28px;
        width: 28px;
        margin-left: 8px;
        margin-right: 8px;
    }

    .auth-register-v2 .reg-steps__label {
        font-size: 10.5px;
        max-width: 92px;
        white-space: normal;
    }

    .auth-register-v2 .reg-summary {
        flex-wrap: wrap;
    }

    .auth-register-v2 .reg-summary__change {
        margin-left: auto;
    }
}
