DocQA_GUI {
    background-color: #1B1B1B;
}

QWidget {
    border: none;
}

QPushButton {
    background-color: #4A148C;
    color: white;
    font: 10pt "Segoe UI Historic";
    border-radius: 5px;
    padding: 5px;
    min-width: 60px;
    border: 1px solid transparent;
}

QPushButton:hover {
    background-color: #673AB7;
    border: 1px solid #B39DDB;
}

QLabel {
    color: #E0E0E0;
}

QComboBox {
    background-color: #3E2723;
    color: white;
    border: 1px solid #3E2723;
    border-radius: 5px;
    padding: 3px;
}

QComboBox:hover,
QComboBox:focus {
    border: 1px solid #8D6E63;
}

QComboBox QAbstractItemView {
    background-color: #3E2723;
    color: white;
}

QComboBox QAbstractItemView::item:hover {
    background-color: #5D4037;
}

QRadioButton {
    color: #E0E0E0;
}

QLineEdit {
    background-color: #212121;
    color: white;
    border: 1px solid transparent;
    padding: 3px;
}

QLineEdit:hover,
QLineEdit:focus {
    border: 1px solid #880E4F;
}

QLineEdit::placeholder {
    color: #9E9E9E;
}

QGroupBox {
    border: 1px solid #004D40;
    color: #E0E0E0;
    font-size: 12pt;
    padding: 10px;
}

DownloadModelDialog {
    background-color: #212121;
}

QFrame {
    background-color: #212121;
}

QTextEdit[readOnly="true"] {
    background-color: #01579B;
    color: white;
    border: 1px solid #0277BD;
    selection-background-color: #0288D1;
    selection-color: white;
    font: 14pt "Segoe UI Historic";
}

QTextEdit[readOnly="false"] {
    background-color: #006064;
    color: white;
    border: 1px solid #00838F;
    selection-background-color: #0097A7;
    selection-color: white;
    font: 14pt "Segoe UI Historic";
}

QTabWidget {
    background-color: #1B1B1B;
    border: none;
}

QTabWidget, QTabWidget::pane {
    margin: 0px;
    padding: 0px;
    border: none;
}

QTabBar::tab {
    background-color: #311B92;
    color: white;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin: 3px;
    padding: 5px 5px;
}

QTabBar::tab:selected {
    background-color: #4A148C;
    border-bottom: 3px solid #7C4DFF;
}

QTabBar::tab:hover {
    background-color: #5E35B1;
}

QSplitter::handle {
    background-color: #3E2723;
    height: 5px;
}

QTreeView {
    color: #E0E0E0;
}

QHeaderView::section {
    background-color: #3E2723;
    color: white;
}

QMenuBar {
    color: #E0E0E0;
}

QMenuBar::item {
    background: transparent;
}

QMenuBar::item:selected {
    background: #4A148C;
}

QCheckBox {
    color: #E0E0E0;
}

QCheckBox::indicator:unchecked:hover,
QCheckBox::indicator:checked:hover {
    border: 1px solid #880E4F;
}

QAbstractItemView::item:hover {
    background-color: #4A148C;
    color: white;
}

QMessageBox {
    background-color: #212121;
}

QMessageBox QLabel {
    color: #E0E0E0;
}

QMessageBox QPushButton {
    background-color: #B71C1C;
    color: white;
    border-radius: 5px;
    padding: 5px;
    border: none;
}

QMessageBox QPushButton:hover,
QMessageBox QPushButton:pressed {
    background-color: #D32F2F;
}
QInputDialog {
    background-color: #1B1B1B;
}

QInputDialog QLabel {
    color: #E0E0E0;
}

QInputDialog QComboBox {
    background-color: #3E2723;
    color: white;
    border: 1px solid #3E2723;
    border-radius: 5px;
    padding: 3px;
}

QInputDialog QComboBox:hover {
    background-color: #5D4037;
    border: 1px solid #8D6E63;
}

QInputDialog QPushButton {
    background-color: #4A148C;
    color: white;
    border-radius: 5px;
    padding: 5px;
    min-width: 60px;
    border: none;
}

QInputDialog QPushButton:hover {
    background-color: #673AB7;
    border: 1px solid #B39DDB;
}

QDialog {
    background-color: #1B1B1B;
}

QDialog QLabel {
    color: #E0E0E0;
}

QDialog QLineEdit {
    background-color: #212121;
    color: white;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 3px;
}

QDialog QLineEdit:hover,
QDialog QLineEdit:focus {
    border: 1px solid #880E4F;
}

QDialog QDialogButtonBox QPushButton {
    background-color: #4A148C;
    color: white;
    border-radius: 5px;
    padding: 5px;
    min-width: 60px;
    border: none;
}

QDialog QDialogButtonBox QPushButton:hover {
    background-color: #673AB7;
    border: 1px solid #B39DDB;
}