.glucosolo-container {
    width: 300px;
    height: auto;
    background-color: #1e1e1e;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    padding: 20px;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    position: relative;
}
.glucosolo-display {
    height: 180px;
    background-color: #000000;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
#glucosolo-name {
    font-size: 24px;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 10px;
}
#glucosolo-mmoll { margin-bottom: 5px; }
.glucosolo-mgdl-datetime {
    display: flex;
    justify-content: center;
}
#glucosolo-mgdl { margin-right: 10px; }
#glucosolo-datetime {
    font-size: 12px;
    color: #ff5722;
}
.glucosolo-capture-area {
    height: auto;
    background-color: #2e2e2e;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    padding: 10px;
}
.glucosolo-capture-area video {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}
.glucosolo-capture-area select,
#glucosolo-flash-toggle {
    width: 100%;
    margin-top: 8px;
}
.glucosolo-button {
    width: 100%;
    padding: 15px;
    background-color: #4caf50;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
}
.glucosolo-button.small {
    font-size: 14px;
    padding: 10px;
}
.glucosolo-feedback {
    margin-top: 10px;
    font-size: 14px;
    color: #ffeb3b;
    text-align: center;
    min-height: 1.5em;
}
.glucosolo-calibration {
    margin-top: 20px;
    text-align: center;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 10px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;

    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
input:checked + .slider { background-color: #2196f3; }
input:checked + .slider:before { transform: translateX(26px); }
