main {
    width: 95%;
    max-width: 600px;
    margin: 2px auto;
    padding: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    flex: 1;
    background-color: #f0f0f0;
    overflow-y: auto;
}

footer {
    background-color: #3f51b5;
    color: white;
    padding: 10px;
    text-align: center;
    flex: 0 0 60px;
    display: flex;
    flex-direction: column;
}


button {
    background-color: rgba(64, 172, 61, 0.97);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    outline: none;
    border-radius: 6px;
    width: 80%;
}

button:hover {
    background-color: rgba(64, 172, 61, 0.7);
}

button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.50;
}

.table-container {
    max-width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

thead {
    background-color: #f8f8f8;
}

th, td {
    padding: 2px;
    text-align: left;
    border: 1px solid #e0e0e0;
}
thead>tr>th {
    text-align: center;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}
td.temp {
    text-align: center;
}


.form-input {
    display: flex;
    justify-content: space-between;
}

.stepper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stepper-btn {
    width: 80px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(63, 244, 93, 0.81);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stepper-btn:disabled {
    background-color: #8e8686;
    cursor: not-allowed;
}
.stepper>input {
    width: 80px;
    height: 30px;
    font-size: 20px;
    border-radius: 5px;
    text-align: center;
}
#spinnerInput {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    padding: 5px;
    margin: 0 10px;
    line-height: 40px;
}
#trackButton {
    margin-top: 20px;
    width: 100%;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    z-index: 1000; /* Sit on top */
}

.modal-content {
    background-color: #fff;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

#apiKeyInput {
    width: 100%;
    margin: 6px;
}
.modal-content>button {
    width: 100%;
    margin: 6px;
}

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

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

.grey-text {
    color: grey;
    font-size: 0.9em; /* Slightly smaller font-size */
}
