form {
    max-width: 600px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form div {
    margin-bottom: 10px;
}

label {
    display: inline-block;
    width: 150px;
    font-weight: bold;
}

select, input[type="text"] {
    width: calc(100% - 160px);
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type="submit"] {
    padding: 8px 12px;
    border: none;
    background-color: #4CAF50;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

.btn-secondary:hover {
    background-color: #6b532e !important;
}

.pagination .active .page-link {
    background-color: #8e6f3e;
    border-color: #8e6f3e;
    color: white; 
}

.pagination .disabled .page-link {
  cursor: not-allowed;
}

.pagination .page-link:hover {
  color: #8e6f3e;
}

.pagination .active .page-link:hover {
  color: white;
}

/* 1) Give every sortable header a little space for the arrow */
#results-table thead th {
  position: relative;
  padding-right: 1.2em; /* room on the right */
}

/* 2) Base rules for your pseudo-arrow */
#results-table thead th.sorted-asc::after,
#results-table thead th.sorted-desc::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
  /* make it zero-size, borders will create the shape */
  width: 0;
  height: 0;
}

/* 3) Up-triangle for ascending */
#results-table thead th.sorted-asc::after {
  border-left: 0.4em solid transparent;
  border-right: 0.4em solid transparent;
  border-bottom: 0.6em solid currentColor;
}

/* 4) Down-triangle for descending */
#results-table thead th.sorted-desc::after {
  border-left: 0.4em solid transparent;
  border-right: 0.4em solid transparent;
  border-top: 0.6em solid currentColor;
}