/* Toaster Component Styles */
.toaster-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    min-width: 300px;
    max-width: 450px;
    padding: 12px 16px;
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid #ccc;
    /*border-radius: 8px;*/
}

.toast-item.success {
    border-left-color: #10b981;
}

.toast-item.error {
    border-left-color: #ef4444;
}

.toast-item.closing {
    animation: fade-out 0.3s ease-in forwards;
}

.toast-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.success .toast-icon {
    color: #10b981;
}

.error .toast-icon {
    color: #ef4444;
}

.toast-content {
    flex: 1;
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.toast-close:hover {
    background-color: #f3f4f6;
    color: #4b5563;
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(20px);
        opacity: 0;
    }
}