/* styles.css */

/* Allgemeine Stile */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.navbar {
    overflow: hidden;
    background-color: #333;
    padding: 20px 20px;
    text-align: left;
}

.navbar a {
    color: #f2f2f2;
    text-align: center;
    padding: 20px 20px;
    text-decoration: none;
    font-size: 17px;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

table {
    border-collapse: collapse;
    width: 97%;
    margin: 20px auto;
}

input {
width: 95%;
height: auto;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    max-height: 2.4em;
    line-height: 1.2em;
    white-Space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

th {
    background-color: #f2f2f2;
    text-align: left;
}

.edit-button {
    text-align: right;
}

/* Sidebar-Stile */
.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #333; /* Dunkle Hintergrundfarbe */
    overflow-x: hidden;
    padding-top: 60px;
    transition: all 0.5s ease;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.filter-form {
    padding: 10px;
    color: white;
}

.filter-form label {
    display: block;
    margin-top: 10px;
    color: #f1f1f1;
}

.filter-form input {
    width: calc(100% - 10px);
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
}

/* Klasse zum Ausblenden der Sidebar */
.sidebar.hidden {
    display: none;
}

/* Hauptinhalt */
#main {
    margin-right: 0px;
    padding: 0px;
}

#toggle-sidebar {
    float: right;
    margin: 16px;
    cursor: pointer;
}

textarea {
    width: 100%;
    height: auto;
    overflow: hidden;
    resize: none;
    white-space: pre-wrap; /* Zeilenumbruch bei langen Texten */
    box-sizing: border-box; /* Inklusive Padding in der Breite */
}

.inline-checkbox {
    display: inline-block;
    margin-right: 15px; /* Abstand zwischen den Checkboxen */
}
