/* General Styles */
DocQA_GUI {
    background-color: #161b22;
}

QWidget {
    border: 2px solid #161b22;
    border: none;
}

/* QPushButton Styles */
QPushButton {
    background-color: #8ca6db;
    color: black;
    font: 10pt "Segoe UI Historic";
    border-radius: 5px;
    padding: 5px;
    min-width: 60px;
    border: 1px solid transparent;
}

QPushButton:hover {
    background-color: #2f343f;
    border: 1px solid #6c757d;
    color: black;
}

/* QLabel Styles */
QLabel {
    color: #d3a5cb;
}

/* QComboBox Styles */
QComboBox {
    background-color: #8ca6db;
    color: black;
    border: 1px solid #39424e;
    border-radius: 5px;
    padding: 3px;
}

QComboBox:hover,
QComboBox:focus {
    border: 1px solid #6c757d;
}

QComboBox QAbstractItemView {
    background-color: #8ca6db;
    color: black;
    border: 1px solid #39424e;
}

QComboBox QAbstractItemView::item:hover {
    background-color: #39424e;
    color: white;
}

/* QLineEdit Styles */
QLineEdit {
    background-color: #161b22;
    color: #a8beb5;
    border: 1px solid transparent;
    padding: 3px;
}

QLineEdit:hover,
QLineEdit:focus {
    border: 1px solid #6c757d;
}

QLineEdit::placeholder {
    color: #aacbe8;
}

/* QRadioButton Styles */
QRadioButton {
    color: white;
}

/* QGroupBox Styles */
QGroupBox {
    border: 1px solid #c2b6b2;
    color: white;
    font-size: 12pt;
    padding: 10px;
}

/* DownloadModelDialog Styles */
DownloadModelDialog {
    background-color: #161b22;
}

/* QFrame Styles */
QFrame {
    background-color: #161b22;
}

/* QTextEdit Styles */
QTextEdit[readOnly="true"] {
    background-color: #c2b6b2;
    color: #d3a5cb;
    border: 1px solid #a8beb5;
    selection-background-color: #9dbf9e;
    selection-color: black;
    font: 14pt "Segoe UI Historic";
}

QTextEdit[readOnly="false"] {
    background-color: #a8beb5;
    color: #d3a5cb;
    border: 1px solid #a8beb5;
    selection-background-color: #9dbf9e;
    selection-color: black;
    font: 14pt "Segoe UI Historic";
}

/* QTabWidget Styles */
QTabWidget {
    background-color: #161b22;
    border: none;
}

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

/* QTabBar Styles */
QTabBar::tab {
    background-color: #aacbe8;
    color: black;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin: 3px;
    padding: 5px 5px;
}

QTabBar::tab:selected {
    background-color: #39424e;
    border-bottom: 3px solid #6c757d;
}

QTabBar::tab:hover {
    background-color: #cdd3e5;
}

/* QSplitter Styles */
QSplitter::handle {
    background-color: #1e1e1e;
    height: 5px;
}

/* QTreeView Styles */
QTreeView {
    color: white;
}

/* QHeaderView Styles */
QHeaderView::section {
    background-color: #272a2e;
    color: white;
}

/* QMenuBar Styles */
QMenuBar {
    color: white;
}

QMenuBar::item {
    background: transparent;
}

QMenuBar::item:selected {
    background: #39424e;
}

/* QCheckBox Styles */
QCheckBox {
    color: white;
}

QCheckBox::indicator:unchecked:hover,
QCheckBox::indicator:checked:hover {
    border: 1px solid #6c757d;
}

/* QMessageBox Styles */
QMessageBox {
    background-color: #1e1e1e;
}

QMessageBox QLabel {
    color: white;
}

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

QMessageBox QPushButton:hover,
QMessageBox QPushButton:pressed {
    background-color: #2f343f;
}

/* QAbstractItemView Styles */
QAbstractItemView {
    background-color: #8ca6db;
    color: black;
    border: 1px solid #39424e;
}

QAbstractItemView::item:hover {
    background-color: #39424e;
    color: white;
}
/* QInputDialog Styles */
QInputDialog {
    background-color: #161b22;
}

QInputDialog QLabel {
    color: #d3a5cb;
}

QInputDialog QComboBox {
    background-color: #8ca6db;
    color: black;
    border: 1px solid #39424e;
    border-radius: 5px;
    padding: 3px;
}

QInputDialog QComboBox:hover {
    background-color: #aacbe8;
    border: 1px solid #6c757d;
}

QInputDialog QPushButton {
    background-color: #8ca6db;
    color: black;
    border-radius: 5px;
    padding: 5px;
    min-width: 60px;
    border: none;
}

QInputDialog QPushButton:hover {
    background-color: #aacbe8;
    border: 1px solid #6c757d;
}

/* QDialog Styles */
QDialog {
    background-color: #161b22;
}

QDialog QLabel {
    color: #d3a5cb;
}

QDialog QLineEdit {
    background-color: #161b22;
    color: #a8beb5;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 3px;
}

QDialog QLineEdit:hover,
QDialog QLineEdit:focus {
    border: 1px solid #6c757d;
}

QDialog QDialogButtonBox QPushButton {
    background-color: #8ca6db;
    color: black;
    border-radius: 5px;
    padding: 5px;
    min-width: 60px;
    border: none;
}

QDialog QDialogButtonBox QPushButton:hover {
    background-color: #aacbe8;
    border: 1px solid #6c757d;
}