/* Grundlegende Styles */

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

#mainContainer {
    flex-grow: 1;
    height: 90%;
    width: 90%;
    /* Ihr Hauptinhalt sollte hier sein */
}


/* Footer-Bereich */

.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 40%;
    background-color: #8484847d;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    /* border-bottom-style: solid; */
    border-radius: 5px;
    font-size: xx-small;
}


/* Grundstile für den Button */

.Button {
    padding: 10px 20px;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    /* Glatter Übergang für die Farbänderung */
}


/* Spezifische Stile für den Verbindungsstatus */

.footer .Button-connect {
    background-color: #007bff;
    /* Blau für 'Verbinden' */
}

.footer .Button-connected {
    background-color: #28a745;
    /* Grün für 'Verbunden' */
}

.footer .Button-disconnected {
    background-color: #dc3545;
    /* Rot für 'Verbindung verloren' */
}

.Button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: small;
    margin-left: 5px;
}

.footer .Button:hover {
    background-color: #0056b3;
}

.footer p {
    margin: 0 10px;
    color: #333;
}


/* Anpassen, um das Erscheinungsbild der verbunden/getrennt Nachricht anzupassen */

#bleState {
    font-weight: bold;
}


/* Verstecktes Input-Feld */

#levelLoader {
    display: none;
}


/* Spezielle Stile für die Spannungswerte */

        .measured-values {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
        }
        .measured-values p {
            margin: 0 10px; /* Optional: fügt etwas Abstand zwischen den Elementen hinzu */
        }