/* Styles personnalisés pour Toasty.js */
.toasty-container {
    z-index: 9999;
}

.toasty {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    min-width: 300px;
    max-width: 400px;
}

.toasty.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-left: 4px solid #1e7e34;
}

.toasty.error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    border-left: 4px solid #c82333;
}

.toasty.warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
    border-left: 4px solid #e0a800;
}

.toasty.info {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
    color: white;
    border-left: 4px solid #138496;
}

.toasty .toasty-header {
    font-weight: 600;
    margin-bottom: 4px;
}

.toasty .toasty-message {
    line-height: 1.4;
}

.toasty .toasty-close {
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.toasty .toasty-close:hover {
    opacity: 1;
}

/* Animation d'entrée personnalisée */
.toasty.entering {
    animation: toastySlideIn 0.3s ease-out;
}

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

/* Animation de sortie personnalisée */
.toasty.leaving {
    animation: toastySlideOut 0.3s ease-in;
}

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