.toast-container {
    position: fixed;
    top: 76px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 400px;
    width: max-content;
}

.toast {
    background: #1e2024;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    animation: toastIn 0.3s ease forwards;
    width: max-content;
    max-width: 380px;
    min-width: 200px;
}

.toast.hiding {
    animation: toastOut 0.25s ease forwards;
}

@keyframes toastIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

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

.toast-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.2);
}

.toast.error .toast-icon svg {
    stroke: #ef4444;
}

.toast.success .toast-icon {
    background: rgba(34, 197, 94, 0.2);
}

.toast.success .toast-icon svg {
    stroke: #22c55e;
}

.toast.warning .toast-icon {
    background: rgba(251, 191, 36, 0.2);
}

.toast.warning .toast-icon svg {
    stroke: #fbbf24;
}

.toast.info .toast-icon {
    background: rgba(96, 165, 250, 0.2);
}

.toast.info .toast-icon svg {
    stroke: #60a5fa;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.toast-close {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toast-close svg {
    width: 12px;
    height: 12px;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
}
