﻿
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: #fff;
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    border-left: 4px solid #333;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.toast.show {
    transform: translateX(0);
}

.toast.hide {
    transform: translateX(120%);
}
.toast-success {
    border-left-color: #087f5b;
}

.toast-success .toast-icon {
    color: #087f5b;
}

.toast-error {
    border-left-color: #e03131;
}

.toast-error .toast-icon {
    color: #e03131;
}

.toast-info {
    border-left-color: #1971c2;
}

.toast-info .toast-icon {
    color: #1971c2;
}
.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    flex: 1;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
    transition: 0.2s;
}

.toast-close:hover {
    color: #333;
}

