/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #ddd;
    margin: 20px;
}

/* Flexbox-Container für Tabelle & Formular */
.container {
    display: flex;
    width: 100%;
    gap: 20px; /* Abstand zwischen Tabelle und Formular */
}

/* Tabelle nimmt 75% der Breite ein */
.table-container {
    width: 75%;
}

/* Formular nimmt 25% der Breite ein */
.form-container {
    width: 25%;
    background: #252525;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

/* Tabelle stylen */
table {
    width: 100%;
    border-collapse: collapse;
    background: #2a2a2a;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 3px;
    border: 1px solid #444;
    text-align: center;
}

th {
    background-color: #333;
    color: #fff;
}

/* Eingabefelder & Auswahlfelder */
input, select {
    width: 100%; /* Volle Breite für bessere Lesbarkeit */
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #555;
    background: #333;
    color: #ddd;
    border-radius: 4px;
    outline: none;
}

/* Button-Design */
button {
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

button:hover {
    background: #218838;
}

/* Spezieller Stil für den Löschen-Button */
button.delete {
    background: #dc3545;
}

button.delete:hover {
    background: #c82333;
}

/* Passwortfeld mit Umschaltbutton */
.password-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-container input {
    flex: 1;
}

.password-container button {
    background: #007bff;
    margin-left: 5px;
}

.password-container button:hover {
    background: #0056b3;
}

/* Benutzerverwaltung Überschrift */
h2 {
    color: #f8f9fa;
    margin-bottom: 10px;
}

/* Eingabeformular für neue Benutzer */
h3 {
    color: #f8f9fa;
    margin-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Styling für Formularfelder */
label {
    color: #ccc;
    font-size: 14px;
    display: block;
    margin-top: 10px;
}

/* Hover-Effekt für Tabellenzeilen */
tr:hover {
    background-color: #292929;
}
