body {
    font-family: 'Inter', sans-serif;
    background-color: #fafbfd;
    color: #3D3D3D;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-input,
.form-textarea {
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #4e7a5a;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    outline: none;
}

.btn-primary {
    background-color: #E7CF5F;
    color: #000;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #000;
    color: #E7CF5F;
}

.btn-secondary {
    background-color: #EFEBE9;
    color: #3D3D3D;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #D7CCC8;
}

.progress-bar-fill {
    background-color: #2b2b2b;
    transition: width 0.4s ease-in-out;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: #E7CF5F;
    border-color: #E7CF5F;
}

input[type="checkbox"]:checked:focus,
input[type="radio"]:checked:focus {
    box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.3);
}

/* ===== ESTILOS PARA VALIDACIÓN DE CAMPOS ===== */

/* Campo con error */
.form-input.border-red-500,
.form-textarea.border-red-500 {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.border-red-500:focus,
.form-textarea.border-red-500:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

/* Animación de shake para campos con error */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.shake-animation {
    animation: shake 0.6s ease-in-out;
}

/* Animación slide down para notificaciones */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slideDown {
    animation: slideDown 0.3s ease-out;
}

/* Error field styling */
.error-field {
    position: relative;
}

.error-field::after {
    content: 'Este campo es requerido';
    display: block;
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
}