/* =========================================================
   EXPERT WOOCOMMERCE AUTH CUSTOMIZER - FULL CSS
   ========================================================= */

/* Primary Theme Color Variables */
:root {
    --expert-primary: #2563eb;
    --expert-primary-hover: #1d4ed8;
    --expert-bg-card: #ffffff;
    --expert-border: #e2e8f0;
    --expert-text-dark: #0f172a;
    --expert-text-muted: #64748b;
}

/* Center Form Container */
.woocommerce-account .woocommerce {
    max-width: 480px !important;
    margin: 40px auto !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Main Auth Box Container */
.woocommerce-account #customer_login {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

/* Form Card Styling (Login & Register Columns) */
.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2,
.woocommerce-account #customer_login .col-1,
.woocommerce-account #customer_login .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    background: var(--expert-bg-card) !important;
    padding: 36px 32px !important;
    border-radius: 20px !important;
    border: 1px solid var(--expert-border) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transition: all 0.3s ease-in-out !important;
}

/* Headings */
.woocommerce-account #customer_login h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--expert-text-dark) !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    text-align: center !important;
}

/* Form Wrappers Reset */
.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-form-register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-account .form-row {
    margin-bottom: 18px !important;
    padding: 0 !important;
    width: 100% !important;
}

.woocommerce-account label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

/* Input Fields Styling */
.woocommerce-account input.input-text {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: var(--expert-text-dark) !important;
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account input.input-text:focus {
    background-color: #ffffff !important;
    border-color: var(--expert-primary) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

/* Primary Button (Log in / Register) */
.woocommerce-account .button,
.woocommerce-account button.button {
    width: 100% !important;
    height: 48px !important;
    background-color: var(--expert-primary) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-top: 8px !important;
}

.woocommerce-account .button:hover,
.woocommerce-account button.button:hover {
    background-color: var(--expert-primary-hover) !important;
}

/* Lost Password Link */
.woocommerce-account .woocommerce-LostPassword {
    text-align: center !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
}

.woocommerce-account .woocommerce-LostPassword a {
    color: var(--expert-primary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.woocommerce-account .woocommerce-LostPassword a:hover {
    text-decoration: underline !important;
}

/* Divider Text */
.expert-divider-text {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--expert-border);
    line-height: 0.1em;
    margin: 24px 0 20px !important;
}

.expert-divider-text span {
    background: var(--expert-bg-card);
    padding: 0 12px;
    color: var(--expert-text-muted);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Outline Custom Button (Create New Account) */
.expert-btn-outline {
    width: 100% !important;
    height: 48px !important;
    background-color: transparent !important;
    color: var(--expert-primary) !important;
    border: 2px solid var(--expert-primary) !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    display: block !important;
    box-sizing: border-box !important;
}

.expert-btn-outline:hover {
    background-color: var(--expert-primary) !important;
    color: #ffffff !important;
}

/* Hidden Utility Class */
.expert-auth-hidden {
    display: none !important;
}

/* =========================================================
   LOST / RESET PASSWORD FORM FIX
   ========================================================= */

.woocommerce-account form.woocommerce-ResetPassword,
.woocommerce-account form.lost_reset_password {
    max-width: 480px !important;
    margin: 40px auto !important;
    background: var(--expert-bg-card) !important;
    padding: 36px 32px !important;
    border-radius: 20px !important;
    border: 1px solid var(--expert-border) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce-account form.woocommerce-ResetPassword p,
.woocommerce-account form.lost_reset_password p {
    font-size: 14px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.woocommerce-account form.woocommerce-ResetPassword input.input-text,
.woocommerce-account form.lost_reset_password input.input-text {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: var(--expert-text-dark) !important;
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.woocommerce-account form.woocommerce-ResetPassword .button,
.woocommerce-account form.lost_reset_password button.button {
    width: 100% !important;
    height: 48px !important;
    background-color: var(--expert-primary) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account form.woocommerce-ResetPassword .button:hover,
.woocommerce-account form.lost_reset_password button.button:hover {
    background-color: var(--expert-primary-hover) !important;
}