body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Center the content in the parent containers */

.status-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Add spacing below the device list */
}

/* Add styles to the device list */
#deviceList {
    margin: 20px 20px;
    text-align: center; /* Center the device list, headline, and description list */
    padding: 10px 10px; /* Add some vertical spacing */
}

/* Style the h1 tag */
h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* Make it bold */
    font-size: 2.5em; /* Make it larger */
    color: #505050; /* Metallic gray color */
    text-shadow: 2px 2px 1px #000000; /* Less blurry red text shadow */
    margin-bottom: 20px;
    margin-top: 30px;
}

/* Style the h2 tag */
h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400; /* Normal font weight */
    font-size: 1.1em; /* Slightly smaller than the h1 */
    color: #333; /* Dark grey color for contrast */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* A subtle text shadow */
    margin-bottom: 20px;
}


dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
}

dt {
    flex-basis: 60%;
    font-weight: bold;
    margin-bottom: 8px;
}

dt:before {
    content: "";
    display: block;
}

dt, dd {
    display: inline;
    /* align text to the left */
    text-align: left;
}

dd {
    flex-basis: 39%;
    margin-left: 10px;
    margin-bottom: 8px;

}

#toggleButton {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#toggleButton:hover, #updatePowerLimitButton:hover {
    background-color: #0056b3;
}

#updatePowerLimitButton {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}


/* Style the power limit input field */
#powerLimitContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

#powerLimitInput {
    width: 50px;  /* Lower the width of the input field */
    margin-right: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#powerLimitContainer label {
    margin-right: 10px;
}

#power_threshold_explanation {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 0.8em;
}

#error_message_field {
    color: red;
    font-size: 0.8em;
    font-family: 'Courier New', monospace;
    margin-top: 20px;
    margin-bottom: 20px;
}