/* ============================================
   ERROR STATES & VALIDATION
   ============================================ */

.error-field {
    border-color: #f44336 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1) !important;
}

.error-field:focus {
    border-color: #d32f2f !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2) !important;
}

.error-message {
    display: none;
    margin-top: 6px;
    padding: 8px 12px;
    background: #fff5f5;
    border-left: 0px solid #f44336;
    border-radius: 4px;
    color: #d32f2f;
    font-size: 14px;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success state */
.success-field {
    border-color: #146AFF !important;
    background-color: #f1f8f4 !important;
}

.success-message {
    margin-top: 6px;
    padding: 8px 12px;
    background: #f1f8f4;
    border-left: 3px solid #146AFF;
    border-radius: 4px;
    color: #2e7d32;
    font-size: 14px;
}