حوله للوضع النهار استخدم الون الازرق /* الخلفية العامة لجميع النوافذ */
QWidget {
  background-color: #31363b;
  
font: 600 9pt "Cairo SemiBold";
}



/* الخلفية العامة للإطار الرئيسي */
#MainWindow, #d1, #d2, #d3, #d4, #d5, #d6, #d7, #d9, #d10, #d11, #d20, #d21, #d50, #d51, #d61, #d62, #d70, #d100, #d200, #logan, #setting, #vi, #windowframe {
    background-color: #e4e4e6;
    border-left: 2px solid #e9e9eb;
    border-right: 2px solid #e9e9eb;
    border-bottom: 2px solid #e9e9eb;
}

/* إطار الجسم */
#body {
    background-color: #e4e4e6;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}



/* الرأس */
#header {
    background-color: #e4e4e6;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-left: 2px solid #ebebeb;
    border-right: 2px solid #ebebeb;
    border-top: 2px solid #ebebeb;
}

QFrame {
    color: rgb(0, 0, 0);
    background-color: #0d1017;
}

/* تنسيق الأزرار */
#pushButton_108, #pushButton_50, #pushButton_109, #pushButton_40, #pushButton_90, #pushButton_118, #pushButton_51, #pushButton_117, #pushButton_26, #pushButton_34, #pushButton_27, #pushButton_45, #pushButton_89, #pushButton_56, #pushButton_107, #pushButton_86, #pushButton_49 {
    color: rgb(48, 148, 251);
    background-color:#0d1017;
    border: 0.5px solid rgb(48, 148, 251);
}

#pushButton_108:hover, #pushButton_50:hover, #pushButton_109:hover, #pushButton_40:hover, #pushButton_90:hover, #pushButton_118:hover, #pushButton_51:hover, #pushButton_117:hover, #pushButton_26:hover, #pushButton_34:hover, #pushButton_27:hover, #pushButton_45:hover, #pushButton_89:hover, #pushButton_56:hover, #pushButton_107:hover, #pushButton_86:hover, #pushButton_49:hover {
    background-color: rgb(6, 50, 117);
    color: rgb(255, 255, 255);
}

#pushButton_108:pressed, #pushButton_50:pressed, #pushButton_109:pressed, #pushButton_40:pressed, #pushButton_90:pressed, #pushButton_118:pressed, #pushButton_51:pressed, #pushButton_117:pressed, #pushButton_26:pressed, #pushButton_34:pressed, #pushButton_27:pressed, #pushButton_45:pressed, #pushButton_89:pressed, #pushButton_56:pressed, #pushButton_107:pressed, #pushButton_86:pressed, #pushButton_49:pressed {
    background-color: rgb(48, 148, 251);
}




QMainWindow {
    color: rgb(221, 221, 221);
    font: 600 9pt "Cairo SemiBold";
    border: 2px solid blue;
}

QWidget {
    color: rgb(221, 221, 221);
    font: 10pt "Segoe UI";
}


/* تخصيص Tablewidget */
QTableView {
    background-color: #1b1e23;
    padding: 5px;
    border-radius: 8px;
    gridline-color: #2c313c;
    color: #8a95aa;
}

QTableView::item {
    border: none;
    padding-left: 5px;
    padding-right: 5px;
    gridline-color: rgb(44, 49, 60);
    border-bottom: 1px solid #3c4454;
}

QTableView::item:selected {
    background-color: #568af2;
    color: rgb(0, 0, 0);
}

QHeaderView::section {
    background-color: rgb(33, 37, 43);
    max-width: 30px;
    border: 1px solid rgb(44, 49, 58);
    border-style: none;
    border-bottom: 1px solid rgb(44, 49, 60);
    border-right: 1px solid rgb(44, 49, 60);
}

QTableView::horizontalHeader {
    background-color: rgb(33, 37, 43);
}

QTableView QTableCornerButton::section {
    border: none;
    background-color: #1e2229;
    padding: 3px;
    border-top-left-radius: 8px;
}

QHeaderView::section:horizontal {
    border: none;
    background-color: #1e2229;
    padding: 3px;
}

QHeaderView::section:vertical {
    border: none;
    background-color: #3c4454;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 1px solid #3c4454;
    margin-bottom: 1px;
}

/* تخصيص ScrollBars */
QScrollBar:horizontal {
    border: none;
    background: #2c313c;
    height: 8px;
    margin: 0px 21px 0 21px;
    border-radius: 0px;
}

QScrollBar::handle:horizontal {
    background: #568af2;
    min-width: 25px;
    border-radius: 4px;
}

QScrollBar::add-line:horizontal {
    border: none;
    background: #272c36;
    width: 20px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    subcontrol-position: right;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:horizontal {
    border: none;
    background: #272c36;
    width: 20px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    subcontrol-position: left;
    subcontrol-origin: margin;
}

QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal {
    background: none;
}

QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
    background: none;
}

QScrollBar:vertical {
    border: none;
    background: #2c313c;
    width: 8px;
    margin: 21px 0 21px 0;
    border-radius: 0px;
}

QScrollBar::handle:vertical {
    background: #568af2;
    min-height: 25px;
    border-radius: 4px;
}

QScrollBar::add-line:vertical {
    border: none;
    background: #272c36;
    height: 20px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    subcontrol-position: bottom;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:vertical {
    border: none;
    background: #272c36;
    height: 20px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    subcontrol-position: top;
    subcontrol-origin: margin;
}

QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
    background: none;
}

QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
    background: none;
}

/* تخصيص Tooltip */
QToolTip {
    color: #ffffff;
    background-color: rgba(33, 37, 43, 180);
    border: 1px solid rgb(44, 49, 58);
    border: none;
    border-left: 2px solid rgb(255, 121, 198);
    text-align: left;
    padding-left: 8px;
    margin: 0px;
}

/* إعدادات الخلفية الإضافية */
#centralwidget {    
    background-color: rgb(33, 37, 43);
    border: 1px solid rgb(44, 49, 58);
}

/* القائمة اليسرى */
#leftMenuBg {    
    background-color: rgb(33, 37, 43);
}

#topLogo {
    background-color: rgb(33, 37, 43);
    background-image: url(:/images/images/images/PyDracula.png);
    background-position: center;
    background-repeat: no-repeat;
}

#titleLeftApp {
    font: 63 12pt "Segoe UI Semibold";
}

#titleLeftDescription {
    font: 8pt "Segoe UI";
    color: rgb(189, 147, 249);
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////
LineEdit */
QLineEdit {
	background-color: rgb(33, 37, 43);
	border-radius: 5px;
	border: 2px solid rgb(33, 37, 43);
	padding-left: 10px;
	selection-color: rgb(255, 255, 255);
	selection-background-color: rgb(25, 46, 89);
}
QLineEdit:hover {
	border: 2px solid rgb(25, 46, 89);
}
QLineEdit:focus {
	border: 2px solid rgb(91, 101, 124);
}

/* ComboBox */
QComboBox {
    background-color: rgb(27, 29, 35);
    border-radius: 5px;
    border: 2px solid rgb(33, 37, 43);
    padding: 5px;
    padding-left: 10px;
}

QComboBox:hover {
    border: 2px solid rgb(64, 71, 88);
}

QComboBox::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 25px;
    border-left-width: 3px;
    border-left-color: rgba(39, 44, 54, 150);
    border-left-style: solid;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-image: url(C:/supermark/resources/icons/cil-arrow-bottom);
    background-position: center;
    background-repeat: no-repeat;
}

QComboBox QAbstractItemView {
    color: rgb(255, 121, 198);
    background-color: rgb(33, 37, 43);
    padding: 10px;
    selection-background-color: rgb(39, 44, 54);
}


/* QCheckBox */
QCheckBox {
    background-color: #0d1017;
}

QCheckBox::indicator {
    border: 3px solid rgb(52, 59, 72);
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background: rgb(44, 49, 60);
}

QCheckBox::indicator:hover {
    border: 3px solid rgb(58, 66, 81);
}

QCheckBox::indicator:checked {
    background-color: rgb(52, 59, 72);
    border: 3px solid rgb(52, 59, 72);
    background-image: url(C:/supermark/resources/icons/cil-check-alt);
    background-position: center;
    background-repeat: no-repeat;
}


/* QRadioButton */
QRadioButton {
    background-color: #0d1017;
}

QRadioButton::indicator {
    border: 3px solid rgb(52, 59, 72);
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: rgb(44, 49, 60);
}

QRadioButton::indicator:hover {
    border: 3px solid rgb(58, 66, 81);
}

QRadioButton::indicator:checked {
    background-color: rgb(94, 106, 130);
    border: 3px solid rgb(52, 59, 72);
}