/* ===== ESTILOS PARA MENSAJES DE AUTENTICACIÓN ===== */
.message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 400px;
}

.auth-message {
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

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

.auth-message--info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

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

/* ===== ESTILOS PARA ESTADOS DE LOADING ===== */
.field input[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== MEJORAR RESPONSIVIDAD ===== */
@media (max-width: 450px) {
    .auth-message {
        margin: 10px 0;
        padding: 10px 15px;
        font-size: 13px;
    }
}
