QWidget {
  background: #0f172a;
  color: #e2e8f0;
  font-family: "Segoe UI", "Helvetica Neue", "Arial";
  font-size: 12px;
}

QMainWindow {
  background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #0f172a, stop:1 #111827);
}

QDockWidget {
  titlebar-close-icon: none;
  titlebar-normal-icon: none;
  border: 1px solid #1f2937;
}

QDockWidget::title {
  background: #111827;
  padding: 6px;
  text-align: left;
  border-bottom: 1px solid #1f2937;
}

QGroupBox {
  border: 1px solid #1f2937;
  margin-top: 8px;
  border-radius: 8px;
}

QGroupBox::title {
  subcontrol-origin: margin;
  left: 8px;
  padding: 0 4px;
  color: #93c5fd;
}

QPushButton {
  background: #1d4ed8;
  border-radius: 6px;
  padding: 6px 10px;
  border: 1px solid #1e40af;
}

QPushButton:hover {
  background: #2563eb;
}

QPushButton:disabled {
  background: #334155;
  color: #94a3b8;
}

QComboBox, QSpinBox, QDoubleSpinBox, QLineEdit {
  background: #111827;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 4px 6px;
}

QListWidget, QTableView {
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 6px;
}

QTabWidget::pane {
  border: 1px solid #1f2937;
  border-radius: 8px;
}

QTabBar::tab {
  background: #111827;
  padding: 6px 12px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin-right: 2px;
}

QTabBar::tab:selected {
  background: #1e293b;
  color: #93c5fd;
}

QSlider::groove:horizontal {
  height: 6px;
  background: #1f2937;
  border-radius: 3px;
}

QSlider::handle:horizontal {
  width: 14px;
  background: #38bdf8;
  margin: -4px 0;
  border-radius: 7px;
}

QStatusBar {
  background: #111827;
  color: #94a3b8;
}
