/* Custom Membership Forms - COMPLETE */
.custom-membership-login-form,
.custom-membership-registration-form {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.elementor-widget-custom_membership_login .custom-membership-login-form,
.elementor-widget-custom_membership_registration .custom-membership-registration-form,
.elementor-widget-custom_membership_profile .custom-membership-profile {
    margin: 0;
    box-shadow: none;
}

.custom-membership-form .form-group {
    margin-bottom: 20px;
}

.custom-membership-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.custom-membership-form input[type="text"],
.custom-membership-form input[type="email"],
.custom-membership-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.custom-membership-form input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.custom-membership-form .submit-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: background 0.3s;
}

.custom-membership-form .submit-button:hover {
    background: #005a87;
}

.custom-membership-form .field-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.custom-membership-message {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.custom-membership-message.success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.custom-membership-message.error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.login-link {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.login-link a {
    color: #0073aa;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.password-strength-indicator {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
}

.field-error {
    color: #dc3545;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.custom-membership-form input.error {
    border-color: #dc3545 !important;
}

.custom-membership-form input.error:focus {
    box-shadow: 0 0 0 1px #dc3545 !important;
}

/* Elementor editor specific */
.elementor-editor-active .custom-membership-form input,
.elementor-editor-active .custom-membership-form button {
    pointer-events: none;
}