/* Form validation styles */
.text-input.error,
.upload-area.error {
    border-color: #ff4d4f !important;
    border-width: 2px !important;
    animation: shake 0.4s linear;
}

.text-input.error:focus {
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

.upload-area.error {
    background-color: rgba(255, 77, 79, 0.05);
}

.upload-area.error .upload-icon,
.upload-area.error .upload-text {
    color: #ff4d4f;
}

.error-message {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(255, 77, 79, 0.1);
}

.error-message.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

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