/* Toast notifications - Глобальная система уведомлений */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast--show {
    opacity: 1;
    transform: translateX(0);
}

.toast--info {
    border-left: 4px solid #2196F3;
}

.toast--success {
    border-left: 4px solid #4CAF50;
}

.toast--error {
    border-left: 4px solid #F44336;
}

.toast__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.toast__message {
    flex: 1;
    font-size: 14px;
    color: #1B1B1B;
    line-height: 1.4;
}

.toast__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast__restore {
    background: #007CD4;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.toast__restore:hover {
    background: #0066b3;
}

.toast__restore:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.toast__close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast__close:hover {
    color: #1B1B1B;
}

@media (max-width: 768px) {
    .toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .toast__content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toast__actions {
        width: 100%;
        justify-content: space-between;
    }
}
