.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0px 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

input {
    padding: 8px;
    width: 200px;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.result {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.logout {
    text-align: right;
    margin-bottom: 20px;
}

.logout a {
    color: #007bff;
    text-decoration: none;
}

.logout a:hover {
    text-decoration: underline;
}

.actions {
    margin: 20px 0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.button:hover {
    background-color: #218838;
    text-decoration: none;
}

select {
    padding: 8px;
    width: 200px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.error {
    color: #dc3545;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #dc3545;
    border-radius: 4px;
    background-color: #f8d7da;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: right;  /* Rechtsausrichtung für Zahlen */
}

.data-table th:first-child,
.data-table td:first-child,
.data-table th:nth-child(2),
.data-table td:nth-child(2) {
    text-align: left;   /* Jahr und Monat linksbündig */
}

.data-table th {
    background-color: #4a90e2;  /* Blauer Header */
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.data-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.data-table tr:hover {
    background-color: #f0f7ff;  /* Hellblauer Hover-Effekt */
}

.data-table td {
    border-bottom: 1px solid #eee;
}

/* Formatierung für die Zahlenwerte */
.data-table td:nth-child(3),
.data-table td:nth-child(4) {
    font-family: monospace;
    font-size: 1.1em;
}

/* Letzte Zeile ohne Border */
.data-table tr:last-child td {
    border-bottom: none;
}

.login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-form h1 {
    margin-bottom: 20px;
    text-align: center;
}

.login-form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-form button:hover {
    background: #357abd;
}

.container h1 {
    color: #4a90e2;
    font-size: 2em;
    margin: 15px 0 30px;  /* Reduzierter Top-Margin von 25px auf 15px */
    padding-bottom: 10px;
    border-bottom: 3px solid #4a90e2;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.container h2 {
    color: #4a90e2;
    font-size: 1.5em;
    margin: 25px 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.login-form h1 {
    color: #4a90e2;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
    border: none;
}

.logout-button {
    display: inline-block;
    padding: 8px 20px;          /* Mehr horizontales Padding */
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1em;            /* Größere Schrift */
    font-weight: 500;          /* Etwas fetter */
    letter-spacing: 0.5px;     /* Bessere Lesbarkeit */
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Subtiler Schatten */
}

.logout-button:hover {
    background-color: #357abd;
    text-decoration: none;
    color: white;
}
