/* Toast Notification Container */
#isba-toast-container {
    position: fixed;
    top: 100px;
    /* Plus bas */
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Toast Item */
.isba-toast {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    /* Dégradé vert moderne */
    border: none;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
    /* Ombre verte portée */
    padding: 16px;
    border-radius: 12px;
    /* Coins plus arrondis */
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 380px;
    max-width: 450px;
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    /* Animation plus fluide */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    color: #fff;
    /* Texte blanc par défaut */
}

.isba-toast.hiding {
    opacity: 0;
    transform: translateX(20px);
}

/* Toast Image */
.isba-toast-image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.isba-toast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Toast Content */
.isba-toast-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.isba-toast-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    margin: 0;
    line-height: 1.3;
    font-family: inherit;
    /* Utiliser la police du thème */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.isba-toast-message {
    color: rgba(255, 255, 255, 0.9);
    /* Blanc légèrement transparent */
    font-size: 13px;
    margin: 0;
}

/* Toast Button */
.isba-toast-btn {
    background-color: #ffffff;
    color: #2e7d32;
    /* Texte vert foncé */
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    /* Bouton "pill" */
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    align-self: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.isba-toast-btn:hover {
    background-color: #f1f8e9;
    /* Blanc cassé au survol */
    color: #1b5e20;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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