/* Contact Form Styles */
#edit-submit {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #007cba;
    background-color: #007cba;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#edit-submit:hover {
    background-color: #005a8b;
    border-color: #005a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

#edit-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 124, 186, 0.3);
}

#edit-submit:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form field validation styles */
.form-field-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-field-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.form-field-error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-field-success-message {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Required field indicators */
.required-field {
    position: relative;
}

.required-field::after {
    content: '*';
    color: #dc3545;
    font-weight: bold;
    margin-left: 4px;
}

/* Form validation feedback */
.validation-feedback {
    display: none;
    padding: 8px 12px;
    margin-top: 8px;
    border-radius: 4px;
    font-size: 0.875rem;
}

.validation-feedback.show {
    display: block;
}

.validation-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.validation-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Form group styling */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Input focus effects */
#edit-field-lead-first-name-und-0-value,
#edit-field-lead-last-name-und-0-value,
#edit-field-lead-email-und-0-email,
#edit-field-lead-phone-und-0-value,
#edit-field-lead-comment-und-0-value {
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
}

#edit-field-lead-first-name-und-0-value:focus,
#edit-field-lead-last-name-und-0-value:focus,
#edit-field-lead-email-und-0-email:focus,
#edit-field-lead-phone-und-0-value:focus,
#edit-field-lead-comment-und-0-value:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25);
}

/* Loading animation for button */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

#edit-submit.loading {
    animation: pulse 1.5s infinite;
}

/* Disable any remaining newsletter popup functionality */
.lead-pop-link,
.lead-pop-exit,
.lead-pop-check,
.lead-pop-ajax-link,
.overlay-leadpop,
#lead-pop-check,
#lead-pop-replace,
.exit-intent,
.exit-intent-wrapper,
#exit-intent-wrapper,
#exit_intent_lead_node_form_wrapper {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
