/* ==========================================================================
   1. ORIGINAL AUTH FORMS & TABS STYLING (PRESERVED & TOUCHED UP)
   ========================================================================== */


.page-id-10 .entry-content {
    max-width: 1800px;
}

.custom-auth-wrapper {
    margin: 60px auto;
    padding: 0 20px;
}

/* Jab login page premium banega toh container rules flex row mein switch honge */
.custom-auth-wrapper.premium-split-layout .custom-auth-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.auth-split-row {
    display: flex;
    flex-wrap: wrap;
    min-height: 680px;
}

/* Tabs Setup - Jisme classes bilkul unchanged hain */
.auth-tabs {
    display: flex;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 12px;
    margin: 20px 30px 0;
}

/* Premium Layout ke andar tabs ki margin adjust karne ke liye */
.premium-split-layout .auth-tabs {
    margin: 0 0 30px 0 !important;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: 1px solid #792441;
    padding: 20px;
    margin: 2em 0;
    text-align: left;
    border-radius: 5px;
}

/* Premium Layout me default borders hatane ke liye padding override */
.premium-split-layout .woocommerce form.login, 
.premium-split-layout .woocommerce form.register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.auth-tab-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: #792441;
    box-shadow: 0 2px 8px rgba(121, 36, 65, 0.15); /* Theme color box shadow tint */
}

.woocommerce-privacy-policy-text {
    font-size: 15px !important;
}

.auth-tab-btn:hover:not(.active) {
    color: #495057;
    background: rgba(255, 255, 255, 0.5);
}

/* Form Panels Visibility Controls */
.auth-form-panel {
    display: none;
    padding: 40px 30px;
}

.premium-split-layout .auth-form-panel {
    padding: 0 !important; /* Premium inner container manages padding */
}

.auth-form-panel.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

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

/* Form Headings */
.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #792441;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Fields & Groups Configuration */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 8px;
}

.label-icon {
    font-size: 16px;
}

/* Core Form Inputs */
.custom-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1a202c;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.custom-input:focus {
    border-color: #792441; /* Kept consistent with theme color */
    box-shadow: 0 0 0 4px rgba(121, 36, 65, 0.1);
}

.custom-input::placeholder {
    color: #a0aec0;
}

.password-field-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.password-toggle:hover {
    opacity: 1;
}

/* Forms Footer Settings */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    cursor: pointer;
}

.forgot-link {
    font-size: 14px;
    color: #792441;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #c03c68;
    text-decoration: underline;
}

/* Brand Action Gradient Submit Buttons */
.custom-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #792441 0%, #c03c68 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(121, 36, 65, 0.25);
}

.custom-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(121, 36, 65, 0.35);
}

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

.btn-arrow {
    transition: transform 0.3s;
}

.custom-submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.terms-text {
    font-size: 13px;
    color: #6c757d;
    text-align: center;
    margin: 16px 0;
}

.terms-text a {
    color: #792441;
    text-decoration: none;
}


/* ==========================================================================
   2. NEW INTERACTION ADDITIONS: 2-COLUMN CLOTHING PREMIUM SPLIT BRANDING
   ==========================================================================*/

/* Left Area: Dynamic high-end clothing brand visual overlay banner */
.auth-brand-graphic-col {
    flex: 1 1 50%;
    background-image: url('https://new.knowmyfit.com.au/wp-content/uploads/2026/05/Brown-Cream-and-Peach-Modern-Chic-Personal-Wall-Calendar-1920-x-1080-px-2.webp'); 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;
    color: #ffffff;
    overflow: hidden;
}

/* Custom linear gradient rules inject layout overlay */
.brand-graphic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(121, 36, 65, 1) 0%, rgba(192, 60, 104, 0.23) 100%);
    z-index: 1;
}

.label-icon-svg {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    vertical-align: middle;
}

.brand-graphic-content {
    position: relative;
    z-index: 5;
    max-width: 620px;
}

.brand-premium-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-graphic-content h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.brand-graphic-content h2 span {
    color: #ffe4e6;
}

.brand-graphic-content p {
    color: #f1f5f9;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

/* Background elements vectors shapes */
.brand-visual-shapes .b-shape-1,
.brand-visual-shapes .b-shape-2 {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
}
.b-shape-1 { width: 350px; height: 350px; top: -100px; left: -100px; }
.b-shape-2 { width: 450px; height: 450px; bottom: -150px; right: -100px; }

/* Right Column Panel form contents box padding wrapper */
.auth-forms-column {
    flex: 1 1 50%;
    padding: 25px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}


/* ==========================================================================
   3. ORIGINAL LOST PASSWORD PAGE SPECIFIC STYLES (PRESERVED)
   ========================================================================== */

.back-to-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.auth-form-content {
    box-shadow: 0px 0px 20px 0px #0000001c;
    padding: 30px;
    border-radius: 30px;
}

.back-to-login:hover {
    background: #edf2f7;
    color: #2d3748;
    transform: translateX(-4px);
}

.back-arrow {
    font-size: 18px;
    transition: transform 0.3s;
}

.back-to-login:hover .back-arrow {
    transform: translateX(-2px);
}

.lost-password-header {
    text-align: center;
    margin-bottom: 30px;
}

.lock-icon-wrapper {
    margin-bottom: 16px;
}

.lock-icon {
    font-size: 48px;
    display: inline-block;
    animation: lockPulse 2s infinite;
}

@keyframes lockPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.lost-password-header .auth-title {
    font-size: 28px;
    margin-bottom: 12px;
}

.lost-password-header .auth-subtitle {
    max-width: 400px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.floating-label-group {
    position: relative;
}

.floating-label {
    position: absolute;
    top: -10px;
    left: 14px;
    background: #ffffff;
    padding: 0 8px;
    font-size: 13px;
    color: #792441;
    font-weight: 500;
    z-index: 1;
}

.info-box {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    border-radius: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.info-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.info-text {
    font-size: 13px;
    color: #2c5282;
    line-height: 1.6;
    margin: 0;
}

.help-section {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.help-text {
    font-size: 14px;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.help-icon {
    font-size: 16px;
}

.login-link {
    color: #792441;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.login-link:hover {
    color: #c03c68;
    text-decoration: underline;
}

.loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 10;
}

.loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e2e8f0;
    border-top-color: #792441;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

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

.loading-text {
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
}

.success-state {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-state h3 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 12px;
}

.success-state p {
    color: #4a5568;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}


/* ==========================================================================
   4. ORIGINAL NOTICES & DYNAMIC VALIDATION ELEMENT BOXES (PRESERVED)
   ========================================================================== */

.woocommerce-message, .woocommerce-error, .woocommerce-info {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    position: relative;
    animation: slideDown 0.3s ease;
}

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

.woocommerce-message {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #c6f6d5;
    display: flex;
    align-items: center;
    gap: 10px;
}
.woocommerce-message::before { content: '✅'; font-size: 18px; }

.woocommerce-error {
    background: #fff5f5;
    color: #742a2a;
    border: 1px solid #fed7d7;
    display: flex;
    align-items: center;
    gap: 10px;
}
.woocommerce-error::before { content: '❌'; font-size: 18px; }

.woocommerce-info {
    background: #ebf8ff;
    color: #2a4365;
    border: 1px solid #bee3f8;
    display: flex;
    align-items: center;
    gap: 10px;
}
.woocommerce-info::before { content: 'ℹ️'; font-size: 18px; }



.field-error {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fef2f2;
    border-radius: 8px;
    color: #dc2626;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.field-error .error-icon-small { font-size: 14px; }

.custom-error-messages, .custom-success-messages {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}
.custom-error-messages { background: #fef2f2; border-left: 4px solid #dc2626; color: #991b1b; }
.custom-success-messages { background: #f0fdf4; border-left: 4px solid #22c55e; color: #166534; }

.custom-submit-btn.loading { opacity: 0.7; cursor: not-allowed; }
.custom-submit-btn .loading-spinner { display: inline-block; animation: spin 1s linear infinite; }

.required { color: #ef4444; margin-left: 4px; }

.form-row-two-columns {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group-half {
    flex: 1;
    margin-bottom: 0;
}


/* ==========================================================================
   5. ORIGINAL SPLIT RESET PASSWORD SYSTEM CSS LAYOUTS (PRESERVED)
   ========================================================================== */

.auth-split-container {
    margin: 60px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.auth-split-row {
    display: flex;
    flex-wrap: wrap;
    min-height: 580px;
}

.auth-graphic-col {
    flex: 1 1 50%;
    background: linear-gradient(135deg, #1e1e24 0%, #0c0c0e 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;
    color: #ffffff;
    overflow: hidden;
}

.graphic-overlay-content { position: relative; z-index: 5; max-width: 600px; }

.premium-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.15);
    color: #fff;
    line-height: 33px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.auth-graphic-col h2 { font-size: 34px; font-weight: 700; line-height: 1.2; margin-bottom: 15px; color: #fff; }
.auth-graphic-col h2 span { color: #dc2626; }
.auth-graphic-col p { color: #94a3b8; font-size: 15px; line-height: 1.6; }

.abstract-shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}
.shape-1 { width: 300px; height: 300px; top: -50px; right: -50px; }
.shape-2 {
    width: 400px; height: 400px; bottom: -150px; left: -100px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(0,0,0,0) 100%);
}

.auth-form-col {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #ffffff;
}

.reset-card-form { width: 100%; }
.form-header-block { margin-bottom: 30px; }
.form-header-block h3 { font-size: 24px; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.form-header-block p { color: #64748b; font-size: 14px; }

.auth-form-col .form-group { margin-bottom: 20px; position: relative; }
.auth-form-col label { display: block; font-size: 14px; font-weight: 600; color: #475569; margin-bottom: 8px; }
.input-wrapper-custom { position: relative; width: 100%; }
.input-icon-left { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; color: #94a3b8; z-index: 1;}

.auth-form-col .custom-input {
    width: 100% !important;
    padding: 12px 16px 12px 42px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #1e293b !important;
    background-color: #f8fafc !important;
    transition: all 0.3s ease !important;
}

.auth-form-col .custom-input:focus {
    border-color: #dc2626 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
}

.custom-reset-submit-btn {
    width: 100%;
    background: #dc2626 !important;
    color: #ffffff !important;
    padding: 14px 24px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2) !important;
}
.custom-reset-submit-btn:hover {
    background: #b91c1c !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3) !important;
}

.auth-form-col form.lost_reset_password { display: block !important; width: 100% !important; }
.auth-form-col form.lost_reset_password .form-row-first,
.auth-form-col form.lost_reset_password .form-row-last {
    float: none !important; width: 100% !important; clear: both !important; margin-bottom: 22px !important; display: block !important;
}
.auth-form-col .clear { display: none !important; }
.auth-form-col .submit-btn-wrapper { margin-top: 10px !important; width: 100% !important; display: block !important; }
.auth-form-col .woocommerce-password-toggle { position: absolute !important; right: 15px !important; top: 50% !important; transform: translateY(-50%) !important; z-index: 9; cursor: pointer; }


/* ==========================================================================
   6. GLOBAL RESPONSIVE MEDIA BREAKPOINTS
   ========================================================================== */

@media (max-width: 991px) {
    .auth-split-row {
        flex-direction: column;
    }
    .auth-brand-graphic-col {
        padding: 40px 30px;
        min-height: 280px;
    }
    .auth-forms-column {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .auth-split-container { margin: 20px; }
    .auth-graphic-col { padding: 40px 30px; min-height: 250px; }
    .auth-form-col { padding: 40px 20px; }
}

@media (max-width: 640px) {
    .form-row-two-columns {
        flex-direction: column;
        gap: 0px;
    }
}

@media (max-width: 576px) {
    .custom-auth-wrapper { margin: 30px auto; padding: 0 15px; }
    .auth-form-panel { padding: 30px 20px; }
    .auth-tabs { margin: 15px 20px 0; }
    .auth-tab-btn { padding: 10px 16px; font-size: 14px; }
    .form-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
    .lost-password-header .auth-title { font-size: 24px; }
    .lock-icon { font-size: 40px; }
    .info-box { flex-direction: column; gap: 8px; padding: 12px; }
    .back-to-login { margin-bottom: 16px; }
    .success-state { padding: 30px 15px; }
    .success-icon { font-size: 48px; }
    .success-state h3 { font-size: 20px; }
}

/* Custom CSS for Minimal SVGs & Spinner */
.label-icon-svg, 
.error-icon-svg, 
.success-icon-svg, 
.info-icon-svg, 
.help-icon-svg,
.lock-icon-svg {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.label-icon-svg, .help-icon-svg {
    margin-right: 6px;
}

/* Modern Minimalist Loading Spinner */
.loading-spinner-clean {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #000000; /* Matching the black outline styling */
    animation: authSpin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

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

.badge-icon-svg {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    vertical-align: middle;
}

/* For inside input field icons alignment */
.input-wrapper-custom {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-icon-left-svg {
    position: absolute;
    left: 12px;
    display: inline-flex;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    top: 16px;
}

.input-wrapper-custom .custom-input {
    padding-left: 38px; /* Taaki text icon ke upar na chadhe */
}

.woocommerce-password-strength {
    font-size: 15px;
}

.badge-icon-svg svg {
    fill: #fff;
    width: 25px;
    height: 22px;
}