/* ============================================================
   KUVARS LINGERIE & NIGHTWEAR - MODERN LUXURY AUTHENTICATION
   Giriş (Login), Kayıt Ol (Register) ve Şifre Sıfırlama Stilleri
   ============================================================ */

.user-form-part {
    padding: 55px 0 85px;
    background: linear-gradient(180deg, #faf7f5 0%, #f5eee8 50%, #faf6f3 100%);
    position: relative;
    min-height: calc(85vh - 120px);
    display: flex;
    align-items: center;
}

.user-form-part::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background: radial-gradient(circle at 50% 20%, rgba(220, 190, 180, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.user-form-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 20px;
    padding: 42px 36px;
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.09), 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(226, 215, 208, 0.5);
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

/* Üst Marka Rozeti */
.auth-brand-badge {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: #fdf2f4;
    border: 1px solid rgba(139, 21, 56, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b1538;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.08);
}

.user-form-title {
    text-align: center;
    margin-bottom: 26px;
}

.user-form-title h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1e1e24;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    font-family: inherit;
}

.user-form-title p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Sekmeli Geçiş (Giriş Yap / Kayıt Ol) */
.auth-nav-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 24px;
    gap: 4px;
}

.auth-nav-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.auth-nav-tab:hover {
    color: #0f172a;
}

.auth-nav-tab.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* Form Alanları */
.user-form {
    width: 100%;
}

.auth-field-group {
    margin-bottom: 18px;
    text-align: left;
}

.auth-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.auth-input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 46px;
    font-size: 14px;
    color: #0f172a;
    background: #fcfbfb;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    font-family: inherit;
}

.auth-input.has-toggle {
    padding-right: 48px;
}

.auth-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.auth-input:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.auth-input:focus {
    background: #ffffff;
    border-color: #8b1538;
    box-shadow: 0 0 0 3.5px rgba(139, 21, 56, 0.12);
}

.auth-input-wrapper:focus-within .auth-input-icon {
    color: #8b1538;
}

/* Şifre Göster/Gizle Butonu */
.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px 8px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-password-toggle:hover {
    color: #1e1e24;
    background: rgba(15, 23, 42, 0.05);
}

/* Beni Hatırla & Şifremi Unuttum Satırı */
.auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.auth-custom-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #8b1538;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 8px;
}

.auth-checkbox-label {
    font-size: 13.5px;
    color: #475569;
    font-weight: 500;
}

.auth-forgot-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #8b1538;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.auth-forgot-link:hover {
    color: #5d0c24;
    text-decoration: underline !important;
}

/* Birincil Buton */
.auth-submit-btn {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e1e24 0%, #301724 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 30, 36, 0.2);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 30, 36, 0.28);
    filter: brightness(1.1);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-submit-btn.custom-disabled {
    opacity: 0.75;
    pointer-events: none;
    cursor: not-allowed;
}

/* Sosyal Giriş (OAuth) */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0 20px;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
    padding: 0 14px;
}

.auth-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.auth-social-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.auth-social-btn.google i {
    color: #ea4335;
    font-size: 16px;
}

.auth-social-btn.facebook i {
    color: #1877f2;
    font-size: 17px;
}

/* Güvenlik & Gizlilik Notu */
.auth-security-badge {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
}

.auth-security-badge i {
    color: #10b981;
    font-size: 14px;
}

/* Alt Hatırlatıcı / Geçiş Kutusu */
.auth-footer-prompt {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #64748b;
}

.auth-footer-prompt a {
    font-weight: 600;
    color: #8b1538;
    text-decoration: none !important;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.auth-footer-prompt a:hover {
    color: #5d0c24;
    text-decoration: underline !important;
}

/* Kayıt Sayfası İkili Sütun Düzeni */
.auth-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Geriye Dönük Uyumluluk (Legacy Sınıflar) */
.user-form-group {
    width: 100%;
}
.form-button button {
    width: 100%;
}

/* Duyarlı Ekran Uyarlamaları (Responsive) */
@media (max-width: 575px) {
    .user-form-part {
        padding: 30px 12px 60px;
    }
    .user-form-card {
        padding: 28px 20px;
        border-radius: 16px;
    }
    .auth-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .auth-options-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
