/* styles.css */

/* Grundlegende Seiteneinstellungen */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

h1 {
    color: #333;
    text-align: center;
}

/* Container für das Login-Formular */
#login-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px;
}

/* Beschriftungen und Eingabefelder */
#login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

#login-form input[type="text"],
#login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Anmelde-Schaltfläche */
#login-form button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#login-form button:hover {
    background-color: #218838;
}

/* Ergebnisbereich */
#result {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
    white-space: pre-wrap; /* Damit JSON-Formatierungen erhalten bleiben */
}

/* Zentrales Layout */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

/* Tabelle */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.data-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
