/* ============================================
   ESDEH AUTH PAGE - Giriş / Kayıt Sayfası
   ============================================ */

/* 
 * ÖNEMLİ: Bu CSS SADECE auth/account wrapper'larını hedefler
 * Header veya diğer tema elementlerini ETKİLEMEZ
 */

/* ============================================
   HEADER KORUMA - Auth CSS header'ı etkilememeli
   ============================================ */
/* 
 * NOT: Header stilleri esdeh-full-header eklentisi tarafından yönetilir.
 * Bu dosyadaki hiçbir stil header elementlerini hedeflememeli.
 * Tüm stiller .esdeh-auth-wrapper, .esdeh-account-wrapper veya
 * body class'ları ile birlikte kullanılmalıdır.
 */

/* Auth/Account sayfasında yalnızca içerik alanı etkilenir */
body.esdeh-auth-active .esdeh-main,
body.esdeh-account-active .esdeh-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Tema padding override */
body.esdeh-auth-active .site-content,
body.esdeh-auth-active .content-area,
body.esdeh-auth-active #primary,
body.esdeh-account-active .site-content,
body.esdeh-account-active .content-area,
body.esdeh-account-active #primary {
    padding-top: 0 !important;
}

/* Sayfa title gizle - auth kendi title'ını kullanır */
body.esdeh-auth-active .esdeh-page-title,
body.esdeh-account-active .esdeh-page-title {
    display: none !important;
}

/* Container override - auth tam genişlik kullanır */
body.esdeh-auth-active .esdeh-page-article,
body.esdeh-account-active .esdeh-page-article {
    max-width: 100%;
    width: 100%;
}

body.esdeh-auth-active > .esdeh-main > .esdeh-container,
body.esdeh-account-active > .esdeh-main > .esdeh-container {
    max-width: 100%;
    padding: 0 !important;
}

/* Auth/Account page wrap - tam genişlik */
.esdeh-auth-page-wrap,
.esdeh-account-page-wrap {
    margin: 0;
    width: 100%;
    max-width: 100%;
}

/* WooCommerce breadcrumb gizle - sadece wrapper içinde */
.esdeh-auth-page-wrap .woocommerce-breadcrumb,
.esdeh-account-page-wrap .woocommerce-breadcrumb {
    display: none !important;
}

/* WooCommerce varsayılan navigation'ı gizle - bizim custom sidebar var */
.esdeh-account-page-wrap .woocommerce-MyAccount-navigation,
.esdeh-account-wrapper .woocommerce-MyAccount-navigation,
body.esdeh-account-active .woocommerce-MyAccount-navigation {
    display: none !important;
}

/* WooCommerce content full width olsun */
.esdeh-account-page-wrap .woocommerce-MyAccount-content,
body.esdeh-account-active .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
}

/* ============================================
   WRAPPER - Split Screen
   ============================================ */
.esdeh-auth-wrapper {
    display: flex;
    min-height: calc(100vh - 200px);
    background: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: visible;
}

/* Auth page wrap tam genişlik - header'a yapışık */
.esdeh-auth-page-wrap {
    margin: 0;
    width: 100%;
}

/* ============================================
   SOL PANEL - Visual
   ============================================ */
.esdeh-auth-visual {
    position: relative;
    width: 45%;
    min-height: 100%;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d1215 30%, #3d1a1d 50%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Fabric / Perde Lines */
.esdeh-auth-fabric-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.12;
}

.esdeh-fabric-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(227, 30, 36, 0.6) 20%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(227, 30, 36, 0.6) 80%,
        transparent 100%
    );
    left: calc(var(--i) * 8.33%);
    animation: esdeh-fabric-sway 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.3s);
    transform-origin: top center;
}

@keyframes esdeh-fabric-sway {
    0%, 100% { transform: skewX(0deg) scaleX(1); }
    25% { transform: skewX(1.5deg) scaleX(1.1); }
    75% { transform: skewX(-1.5deg) scaleX(0.95); }
}

/* Floating Particles */
.esdeh-auth-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.esdeh-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(227, 30, 36, 0.4);
    border-radius: 50%;
    left: calc(var(--i) * 5%);
    top: calc(var(--i) * 5%);
    animation: esdeh-particle-float 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.4s);
}

.esdeh-particle:nth-child(odd) {
    background: rgba(255, 255, 255, 0.15);
    width: 2px;
    height: 2px;
}

.esdeh-particle:nth-child(3n) {
    width: 4px;
    height: 4px;
    background: rgba(227, 30, 36, 0.25);
}

@keyframes esdeh-particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(15px, -30px) scale(1.3); opacity: 0.8; }
    50% { transform: translate(-10px, -60px) scale(0.8); opacity: 0.3; }
    75% { transform: translate(20px, -90px) scale(1.1); opacity: 0.6; }
}

/* Visual Content */
.esdeh-auth-visual-content {
    position: relative;
    z-index: 2;
    padding: 60px 50px;
    text-align: center;
    width: 100%;
    max-width: 480px;
}

.esdeh-auth-logo-area {
    margin-bottom: 50px;
    animation: esdeh-fade-in-down 0.8s ease-out;
}

.esdeh-auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.esdeh-auth-logo-img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.esdeh-auth-logo-text {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}

.esdeh-auth-logo-sub {
    font-size: 14px;
    color: #e31e24;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Visual Text Sections */
#esdehVisualText {
    position: relative;
    min-height: 240px;
}

.esdeh-visual-text-login,
.esdeh-visual-text-register {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.esdeh-visual-text-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#esdehVisualText h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    animation: esdeh-fade-in-up 0.6s ease-out 0.2s both;
}

#esdehVisualText p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 340px;
    animation: esdeh-fade-in-up 0.6s ease-out 0.35s both;
}

/* Features */
.esdeh-visual-features {
    display: flex;
    gap: 24px;
    margin-top: 36px;
    animation: esdeh-fade-in-up 0.6s ease-out 0.5s both;
}

.esdeh-visual-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.esdeh-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(227, 30, 36, 0.15);
    border: 1px solid rgba(227, 30, 36, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #e31e24;
    transition: all 0.3s;
}

.esdeh-visual-feature:hover .esdeh-feature-icon {
    background: rgba(227, 30, 36, 0.25);
    border-color: rgba(227, 30, 36, 0.4);
    transform: translateY(-3px);
}

.esdeh-feature-icon svg {
    width: 100%;
    height: 100%;
}

.esdeh-visual-feature span {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* Visual Footer */
.esdeh-auth-visual-footer {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.esdeh-auth-visual-footer span {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
}

/* ============================================
   SAĞ PANEL - Form
   ============================================ */
.esdeh-auth-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    background: #fff;
    position: relative;
}

/* Mobile Logo (desktop'ta gizli) */
.esdeh-auth-mobile-logo {
    display: none;
    margin-bottom: 28px;
}

.esdeh-auth-mobile-logo .esdeh-auth-logo-text {
    color: #1a1a1a;
    font-size: 32px;
}

/* ============================================
   TAB SWITCHER
   ============================================ */
.esdeh-auth-tabs {
    display: flex;
    position: relative;
    background: #f5f5f5;
    border-radius: 14px;
    padding: 4px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 420px;
    animation: esdeh-fade-in-down 0.5s ease-out;
}

.esdeh-auth-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    border-radius: 11px;
    transition: color 0.3s;
    position: relative;
    z-index: 2;
    font-family: inherit;
}

.esdeh-auth-tab svg {
    transition: stroke 0.3s;
}

.esdeh-auth-tab.active {
    color: #fff;
}

.esdeh-auth-tab.active svg {
    stroke: #fff;
}

.esdeh-tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #e31e24;
    border-radius: 11px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.3);
}

.esdeh-auth-tabs[data-active="register"] .esdeh-tab-indicator {
    transform: translateX(100%);
}

/* ============================================
   FORM CONTAINER
   ============================================ */
.esdeh-auth-forms {
    width: 100%;
    max-width: 420px;
    position: relative;
    min-height: 380px;
}

.esdeh-auth-form {
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.esdeh-auth-form.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
    visibility: visible;
}

.esdeh-auth-form.exit-left {
    opacity: 0;
    transform: translateX(-30px);
}

/* Form Header */
.esdeh-form-header {
    margin-bottom: 28px;
}

.esdeh-form-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.esdeh-form-header p {
    font-size: 14px;
    color: #888;
}

/* ============================================
   INPUT FIELDS
   ============================================ */
.esdeh-form-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.esdeh-input-row {
    display: flex;
    gap: 14px;
}

.esdeh-input-group {
    flex: 1;
}

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

.esdeh-input-icon {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: #bbb;
    pointer-events: none;
    transition: color 0.3s;
    z-index: 2;
}

.esdeh-input-icon svg {
    width: 100%;
    height: 100%;
}

.esdeh-input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 44px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    background: #f8f8f9;
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.esdeh-input-wrapper input::placeholder {
    color: transparent;
}

.esdeh-input-wrapper label {
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    transform-origin: left center;
    background: transparent;
    padding: 0;
}

.esdeh-input-wrapper label small {
    font-size: 11px;
    color: #bbb;
}

/* Focus & Filled states */
.esdeh-input-wrapper input:focus,
.esdeh-input-wrapper input:not(:placeholder-shown) {
    background: #fff;
    border-color: #e31e24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.08);
}

.esdeh-input-wrapper input:focus ~ label,
.esdeh-input-wrapper input:not(:placeholder-shown) ~ label {
    top: -1px;
    transform: translateY(-100%) scale(0.78);
    color: #e31e24;
    font-weight: 600;
    left: 14px;
    background: #fff;
    padding: 0 6px;
}

.esdeh-input-wrapper input:focus ~ .esdeh-input-icon {
    color: #e31e24;
}

/* Input Line (decorative) */
.esdeh-input-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #e31e24;
    transition: all 0.3s;
    border-radius: 0 0 12px 12px;
    transform: translateX(-50%);
}

.esdeh-input-wrapper input:focus ~ .esdeh-input-line {
    width: 100%;
}

/* Error state */
.esdeh-input-wrapper.has-error input {
    border-color: #e31e24;
    background: #fff5f5;
}

.esdeh-input-wrapper.has-error .esdeh-input-icon {
    color: #e31e24;
}

/* ============================================
   PASSWORD TOGGLE
   ============================================ */
.esdeh-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #bbb;
    transition: color 0.2s;
    z-index: 2;
    width: 22px;
    height: 22px;
}

.esdeh-password-toggle:hover {
    color: #666;
}

.esdeh-password-toggle svg {
    width: 100%;
    height: 100%;
}

.esdeh-password-toggle .eye-closed {
    display: none;
}

.esdeh-password-toggle.visible .eye-open {
    display: none;
}

.esdeh-password-toggle.visible .eye-closed {
    display: block;
}

/* ============================================
   PASSWORD STRENGTH
   ============================================ */
.esdeh-password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.esdeh-password-strength.visible {
    opacity: 1;
    height: 20px;
}

.esdeh-strength-bars {
    display: flex;
    gap: 4px;
    flex: 1;
}

.esdeh-strength-bar {
    height: 4px;
    flex: 1;
    background: #eee;
    border-radius: 2px;
    transition: background 0.3s;
}

.esdeh-strength-text {
    font-size: 11px;
    font-weight: 600;
    min-width: 50px;
    text-align: right;
}

/* Strength levels */
.esdeh-password-strength[data-level="1"] .esdeh-strength-bar:nth-child(1) { background: #e31e24; }
.esdeh-password-strength[data-level="1"] .esdeh-strength-text { color: #e31e24; }

.esdeh-password-strength[data-level="2"] .esdeh-strength-bar:nth-child(1),
.esdeh-password-strength[data-level="2"] .esdeh-strength-bar:nth-child(2) { background: #f59e0b; }
.esdeh-password-strength[data-level="2"] .esdeh-strength-text { color: #f59e0b; }

.esdeh-password-strength[data-level="3"] .esdeh-strength-bar:nth-child(1),
.esdeh-password-strength[data-level="3"] .esdeh-strength-bar:nth-child(2),
.esdeh-password-strength[data-level="3"] .esdeh-strength-bar:nth-child(3) { background: #3b82f6; }
.esdeh-password-strength[data-level="3"] .esdeh-strength-text { color: #3b82f6; }

.esdeh-password-strength[data-level="4"] .esdeh-strength-bar { background: #10b981; }
.esdeh-password-strength[data-level="4"] .esdeh-strength-text { color: #10b981; }

/* ============================================
   CHECKBOX
   ============================================ */
.esdeh-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    user-select: none;
}

.esdeh-checkbox-wrap input[type="checkbox"] {
    display: none;
}

.esdeh-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    margin-top: 1px;
}

.esdeh-checkbox svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s;
}

.esdeh-checkbox-wrap input:checked + .esdeh-checkbox {
    background: #e31e24;
    border-color: #e31e24;
}

.esdeh-checkbox-wrap input:checked + .esdeh-checkbox svg {
    opacity: 1;
    transform: scale(1);
}

.esdeh-terms-wrap a {
    color: #e31e24;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================
   FORM OPTIONS (remember + forgot)
   ============================================ */
.esdeh-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.esdeh-forgot-link {
    font-size: 13px;
    color: #e31e24;
    font-weight: 600;
    transition: opacity 0.2s;
}

.esdeh-forgot-link:hover {
    opacity: 0.7;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */
.esdeh-auth-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e31e24 0%, #c41a1f 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    font-family: inherit;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

.esdeh-auth-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.esdeh-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.35);
}

.esdeh-auth-submit:hover::before {
    opacity: 1;
}

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

.esdeh-submit-loading,
.esdeh-submit-success {
    display: none;
}

/* Loading state */
.esdeh-auth-submit.loading .esdeh-submit-text { display: none; }
.esdeh-auth-submit.loading .esdeh-submit-loading { display: flex; align-items: center; justify-content: center; }
.esdeh-auth-submit.loading { pointer-events: none; }

.esdeh-spinner {
    width: 22px;
    height: 22px;
    animation: esdeh-spin 0.8s linear infinite;
}

@keyframes esdeh-spin {
    to { transform: rotate(360deg); }
}

/* Success state */
.esdeh-auth-submit.success .esdeh-submit-text { display: none; }
.esdeh-auth-submit.success .esdeh-submit-loading { display: none; }
.esdeh-auth-submit.success .esdeh-submit-success { display: flex; align-items: center; justify-content: center; }
.esdeh-auth-submit.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    pointer-events: none;
}

.esdeh-submit-success svg {
    width: 24px;
    height: 24px;
    animation: esdeh-check-pop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes esdeh-check-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ============================================
   FORM DIVIDER
   ============================================ */
.esdeh-form-divider {
    display: flex;
    align-items: center;
    margin: 20px 0 16px;
}

.esdeh-form-divider::before,
.esdeh-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.esdeh-form-divider span {
    padding: 0 16px;
    font-size: 12px;
    color: #bbb;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FORM FOOTER
   ============================================ */
.esdeh-form-footer {
    text-align: center;
}

.esdeh-form-footer p {
    font-size: 14px;
    color: #888;
}

.esdeh-switch-link {
    background: none;
    border: none;
    color: #e31e24;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    padding: 0;
    transition: opacity 0.2s;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.esdeh-switch-link:hover {
    opacity: 0.7;
}

/* ============================================
   AUTH MESSAGE
   ============================================ */
.esdeh-auth-message {
    margin-top: 16px;
    padding: 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.esdeh-auth-message.visible {
    opacity: 1;
    max-height: 100px;
    padding: 12px 16px;
}

.esdeh-auth-message.error {
    background: #fef2f2;
    color: #e31e24;
    border: 1px solid rgba(227, 30, 36, 0.15);
}

.esdeh-auth-message.success {
    background: #f0fdf4;
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.esdeh-auth-badges {
    display: flex;
    gap: 20px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    max-width: 420px;
    width: 100%;
    justify-content: center;
}

.esdeh-auth-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #aaa;
    font-weight: 500;
}

.esdeh-auth-badge svg {
    color: #ccc;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes esdeh-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes esdeh-fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered form field animations */
.esdeh-auth-form.active .esdeh-form-header {
    animation: esdeh-fade-in-up 0.5s ease-out;
}

.esdeh-auth-form.active .esdeh-input-group:nth-child(1) { animation: esdeh-fade-in-up 0.4s ease-out 0.05s both; }
.esdeh-auth-form.active .esdeh-input-group:nth-child(2) { animation: esdeh-fade-in-up 0.4s ease-out 0.1s both; }
.esdeh-auth-form.active .esdeh-input-group:nth-child(3) { animation: esdeh-fade-in-up 0.4s ease-out 0.15s both; }
.esdeh-auth-form.active .esdeh-input-group:nth-child(4) { animation: esdeh-fade-in-up 0.4s ease-out 0.2s both; }
.esdeh-auth-form.active .esdeh-input-group:nth-child(5) { animation: esdeh-fade-in-up 0.4s ease-out 0.25s both; }
.esdeh-auth-form.active .esdeh-input-row { animation: esdeh-fade-in-up 0.4s ease-out 0.05s both; }
.esdeh-auth-form.active .esdeh-form-options { animation: esdeh-fade-in-up 0.4s ease-out 0.2s both; }
.esdeh-auth-form.active .esdeh-auth-submit { animation: esdeh-fade-in-up 0.4s ease-out 0.25s both; }
.esdeh-auth-form.active .esdeh-terms-wrap { animation: esdeh-fade-in-up 0.4s ease-out 0.3s both; }
.esdeh-auth-form.active .esdeh-form-divider { animation: esdeh-fade-in-up 0.4s ease-out 0.3s both; }
.esdeh-auth-form.active .esdeh-form-footer { animation: esdeh-fade-in-up 0.4s ease-out 0.35s both; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .esdeh-auth-visual {
        width: 40%;
    }
    
    .esdeh-auth-visual-content {
        padding: 40px 30px;
    }
    
    .esdeh-visual-features {
        gap: 16px;
    }
}

@media (max-width: 800px) {
    .esdeh-auth-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .esdeh-auth-visual {
        display: none;
    }
    
    .esdeh-auth-form-panel {
        padding: 30px 20px 40px;
        min-height: auto;
    }
    
    .esdeh-auth-mobile-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .esdeh-auth-tabs {
        max-width: 100%;
    }
    
    .esdeh-auth-forms {
        max-width: 100%;
    }
    
    .esdeh-auth-badges {
        max-width: 100%;
    }
    
    .esdeh-form-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .esdeh-auth-form-panel {
        padding: 24px 16px 36px;
    }
    
    .esdeh-input-row {
        flex-direction: column;
        gap: 18px;
    }
    
    .esdeh-auth-tab span {
        font-size: 13px;
    }
    
    .esdeh-auth-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .esdeh-form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ============================================
   MICRO INTERACTIONS
   ============================================ */

/* Input focus ripple */
.esdeh-input-wrapper input:focus {
    animation: esdeh-input-focus 0.3s ease-out;
}

@keyframes esdeh-input-focus {
    0% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.2); }
    100% { box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.08); }
}

/* Button press */
.esdeh-auth-submit:active {
    transform: scale(0.98);
}

/* Tab hover */
.esdeh-auth-tab:not(.active):hover {
    color: #555;
}

/* Shake animation for errors */
@keyframes esdeh-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.esdeh-input-wrapper.shake {
    animation: esdeh-shake 0.5s ease-in-out;
}

/* Success confetti burst on submit */
@keyframes esdeh-success-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.esdeh-auth-submit.success {
    animation: esdeh-success-pulse 1s ease-out;
}

/* ============================================
   HESABIM DASHBOARD
   ============================================ */

/* Account page wrap - üstteki tanımı geçersiz kıl */
.esdeh-account-page-wrap {
    background: #f5f5f7;
    min-height: calc(100vh - 200px);
    margin: 0 -20px;
    width: calc(100% + 40px);
}

/* Account wrapper */
.esdeh-account-wrapper {
    display: flex;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   SOL SIDEBAR
   ============================================ */
.esdeh-account-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* User Card */
.esdeh-user-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.esdeh-user-avatar {
    position: relative;
    flex-shrink: 0;
}

.esdeh-user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.esdeh-user-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2px solid #fff;
    border-radius: 50%;
}

.esdeh-user-info {
    flex: 1;
    min-width: 0;
}

.esdeh-user-greeting {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    display: block;
}

.esdeh-user-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2px 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.esdeh-user-login {
    font-size: 11px;
    color: #aaa;
}

/* Navigation */
.esdeh-account-nav {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.esdeh-nav-section {
    padding: 16px 0;
}

.esdeh-nav-section:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.esdeh-nav-title {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px;
    margin-bottom: 8px;
    display: block;
}

.esdeh-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.esdeh-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.esdeh-nav-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e31e24;
    transform: scaleY(0);
    transition: transform 0.2s;
}

.esdeh-nav-item a:hover {
    background: #fafafa;
    color: #e31e24;
}

.esdeh-nav-item.active a {
    background: #fef2f2;
    color: #e31e24;
    font-weight: 600;
}

.esdeh-nav-item.active a::before {
    transform: scaleY(1);
}

.esdeh-nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.esdeh-nav-icon svg {
    width: 18px;
    height: 18px;
}

.esdeh-nav-label {
    flex: 1;
}

.esdeh-nav-badge {
    background: #e31e24;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Logout */
.esdeh-nav-logout {
    margin-top: auto;
    padding: 12px 16px !important;
    border-top: 1px solid #f0f0f0 !important;
    border-bottom: none !important;
}

.esdeh-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: #f8f8f8;
    border: none;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.esdeh-logout-btn:hover {
    background: #fee2e2;
    color: #e31e24;
}

.esdeh-logout-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   SAĞ İÇERİK
   ============================================ */
.esdeh-account-content {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    min-width: 0;
}

/* WooCommerce içerik stilleri */
.esdeh-account-content .woocommerce-MyAccount-content {
    padding: 0;
    margin: 0;
}

.esdeh-account-content .woocommerce-MyAccount-navigation {
    display: none !important;
}

/* Sayfa başlıkları */
.esdeh-account-content h2,
.esdeh-account-content h3,
.esdeh-account-content .woocommerce-order-details h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

/* Dashboard hoş geldin */
.esdeh-account-content .woocommerce-MyAccount-content > p:first-child {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.esdeh-account-content .woocommerce-MyAccount-content > p:first-child strong {
    color: #e31e24;
}

/* Linkler */
.esdeh-account-content a {
    color: #e31e24;
}

.esdeh-account-content a:hover {
    text-decoration: underline;
}

/* Form stilleri */
.esdeh-account-content .woocommerce-EditAccountForm,
.esdeh-account-content .woocommerce-address-fields {
    max-width: 600px;
}

.esdeh-account-content .form-row {
    margin-bottom: 16px;
}

.esdeh-account-content label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.esdeh-account-content .form-row label .required {
    color: #e31e24;
}

.esdeh-account-content input[type="text"],
.esdeh-account-content input[type="email"],
.esdeh-account-content input[type="tel"],
.esdeh-account-content input[type="password"],
.esdeh-account-content select,
.esdeh-account-content textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.2s;
    font-family: inherit;
}

.esdeh-account-content input:focus,
.esdeh-account-content select:focus,
.esdeh-account-content textarea:focus {
    border-color: #e31e24;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(227,30,36,0.08);
}

.esdeh-account-content select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Butonlar */
.esdeh-account-content button[type="submit"],
.esdeh-account-content .button {
    background: #e31e24;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.esdeh-account-content button[type="submit"]:hover,
.esdeh-account-content .button:hover {
    background: #c41a1f;
}

/* Siparişler tablosu */
.esdeh-account-content .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.esdeh-account-content .woocommerce-orders-table th {
    background: #f8f8f8;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #444;
    border-bottom: 1px solid #eee;
}

.esdeh-account-content .woocommerce-orders-table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.esdeh-account-content .woocommerce-orders-table tr:hover td {
    background: #fafafa;
}

.esdeh-account-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    font-weight: 600;
}

.esdeh-account-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    font-weight: 500;
}

.esdeh-account-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
    padding: 8px 14px;
    font-size: 12px;
}

/* Boş sipariş mesajı */
.esdeh-account-content .woocommerce-message--info,
.esdeh-account-content .woocommerce-info {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    color: #1e40af;
    font-size: 14px;
}

.esdeh-account-content .woocommerce-info::before {
    display: none;
}

/* Adres kartları */
.esdeh-account-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.esdeh-account-content .woocommerce-Address {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.esdeh-account-content .woocommerce-Address header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.esdeh-account-content .woocommerce-Address-title h3 {
    font-size: 15px;
    margin: 0;
    border: none;
    padding: 0;
}

.esdeh-account-content .woocommerce-Address address {
    font-style: normal;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .esdeh-account-wrapper {
        flex-direction: column;
    }
    
    .esdeh-account-sidebar {
        width: 100%;
    }
    
    .esdeh-user-card {
        padding: 20px;
    }
    
    .esdeh-account-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .esdeh-account-wrapper {
        padding: 16px 12px;
        gap: 16px;
    }
    
    .esdeh-account-content {
        padding: 20px 16px;
    }
    
    .esdeh-account-content h2,
    .esdeh-account-content h3 {
        font-size: 18px;
    }
    
    .esdeh-account-content .woocommerce-orders-table {
        display: block;
        overflow-x: auto;
    }
    
    .esdeh-nav-item a {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .esdeh-user-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }
    
    .esdeh-user-info {
        text-align: center;
    }
    
    .esdeh-user-name {
        white-space: normal;
    }
}
