/* Toast Notification System */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    font-family: 'Manrope', sans-serif;
}

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

.toast i:first-child {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666;
    font-size: 14px;
    transition: color 0.2s;
    flex-shrink: 0;
}

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

/* Types de toast */
.toast-success {
    border-left: 4px solid #10b981;
}

.toast-success i:first-child {
    color: #10b981;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-warning i:first-child {
    color: #f59e0b;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error i:first-child {
    color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    #toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
        transform: translateY(-100px);
    }

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