#toastContainer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    pointer-events: none;
}

.toast {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    margin-bottom: 8px;
    border-left: 5px solid transparent;
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.hide {
    opacity: 0;
    transform: translateY(100%);
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.toast-icon {
    font-size: 24px;
    line-height: 1;
}

.toast-message {
    flex: 1;
}

.toast-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.toast-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 16px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #374151;
}

.toast-progress {
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display:none;
}

.toast-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left;
}

/* Types de notifications */
.toast-success {
    color: #10b981;
}

.toast-error {
    color: #ef4444;
}

.toast-warning {
    color: #f59e0b;
}

.toast-info {
    color: #3b82f6;
}

.toast:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}