/* Système de notifications  */
.ikea-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 320px;
    padding: 16px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    z-index: 9999; /* Augmentez cette valeur (les modals ont souvent z-index entre 1000-2000) */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Roboto', sans-serif;
    background: white;
    border-left: 4px solid;
}

.ikea-alert.show {
    opacity: 1;
    transform: translateY(0);
}

.ikea-alert.hide {
    opacity: 0 !important;
}

/* Types d'alertes */
.ikea-alert.success {
    border-left-color: #0077b6; /* Bleu IKEA */
}

.ikea-alert.error {
    border-left-color: #d32f2f; /* Rouge */
}

.ikea-alert.warning {
    border-left-color: #ff9800; /* Orange */
}

.ikea-alert.info {
    border-left-color: #2196F3; /* Bleu clair */
}

/* Contenu de l'alerte */
.ikea-alert-icon {
    margin-right: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

.ikea-alert.success .ikea-alert-icon {
    color: #0077b6;
}

.ikea-alert.error .ikea-alert-icon {
    color: #d32f2f;
}

.ikea-alert.warning .ikea-alert-icon {
    color: #ff9800;
}

.ikea-alert.info .ikea-alert-icon {
    color: #2196F3;
}

.ikea-alert-content {
    flex-grow: 1;
}

.ikea-alert-title {
    font-weight: 500;
    margin-bottom: 4px;
    color: #333;
}

.ikea-alert-message {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.ikea-alert-close {
    margin-left: 12px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    font-size: 18px;
    padding: 0;
    line-height: 1;
}

/* Animation */
@keyframes ikea-alert-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ikea-alert-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

