body {
    background-color: #121212;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding-top: 50px;
}

#navbar {
    width: 100%;
    min-width: 1100px;
    padding: 10px 20px;
    background-color: rgb(46, 105, 137);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

button, a, input[type="submit"] {
    background-color: rgb(46, 105, 137);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: none;
}

button:hover, a:hover {
    background-color: rgb(36, 85, 117);
}

/* Styling for disabled buttons */
button:disabled {
    background-color: #cccccc; /* Light grey to indicate it's disabled */
    color: #666666; /* Dark grey text to complement the light grey background */
    cursor: not-allowed; /* Cursor to indicate the button is not interactive */
    opacity: 0.5; /* Reduce opacity to further indicate it's not active */
}

input[type="datetime-local"] {
    font-size: 16px;
    background: none;
    color: white;
    border: 1px solid;
}

table {
    width: 95vw;
    border-collapse: collapse;
}
th, td {
    border: 1px solid #ADD8E6;
    padding: 8px;
    text-align: left;
}
th {
    background-color: rgb(46, 105, 137);
}

table textarea {
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    background: none;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid;
}

table input[type=text]{
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    background: none;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid;
}

input[type=checkbox], input[type=radio] {
    width: 20px;
    height: 20px;
}

.clickable {
    color: #ADD8E6;
    cursor: pointer;
    text-decoration: underline;
}
.clickable, table a {
    color: #ADD8E6;  /* Light blue to match your theme */
    cursor: pointer;
    text-decoration: underline;
    padding: 0;  /* Remove padding to make it not look like a button */
    background-color: transparent;  /* Ensure background isn't filled */
    border: none;  /* No borders around links */
    display: inline;  /* Ensures it doesn't take block properties */
}
.clickable:hover, table a:hover {
    color: #ffffff;  /* White on hover for better visibility */
    background-color: transparent;  /* Keep background transparent on hover */
}

.header {
    margin-top: 3vh;
    color: #ADD8E6;
}

.hidden {
    display: none;
}

.submit-button {
    background-color: #007bff !important;
    padding: 14px 28px;
    font-size: large;
    font-weight: bold;
}

.submit-button:hover {
    background-color: #0056b3 !important;
}

.filter-dropdown {
    width: 300px; /* Ensure the container is set to the desired width */
    padding: 0;
    margin-bottom: 20px;
    position: relative;
    box-sizing: border-box;
}

.dropdown-input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.dropdown-results {
    position: absolute;
    width: calc(100% - 2px); /* Subtract border width (1px on each side) */
    background: #121212;
    border: 1px solid #0a75ad;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.dropdown-results div {
    padding: 10px;
    cursor: pointer;
    color: white;
}

.dropdown-results div:hover {
    background-color: #1a8cd8;
}

.pagination-and-filters {
    display: flex;
    align-items: center;
    padding: 10px;
    width: 95vw;
    margin-bottom: 10px;
    justify-content: flex-end; /* Aligns pagination to the right by default */
}

.filters:not([hidden]) {
    margin-right: auto; /* Pushes filters to the left and pagination to the right */
}

.filters input, .filters button {
    margin: 0 5px;
}

.pagination a {
    color: #ADD8E6;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgb(36, 85, 117);
    margin: 0 5px;
}
.pagination a:hover {
    background-color: rgb(46, 105, 137);
}
.pagination span {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #121212;
    color: #ADD8E6;
    margin: 0 5px;
}