#addBtn, #uploadBtn, #parseBtn {
  position: absolute;
  z-index: 10;
  width: 40px;
  height: 40px;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

#addBtn {
  top: 10px;
  right: 10px;
}

#uploadBtn {
  top: 60px;
  right: 10px;
}

#parseBtn {
  top: 110px;
  right: 10px;
}

#addBtn:hover, #uploadBtn:hover, #parseBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.dlg-buttons {
  margin-top: 15px;
  text-align: right;
}

.dlg-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
}

.dlg-buttons button i {
  margin-right: 6px;
}

.dlg-buttons button:first-child {
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: #fff;
}

.dlg-buttons button:last-child {
  background: #e0e0e0;
  color: #333;
}

.dlg-buttons button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.dlg-buttons button:first-child:hover {
  background: linear-gradient(135deg, #5a7be8, #9466d0);
}

.dlg-buttons button:last-child:hover {
  background: #d0d0d0;
}

.absolute-btn {
  position: absolute;
  bottom: 40px;
  right: 10px;
  z-index: 1100; /* выше панелей диалогов */
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.absolute-btn:hover {
  background-color: #f0f0f0;
}

.param-row {
  display: flex;
  gap: 5px;
  margin: 5px 0;
}
.param-row input {
  flex: 1;
  padding: 3px 5px;
}
.param-row button {
  flex: 0 0 auto;
}