/* ============================================
   VALIDATION STYLES
   ============================================ */

/* Status Messages */
.be-status {
    font-size: 13px;
    margin-top: 6px;
    min-height: 20px;
    padding: 4px 0;
    display: none;
    font-weight: 500;
}

.be-status-success {
    color: #2a9d8f !important;
}

.be-status-error {
    color: #e53e3e !important;
}

.be-status-warning {
    color: #ed8936 !important;
}

.be-status-info {
    color: #4a90d9 !important;
}

/* Field Error Messages */
.be-field-error {
    display: none;
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Input Validation States */
#be-email.be-email-valid,
#be-phone.be-phone-valid {
    border-color: #2a9d8f !important;
}

#be-email.be-email-invalid,
#be-phone.be-phone-invalid {
    border-color: #e53e3e !important;
}

#be-email.be-email-checking,
#be-phone.be-phone-checking {
    border-color: #4a90d9 !important;
}

/* Validation Icons */
#be-email-validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    width: 22px;
    height: 22px;
    pointer-events: none;
    z-index: 2;
}

#be-email-validation-icon svg {
    width: 22px;
    height: 22px;
}

#be-spinner {
    display: none;
    animation: spin 1s linear infinite;
    stroke: #4a90d9;
}

#be-check-icon {
    display: none;
    stroke: #2a9d8f;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#be-x-icon {
    display: none;
    stroke: #e53e3e;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Submit Button */
#be-submit-btn {
    transition: all 0.3s ease;
}

#be-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#be-submit-btn:not(:disabled) {
    opacity: 1;
    cursor: pointer;
}

/* Phone input styling */
#be-phone.be-phone-valid {
    border-color: #2a9d8f !important;
}

#be-phone.be-phone-invalid {
    border-color: #e53e3e !important;
}

#be-phone.be-phone-checking {
    border-color: #4a90d9 !important;
}