body, html {
    height: 100%; /* Stelle sicher, dass der HTML- und Body-Tag die volle Höhe einnehmen */
    margin: 0;
    padding: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column; /* Kinder-Elemente werden vertikal ausgerichtet */
    overflow-x: hidden;
}

.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0px 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 24px;
    color: #333;
    text-decoration: none;
}

.content {
    flex: 1;
    padding: 20px;
    padding-bottom: 80px; /* Anpassen an die Höhe deines Footers */
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.main-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.logo-img {
    width: 30px;
    margin-right: 20px;
    margin-bottom: 5px;
}

.dashboard-wrapper {
    margin: 2em auto;
    max-width: 800px;
    width: 95%;
    font: 18px/1.5 sans-serif;
    text-align: center;
}
.welcome-message {
    font-size: 22px;
    margin-bottom: 20px;
}
.dashboard-content {
    background: #F5F5F5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.form-column {
    float: left; /* Sorgt dafür, dass die Container nebeneinander stehen */
    width: 50%; /* Jeder Container nimmt die Hälfte der verfügbaren Breite ein */
    padding: 0 15px; /* Etwas Abstand zwischen den Formularelementen */
}

/* Optionales Clearfix, um Floats zu bereinigen */
.form-row:after {
    content: "";
    display: table;
    clear: both;
}

.responsive-table {
    width: 100%;
    min-width: 80vw; /* Setzt die minimale Breite der Tabelle auf die volle Breite des Viewports */
    overflow-x: auto; /* Ermöglicht horizontales Scrollen bei Bedarf */
}

.responsive-table table {
    width: 99.5%;
    border-collapse: collapse;
}

/* Chatfenster */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 70vh; /* Setzt die Höhe des Chat-Containers auf 70% der Bildschirmhöhe */
    margin-bottom: 20px; /* Optionaler Abstand zum unteren Rand der Seite */
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto; /* Macht den Nachrichtenbereich scrollbar */
    margin-bottom: 10px;
    max-height: 60vh; /* Maximale Höhe des Nachrichtenbereichs */
    word-wrap: break-word;
    white-space: normal;
}

.chat-form {
    background: #ffffff; /* Hintergrundfarbe des Eingabebereichs */
}

.chat-form .form-control {
    flex-grow: 1;
    margin-right: 10px; /* Abstand zwischen Eingabefeld und Senden-Button */
}

.chat-form .btn {
    white-space: nowrap; /* Verhindert das Umbruch des Textes im Button */
}
#BodyDataChart {
    height: 300px;
}

@media (max-width: 700px) {
    #BodyDataChart {
        height: 800px;
    }
}
.gym-button
{
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 5px;
}