/* Toast уведомления */
.toast-container {
    position: fixed;
    top: 0;
    /* right: 20px; */
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* max-width: 400px; */
    width: 100%;
    pointer-events: none;
}

.toast {
    background: #fff;
    /* border-radius: 8px; */
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    animation: toastSlideIn 0.3s ease-out;
    position: relative;
    border-left: 4px solid;
    text-align: center;
    border-left-color: #ffffff!important;
}

.toast.toast-success {
    border-left-color: #10b981;
}

.toast.toast-error {
    border-left-color: #ef4444;
}

.toast.toast-info {
    border-left-color: #3b82f6;
}

.toast.toast-warning {
    border-left-color: #f59e0b;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-icon svg {
    width: 100%;
    height: 100%;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-info .toast-icon {
    color: #3b82f6;
}

.toast-warning .toast-icon {
    color: #f59e0b;
}

.toast-message {
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    margin: 0;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #1f2937;
}

.toast-close svg {
    width: 16px;
    height: 16px;
}

.toast.toast-exit {
    animation: toastSlideOut 0.3s ease-in forwards;
}

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

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

