/* User Account Widget Styles */

/* Login Form - Match login-form.php styling */
.user-account-login-form {
    max-width: 500px;
    margin: 50px auto;
}

.user-account-login-form .auth-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-account-login-form h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #333;
}

.user-account-login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.user-account-login-form input[type="text"],
.user-account-login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.user-account-login-form input[type="text"]:focus,
.user-account-login-form input[type="password"]:focus {
    border-color: #0073aa;
    outline: none;
}

.user-account-login-form .submit_button {
    width: 100%;
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.user-account-login-form .submit_button:hover {
    background: #005a87;
}

.user-account-login-form .submit_button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.user-account-login-form .status {
    margin-top: 15px;
    min-height: 20px;
}

.user-account-login-form .status .error {
    color: #dc3545;
    font-size: 14px;
}

.user-account-login-form .actions {
    margin-top: 15px;
    text-align: center;
}

.user-account-login-form .actions a {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.user-account-login-form .actions a:hover {
    text-decoration: underline;
}

.user-account-login-form .woocommerce-login {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Password Reset Form in Login Widget */
.password-reset-form-container {
    max-width: 500px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.password-reset-form-container h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #333;
}

.password-reset-form-container .password-reset-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.password-reset-form-container .woocommerce-error {
    background: #fee;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.password-reset-form-container .alert {
    padding: 15px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.password-reset-form-container .alert p {
    margin: 0;
}

.password-reset-form-container .alert p + p {
    margin-top: 10px;
}

.password-reset-form-container .alert .button {
    transition: background 0.3s ease;
}

.password-reset-form-container .alert .button:hover {
    background: #005a87 !important;
}

.password-reset-form-container .woocommerce-form-row {
    margin-bottom: 20px;
}

.password-reset-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.password-reset-form-container input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.password-reset-form-container input[type="password"]:focus {
    border-color: #0073aa;
    outline: none;
}

.password-reset-form-container .button {
    width: 100%;
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.password-reset-form-container .button:hover {
    background: #005a87;
}

.password-reset-form-container .button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.password-reset-form-container .password-reset-notice a {
    color: #0073aa;
    text-decoration: none;
}

.password-reset-form-container .password-reset-notice a:hover {
    text-decoration: underline;
}

.password-reset-error {
    max-width: 500px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.password-reset-error .alert {
    padding: 15px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.password-reset-error .alert p {
    margin: 0;
    color: #333;
}

.password-reset-error .btn-cta.btn-theme {
    background-color: var(--e-global-color-secondary);
    color: #000000;
}

.password-reset-error .btn-cta.btn-theme:hover {
    color:#ffffff
}

.user-account-login-form .woocommerce-form-row {
    margin-bottom: 20px;
}

.user-account-login-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.user-account-login-form input[type="text"],
.user-account-login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.user-account-login-form .status {
    margin-top: 15px;
}

.user-account-login-form .status .error {
    color: #dc3545;
}

.user-account-login-form .actions {
    margin-top: 15px;
}

.user-account-login-form .actions a {
    color: #0073aa;
    text-decoration: none;
}

/* Password Reset Form */
.user-account-password-reset {
    max-width: 100%;
    margin: 0 auto;
}

.user-account-password-reset .woocommerce-ResetPassword {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-account-password-reset .password-reset-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.user-account-password-reset .woocommerce-error {
    background: #fee;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.user-account-password-reset .woocommerce-message {
    background: #eff;
    border-left: 4px solid #0073aa;
    color: #004085;
}

.user-account-password-reset .woocommerce-form-row {
    margin-bottom: 20px;
}

.user-account-password-reset label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.user-account-password-reset input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.user-account-password-reset .password-reset-notice a {
    color: #0073aa;
    text-decoration: none;
}

