/* Styles pour les messages de formulaires */
.result {
    margin: 20px 0;
    animation: slideDown 0.4s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result .inner {
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.result .inner::before {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.result .inner.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 5px solid #28a745;
    color: #155724;
}

.result .inner.success::before {
    content: "✓";
    color: #28a745;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result .inner.success p {
    margin: 0;
    color: #155724;
    font-weight: 500;
}

.result .inner.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 5px solid #dc3545;
    color: #721c24;
}

.result .inner.error::before {
    content: "✗";
    color: #dc3545;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result .inner.error p {
    margin: 0;
    color: #721c24;
    font-weight: 500;
}