/* General Styles */
body {
    font-family: Arial, sans-serif;
    font-size: medium;
    background-color: #f8f9fa;
    color: #212529;
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
    letter-spacing: 1px;
    line-height: 1.8;
}

.aid-highlight {
  color: #ae6042;
  font-weight: 600;
  letter-spacing: 0.5px;
}


/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  background-color: #083c52;
  padding: 10px 20px;
  color: white;
  flex-wrap: wrap;
}

.navbar-left, .navbar-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}


.nav-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.nav-link:hover {
  text-decoration: underline;
}

.navbar-center {
  text-align: center;
  max-width: 60%;
}

.project-title {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  font-size: 40px;
  margin: 0;
}

.blue-text {
  color: #43c3ff;
}

.pink-text {
  color: #f06192;
}

.yellow-text {
  color: #f9c302;
}

.green-text {
  color: #4ae2b5;
}

/* Search Box */
#searchBoxContainer {
    margin-bottom: 20px;
}

#searchBoxContainer input[type="text"] {
    padding: 8px;
    width: 400px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: large;
    background-color: #ffffff;
}

#searchBoxContainer button {
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: large;
}

#searchBoxContainer button:hover {
    background-color: #007bff;
}

mark {
    background-color: yellow;
    font-weight: bold;
}

/* Advanced Search */
#advancedSearchContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: #d3e3ed;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

#advancedSearchContainer label {
    font-size: 14px;
}

/* Toggle Large Table Button */
#toggleLargeTableButton {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: large;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 16px 10px;
}

/* Header Styling */
th {
    background-color: #004c6d;
    color: #ffffff;
    font-weight: bold;
    padding: 12px;
    text-align: center;
}

/* Cell Styling */
th, td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
    max-width: 300px;
}

/* Hover Highlight */
tr:hover {
    background-color: #e6f1f5 !important;
}

tr:nth-child(even) {
    background-color: #f0f4f7;
}

/* Highlight all cells in row on hover */
#dataTable tbody tr:hover td {
    background-color: #e6f1f5 !important;
}

.highlight {
    background-color: yellow;
    font-weight: bold;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    margin-top: 20px;
    font-size: large;
}

.pagination button {
    background-color: #004c6d;
    color: white;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: medium;
}

.pagination button:hover {
    background-color: #00384e;
    transform: scale(1.05);
}

.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.pagination input[type="number"] {
    width: 60px;
    height: 25px;
    padding: 5px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: medium;
    text-align: center;
}

.page-input {
    width: 50px;
    text-align: center;
}

/* Button Styles */
button {
    padding: 8px 12px;
    margin: 1px;
    background-color: #007bff;;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: medium;
}

button:hover {
    background-color: #417da3;
    transform: scale(1.05);
}

/* Form Styles */
input, select {
    padding: 5px;
    margin-bottom: 10px;
}

/* Utility & Layout Classes */
.bg-dark {
    background-color: #00384e !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}
dl, ol, ul {
    margin-top: 0;
    margin-bottom: 1rem;
}
#pageInput {
    width: 50px;
    text-align: center;
}
.logo {
    width: auto;
    height: 150px;
    padding-top: 0;
    background-color:none;
}

#uth-footer {
  background-color: #083d52;
  color: white;
  padding: 30px 40px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  border-top: 2px solid #ccc;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
}

.footer-container a {
  color: #00b7ff;
  text-decoration: underline;
  margin: 0 5px;
}

.brain-logo {
    width: auto;
    height: 125px;
    padding-top: 0;
    background-color: white;
}

.uth-logo {
  max-height: 80px;
  padding: 5px;
}