html, body {
    overflow: hidden;
}

#other-pages {
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

header {
    background: #333;
    color: white;
    padding: 15px;
    text-align: center;
}

#main-view {
    position: absolute;
    top: 110px;
    left: 0px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    width: 100vw;
    height: calc(100vh - 110px);
    background-color: #303030;    
    align-items: stretch;
}

/*
#main-view, #buttons, #content {
    border: 2px solid red;
}
*/

.content {
    position: absolute;
    top: 0px;
    left: 170px;
    overflow: hidden;
    width: calc(100% - 170px);
    height: 100%;
}

/* Styling for buttons section */
.main-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
    padding: 10px;
    width: 150px;
    max-width: 150px;
    flex-shrink: 0;
}

/* Button style */
.main-button {
    display: inline-block;
    padding: 10px;
    width: 100%;
    font-size: 15px;
    background-color: #225F08;
    border: #1A4806 1px solid;
    border-radius: 3px;
    white-space: nowrap;
    color: white;
    cursor: pointer;
}

.main-button.focus, .main-button.active {
    background-color: #2C790A;
}

.close-button {
    position: absolute;
    min-width: 40px;
    right: -20px;
    top: -20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
}

.close-button:hover {
    color: #888;
}

.input-container {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    margin-left: 20px; /* Align with other inputs */
    margin-right: 20px; /* Maintain right margin */
    margin-bottom: 10px; /* Space below the container */
    padding: 5px;
}

.input-container label {
    min-width: 140px;
    margin-right: 10px; /* Space between label and input */
    color: black; /* Change the color of the label if needed */
}

.checkbox-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center vertically */
    width: 100%; /* Make checkbox-container fill the width of the popup */
    margin: 0 20px 10px 20px;
}

.checkbox-container input[type="checkbox"] {
    margin-left: 0; /* Space between checkbox and label text */
}

.checkbox-container label {
    flex: 1; /* Allow the label to take available space */
    text-align: left; /* Align text to the left */
}

.select-container {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    margin-left: 20px; /* Align with other inputs */
    margin-right: 20px; /* Maintain right margin */
    margin-bottom: 10px; /* Space below the container */
}

.select-container label {
    min-width: 140px;
    margin-right: 10px; /* Space between label and select */
    color: black; /* Change the color of the label if needed */
}

.pagination-container {
    width: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1rem 0;
    justify-content: center;
}

.pagination-number,
.pagination-button {
    font-size: 16px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    margin: 0.25rem 0.25rem;
    cursor: pointer;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: .2rem;
}
  
.pagination-number:hover,
.pagination-button:not(.disabled):hover {
    background: #2C790A;
}
  
.pagination-number.active {
    color: #fff;
    background: #225F08;
}

/* Drop down menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    max-height: 300px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
    overflow-y: auto;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    z-index: 100;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-disabled .dropdown-content {
    display: none !important;
}