/* Styles modernes pour les notifications Toast (Noty) */

/* Réinitialisation et surcharge complète des styles Noty par défaut */
.noty_theme__mint.noty_bar .noty_body {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 8px !important;
}

.noty_theme__mint.noty_bar {
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background-color: #1e293b !important; /* Fond bleu foncé moderne */
    color: #f8fafc !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
}

/* Surcharge des types spécifiques */
.noty_type_success, 
.noty_type_warning, 
.noty_type_error, 
.noty_type_info,
.noty_type_information {
    background-color: #1e293b !important;
    border: none !important;
    border-radius: 8px !important;
}

/* Conteneur du message */
.noty_message {
    padding: 16px 20px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    background: transparent !important;
    color: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Structure interne trash-noty */
.trash-noty {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.trash-noty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2); /* Vert émeraude transparent */
    color: #34d399; /* Vert émeraude clair */
    flex-shrink: 0;
}

.trash-noty__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.trash-noty__title {
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
    margin: 0;
}

.trash-noty__actions {
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.trash-noty__action {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 4px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.trash-noty__action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.trash-noty__action--undo {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.trash-noty__action--undo:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
    color: #bfdbfe;
}

/* Suppression des éléments indésirables */
.noty_close_button {
    color: rgba(255, 255, 255, 0.5) !important;
    background: transparent !important;
}

.noty_close_button:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Animation fluide */
.noty_effects_open {
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.noty_effects_close {
    animation: slideOutRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
