html {
    width: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: rgb(245, 246, 250);
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    text-decoration: none;
}

h1, h2 {
    text-align: center;
}

.section-wrapper {
    width: 100%;
    max-width: 900px;
}

.section {
    padding: 0.8em;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-family: Arial, Helvetica, sans-serif;
}

.inactive {
    color: red;
}

.active {
    color: green;
}

.button {
    background-color: green;
    color: white;
    border-radius: 10px;
    padding: 1em;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    margin-top: 1em;
    font-size: 16px;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid green;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(8, 1fr);
    grid-auto-flow: column;
    align-items: center;
}

.schedule-table {
    display: flex;
    flex-direction: column;
}

.schedule-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.schedule-row:hover {
    background-color: rgba(166, 197, 244, 0.4);
}

.schedule-item {
    flex: 1
}

.current {
    background-color: rgba(140, 197, 250, 0.8);
}

.green {
    color: green;
}

.orange {
    color: orange;
}

.red {
    color: red;
}

@media only screen and (max-width: 600px) {
    .grid-container {
        grid-template-columns: repeat(9, 100px);
        overflow-x: scroll;
    }

    .schedule-table {
        overflow-x: scroll;
    }

    .schedule-item {
        min-width: 100px;
    }
}

.grid-item, .schedule-item {
    text-align: center;
    margin: 0.5em;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
}

.grid-item::-webkit-scrollbar, .schedule-item::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.bold {
    font-weight: bold;
}


.price-table-status {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 1em;
}

.price-table-status-item {
    color: gray;
    text-align: center;
}

.current-price {
    background-color: #91ec91 !important;
}

.form-button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.form-button {
    font-size: 16px;
}

.errorlist {
    margin: 0;
    list-style: none;
    padding: 0;
}

.errorlist li {
    color: red;
    font-size: 16px;
    margin: 10px 0;
}

.floating-component {
    width: 100%;
    background-color: white;
    box-shadow: 0 0 30px -5px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0 30px -5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 30px -5px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 1em;
    box-sizing: border-box;
}

.date-picker-form {
    margin-top: 1em;
    margin-bottom: 1em;
}

.field-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5em;
    box-sizing: border-box;
}

.field-wrapper label {
    font-size: 18px;
    margin-bottom: 3px;
}

.field-wrapper select, .field-wrapper input[type=text], .field-wrapper input[type=date], .field-wrapper input[type=password], .field-wrapper input[type=number], .date-picker-button {
    border: gray 1px solid;
    border-radius: 5px;
    padding: 5px;
    font-size: 18px;
    color: black;
    background-color: rgb(245, 245, 245);
}

.date-picker-button {
    margin: 0 0.5em;
}

.help-text {
    font-size: 14px;
    color: gray;
    margin-top: 3px;
}

.logout {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4em;
    margin-bottom: 4em;
}

.add-device-button {
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.add-device-button-icon {
    background-color: green;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.date-picker-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.basic-statistics {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 1em;
}

.basic-statistic-item {
    display: flex;
    flex: 1;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.basic-statistic-item-title {
    font-weight: bolder;
    color: rgb(93, 93, 93);
}

.basic-statistic-item-value {
    color: black;
    font-size: larger;
    margin-top: 0.3em;
    font-weight: bold;
}
