html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin: auto;
    height: 100%;
    background: #F9F8FE;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 60px;
    font-family: Roboto, Helvetica Neue, sans-serif;
    font-size: smaller;
}

#app-copyright {
    text-align: center;
    margin-top: auto;
    font-size: 16px;
    font-weight: bold;
    color: #898A8B;
    font-family: Roboto, Helvetica Neue, sans-serif;
}

.cs-#D2594B {
    color: #D2594B;
}

#wifiListContainer {
    padding-left: 18%
}

#app-complete, #app-configured {
    width: 680px;
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#firmare-uploaded {
    width: 750px;
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cardiosense-header-div {
    height: 103px;
    position: relative;
}

#cardiosense-header {
    height: 103px;
}

#cardiosense-header-text {
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-size: 16px;
    font-weight: 600
}


#app-root {
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
}

.spacer {
    height: 20px;
    width: 100%;
}

.panel-base {
    width: 680px;
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#wifiSearching {
    font-size: 16px;
    color: #dc195a;
    width: 680px;
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#firmwareUpdating {
    font-size: 16px;
    color: #dc195a;
    width: 750px;
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app-error {
    color: #dc195a;
    font-size: 16px;
    padding-top: 20px;
}

#app-wifi {
    width: 680px;
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app-instructions {
    color: #dc195a;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.device-select-grid {
    display: grid;
    grid-template-rows: auto auto;
}

.device-select {
    grid-column: 1 / span 1;
    grid-row: 1 / span 3;
    justify-self: center;
    align-self: center;
    margin-right: 20px;
}

.label-base {
    color: #dc195a;
    font-size: 16px;
    font-family: Roboto, Helvetica Neue, sans-serif;
}

.device-name-label {
    grid-column: 2 / span 1;
    grid-row: 1 / span 1;
    color: #dc195a;
    font-size: 16px;
    font-family: Roboto, Helvetica Neue, sans-serif;
}

.value-text-base {
    color: black;
    font-size: 16px;
    font-family: Roboto, Helvetica Neue, sans-serif;
}

.device-name {
    grid-column: 3 / span 1;
    grid-row: 1 / span 1;
    color: black;
    font-size: 16px;
    font-family: Roboto, Helvetica Neue, sans-serif;
}

.device-fw-label {
    grid-column: 2 / span 1;
    grid-row: 2 / span 1;
    color: #dc195a;
    font-size: 16px;
    font-family: Roboto, Helvetica Neue, sans-serif;
}

#app-select-device {
    width: 680px;
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#app-select-device-firmware, #app-install-device-firmware {
    width: 750px;
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.device-fw {
    grid-column: 3 / span 1;
    grid-row: 2 / span 1;
    color: black;
    font-size: 16px;
    font-family: Roboto, Helvetica Neue, sans-serif;
}

.app-button {
    font-size: 16px;
    border: none;
    background-color: #D2594B;
    color: white;
    border-radius: 10px;
    padding: 7px 32px;
    text-align: center;
    text-decoration: none;
    width: 308px;
}

.cancel {
    font-size: 16px;
    border: none;
    background-color: grey;
    color: white;
    border-radius: 10px;
    padding: 7px 32px;
    text-align: center;
    text-decoration: none;
    width: 308px;
}

.app-button:disabled {
    opacity: 0.4;
    background-color: #444444;
}

.app-text-input {
    width: 80%;
    background-color: white;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    margin-right: 30px;
}

    .app-text-input:disabled {
        opacity: 0.4;
    }

.device-string {
    font-size: 16px;
}



.wifi-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 8px;
}

.wifi-img {
    width: 40px;
    height: 40px;
}

.wifi-select-grid {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    width: 80%;
}

#password-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.app-checkbox {
    width: 16px;
    margin-bottom: 8px;
}

.app-checkbox-large {
    width: 30px;
    height: 30px;
}

#menu-toggle {
    cursor: pointer;
    position: relative;
    top: 25px;
    left: 15px;
}

.fa-2x {
    font-size: 19px !important;
}

#company-info {
    display: flex;
    align-items: center;
}





#header-img {
    top: -3px;
    position: relative;
    left: 40px;
    height: 27px;
}

#side-menu {
    position: fixed;
    top: 66px;
    left: -250px;
    width: 220px;
    height: 100%;
    background-color: #D2594B;
    transition: left 0.3s ease;
    z-index: 9999; /* Ensure side menu is above other elements */
}

    #side-menu ul li.active {
        background-color: #d97a70; /* Lighter shade than the default background */
        color: #333; /* Optionally, change the text color for active item */
    }

    #side-menu.open {
        left: 0px;
    }

    #side-menu ul {
        list-style: none;
        padding: 0;
    }

        #side-menu ul li {
            padding: 20px;
        }

            #side-menu ul li a {
                color: #fff;
                text-decoration: none;
                display: block;
                font-size: 16px;
            }

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 25%;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
