/* Das modale Fenster (standardmäßig ausgeblendet) */

/* jre00: Unklar */
ul, li {
    padding: 0;
     list-style: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 11000; /* Hoher z-index-Wert, um sicherzustellen, dass es über allen anderen Inhalten liegt */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 10;
}

/* Modal-Inhalt */
.modal-content {
    background-color: var(--primary-color);
    margin: 1% auto;
    padding: 10px;
    border: 2px solid #ddd; /* 2px Rahmen mit Primärfarbe */
    width: 50%; /* Verkleinern auf die Hälfte */
}

/* Schließen-Button */
.close {
    top: 2px;
    right: 2px;
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: rgb(250, 9, 9);
    text-decoration: none;
    cursor: pointer;
}

.einstellungen {
    color: #aaa; 
}

/* Tab-Links */
.tab {
    overflow: hidden;
    border: 2px solid #eee;
    background-color: #aaaaaa;
}

.tab .tablinks {
    background-color: #aaaaaa;
    float: left;
    border: 0px solid #f1f1f1;
    outline: none;
    cursor: pointer;
    padding: 14px 14px;
    transition: 0.3s;
}

.tab .tablinks:hover {
    background-color: #f1f1f1;
}

.tab .tablinks.active {
    background-color: #f1f1f1;
}

/* Tab-Inhalt */
.tabcontent {
    background-color: #f1f1f1;
    display: none;
    padding: 6px 12px;
    border: 0px solid #ccc;
    border-top: none;
}

.body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

form {
    /* background-color: #ffffff;
    padding: 2px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
}
input {
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
}

select {
    width: 95%;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.button {
    width: 100%;
    padding: 10px;
    background-color: #4a4a4a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button:hover {
    background-color: #333333;
}

/* Schließen-Button */
.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.close-btn img {
    width: 15px;
    height: 15px;
}

/* Content für die Administratios Seite */
.admin_container {
    display: flex;
    justify-content: space-between;
    gap: 2px;
}

.admin_container select{
    margin-bottom: 16px;
    height: 33px;
}

.firmenListeContainer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    width: auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    box-sizing: border-box;
}

.neueFirmaForm {
    width: 100%;
}

.firmenliste-container {
    max-height: 400px; /* Maximale Höhe der Firmenliste */
    overflow-y: auto; /* Vertikaler Scrollbalken bei Bedarf */
}

.firmenliste-item {
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.firmenliste-item input {
    width: 100%;
}

.firma-button {
    background-color: #ffffff; /* Weißer Hintergrund */
    border: 2px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: calc(100% - 35px); /* Setzt die Breite auf 100% minus den gewünschten Abstand */
    margin: 5px 10px; /* Reduziert den Abstand oben und unten, gleicht den Abstand links und rechts aus */
}

.firma-button:hover {
    background-color: #e0e0e0;
}

#firmenListe {
    margin: 10px 10px; /* Gleicher Abstand links und rechts */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: 400px; /* Maximale Höhe für die Firmenliste */
    overflow-y: auto; /* Scrollbar hinzufügen, wenn die Liste zu lang ist */
}

#sucheFirma {
    width: calc(100% - 40px); /* Setzt die Breite des Suchfelds auf 100% minus den gewünschten Abstand */
    padding: 10px;
    margin: 0 10px 10px 10px; /* Gleicher Abstand links und rechts, Abstand unten */
    border: 1px solid #ccc;
    border-radius: 4px;
}


.userHandlerButton {
    background-color: #ffffff; /* Weißer Hintergrund */
    border: 2px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 99%; /* Setzt die Breite auf 100% minus den gewünschten Abstand */
    margin: 2px 2px; /* Reduziert den Abstand oben und unten, gleicht den Abstand links und rechts aus */
}

.userHandlerButton:hover {
    background-color: #e0e0e0;
}
.inaktiv {
    pointer-events: none;
    opacity: 0.5;
}

.aktiv {
    pointer-events: auto;
    opacity: 1;
}

.sperren-button {
    background-color: #ffcccc; /* Hellrot für gesperrte Firmen */
}

.button.entsperren-button {
    background-color: #ddd; /* default hintergrund für entsperrte Firmen */
}

.firma-button.gesperrt {
    background-color: #ffcccc; /* Hellrot für gesperrte Firmen */
}

.button-icon {
    width: 15px;
    height: 15px;
}
