/* appqss */

/* Alle QWidgets bekommen diesen Font */
QWidget
{
    font-size: 14px;
    font-family: Segoe UI, sans-serif;
}

QMainWindow
{
  background-color: #272727;
}

QSplitter
{
color: red;
  background-color: #272727;
}
/* Spezifisches Styling für Buttons */
QPushButton
{
    background-color: #0078d7;
    color: white;
    border-radius: 4px;
    padding: 6px;
}

QPushButton:hover
{
    background-color: #1084e3;
}

QPushButton:pressed
{
    background-color: #005a9e;
}

/* Normal */
QToolButton {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px;
}

/* Hover */
QToolButton:hover {
    background-color: #E3F2FD;
    border: 1px solid #2196F3;
}

/* Pressed/Clicked */
QToolButton:pressed {
    background-color: #BBDEFB;
}

/* Checked (bei checkable buttons) */
QToolButton:checked {
    background-color: #2196F3;
    color: white;
}

/* Checked + Hover */
QToolButton:checked:hover {
    background-color: #1976D2;
}

/* Disabled */
QToolButton:disabled {
    color: #BDBDBD;
    background-color: transparent;
}

/* Styling anhand von Objektnamen (ID) */
#loginButton
{
    font-weight: bold;
    background-color: green;
}

QListView
{
    background-color: #404142;
    border-radius: 8px;
    outline: none;
    show-decoration-selected: 0;
}

QListView::item
{
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 8px;
    margin: 4px;
    background-color: white;
}

QListView::item:hover
{
    border-color: #FF9800;
    background-color: #fff8f0;
}

QListView::item:selected
{
    border-color: #F44336;  /* Roter Rahmen */
    background-color: #ffebee;
}

QListView::item:selected:hover
{
    border-color: #FF9800;
    background-color: #ffe0b2;
}

QListView::item:focus
{
/*
//    outline: none;   Entfernt das Focus-Rectangle 
//    border-color: green;
//    background-color: #ffe0b2;
*/
  border: 2px solid gray;
  border-style: inset;
  background-color: white;
  color: black;
}
