/* --- WooCommerce Login Form Custom Styles --- */
/* .entry-content .woocommerce {
    max-width: 450px;
    margin: 60px auto;
    padding: 0 20px;
} */

/* Login Heading */
.woocommerce h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    /* margin-bottom: 30px; */
}

/* Form Container */
form.woocommerce-form-login {
    background: #ffffff;
    padding: 40px 40px 10px 40px;
    border-radius: var(--radius);
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    max-width: 500px;
    margin: 40px auto 20px auto;
}

/* Rows & Labels */
.woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.woocommerce-form-row label .required {
    color: #ef4444;
    text-decoration: none;
}

/* Input Fields */
.woocommerce-Input--text {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.woocommerce-Input--text:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 4px rgba(11, 62, 39, 0.08);
}

/* Password Eye Button Fix */
.password-input {
    position: relative;
    display: block;
}

.show-password-input {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    width: 20px;
    height: 20px;
}

/* Remember Me & Button Row */
.form-row:has(.woocommerce-form-login__rememberme) {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-gray);
}

.woocommerce-form__input-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
    cursor: pointer;
}

/* Submit Button */
.woocommerce-form-login__submit {
    width: 100%;
    background-color: var(--primary-green) !important;
    color: #ffffff !important;
    padding: 16px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.woocommerce-form-login__submit:hover {
    background-color: #082f1d !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(11, 62, 39, 0.2);
}

/* Lost Password Link */
.lost_password {
    text-align: center;
    margin-top: 20px;
}

.lost_password a {
    font-size: 13px;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.lost_password a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

/* WooCommerce Notices (Errors) */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    list-style: none;
    padding: 15px 20px !important;
    border-radius: 10px !important;
    margin-bottom: 25px !important;
    font-size: 14px !important;
}

.woocommerce-error {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 5px solid #ef4444 !important;
}




/* --- WooCommerce Lost Password Custom Styles --- */
/* .entry-content .woocommerce {
    max-width: 500px;
    margin: 60px auto;
    padding: 0 20px;
} */

/* Form Container */
form.lost_reset_password {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    max-width: 500px;
    margin: 0 auto;
}

/* Instructional Text */
form.lost_reset_password>p:first-child {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 25px;
    text-align: center;
}

/* Label Styling */
.woocommerce-form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.woocommerce-form-row .required {
    color: #ef4444;
    text-decoration: none;
}

/* Input Field Styling */
.woocommerce-Input--text {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background-color: #f9fafb;
    /* Light tint for recovery fields */
}

.woocommerce-Input--text:focus {
    background-color: #ffffff;
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 4px rgba(11, 62, 39, 0.08);
}

/* Button Row */
.form-row:last-of-type {
    margin-top: 25px;
    margin-bottom: 0;
}

/* Reset Password Button */
.woocommerce-ResetPassword .button {
    width: 100%;
    background-color: var(--primary-green) !important;
    color: #ffffff !important;
    padding: 16px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: none;
    /* Keeps it modern */
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.woocommerce-ResetPassword .button:hover {
    background-color: #082f1d !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(11, 62, 39, 0.2);
}

/* Success/Info Messages for Reset */
.woocommerce-message {
    background-color: #ecfdf5 !important;
    /* Mint background */
    color: var(--primary-green) !important;
    border-left: 5px solid var(--primary-green) !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
    margin-bottom: 30px !important;
    font-weight: 500;
}

/* Clearfix */
.clear {
    clear: both;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    form.lost_reset_password {
        padding: 25px 20px;
    }
}

.custom-login-button a {
    max-width: 480px;
    margin: 0 auto;
    display: block;
    width: 100%;
    text-align: center;
    color: var(--primary-green);
    background: transparent;
    text-decoration: none;
    padding: 16px;
    border: solid 2px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease !important;
}
.custom-login-button a:hover {
    background: var(--primary-green);
    color: #fff;
}