/* Grundlegendes Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Grunddesign */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Kopfzeile */
.main-header {
    background-color: #333;
    color: white;
    padding: 1rem;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: baseline;
}

/* Container für Sidebar und Inhalt */
.wrapper {
    display: flex;
    flex: 1;
}

/* Seitenleiste */
.sidebar {
    width: 150px;
    background-color: #f4f4f4;
    border-right: 1px solid #ddd;
    padding: 1rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul p {
    font-weight: bold;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 5px;
}

.sidebar ul li a:hover {
    background-color: #ddd;
}

/* Inhaltsbereich */
.content {
    flex: 1;
    padding: 2rem;
    background-color: #fff;
}


/* Add-Seite */
label {
    width: 100%;
    margin-bottom: 50px;
}

input:not([type="checkbox"]):not([type="radio"]), button, select {
    padding: 10px;
    margin: 2px;
    display: block;
    width: 100%;
    /* max-width: 300px; */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;

    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    min-height: 40px;
}

.checkbox-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 5px 0 5px 0;
    width: 100%;
}

.checkbox-container input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-container label {
    display: inline;
    margin: 0;
    cursor: pointer;
    width: auto;
}

button {
    background-color: #333;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

/* Overview-Seite */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background-color: #fff;
}

table th {
    background-color: #333;
    color: white;
    padding: 12px;
    text-align: left;
}

table td {
    padding: 10px;
    border: 1px solid #ddd;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}