/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    min-width: 300px;
    max-width: 450px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #1a1a1a;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    pointer-events: auto;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transition: all 0.3s ease;
}

.toast.hiding {
    animation: slideOut 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

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

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast-success {
    border-left: 5px solid #2ecc71;
}
.toast-success .toast-icon {
    background: #2ecc71;
    color: white;
}

.toast-error {
    border-left: 5px solid #e74c3c;
}
.toast-error .toast-icon {
    background: #e74c3c;
    color: white;
}

.toast-info {
    border-left: 5px solid #3498db;
}
.toast-info .toast-icon {
    background: #3498db;
    color: white;
}

.toast-content {
    flex-grow: 1;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
}

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