/* Styles for the driver activities table */
.table {
  min-width: fit-content !important;
  border-collapse: collapse;
  border: 1px solid #ccc;
  margin-bottom: 0px !important;
}

.table th,
.table td {
  min-width: fit-content;
  padding: 8px;
  border: 1px solid #ccc;
}

.width-300 {
  width: 300px !important;
}

.width-200 {
  width: 200px !important;
}

.width-150 {
  width: 150px !important;
}

.width-100 {
  width: 100px !important;
}

.width-75 {
  width: 75px !important;
}

/* `tr th`: above Bootstrap 5's background on every `.table` cell. */
.table tr th {
  background-color: #f2f2f2;
  text-align: left;
}

.table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table tr:hover {
  background-color: #e2e2e2;
}

/* Styles for elapsed time and complete time cells */
.elapsed-time,
.complete-time {
  text-align: center;
}

/* Additional styles for the table */
#notice {
  margin-top: 10px;
}

h1 {
  margin: 20px 0;
}

.link-container {
  margin-bottom: 20px;
}

.link-container a {
  margin-right: 10px;
}

/* Optional styles for link buttons */
.link-button {
  display: inline-block;
  padding: 8px 12px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.link-button:hover {
  background-color: #0056b3;
}

.dataTables_filter {
  display: none;
}

.sortable .sort-icon {
  margin-left: 5px;
  vertical-align: middle;
}

.sortable.asc .sort-icon::before {
  content: "\f0d8"; /* Up arrow icon */
}

.sortable.desc .sort-icon::before {
  content: "\f0d7"; /* Down arrow icon */
}

.table-container {
  overflow-x: auto;
  margin-bottom: 75px;
}

.index-footnote {
  background-color: #eeeeee;
  padding: 10px;
  border-top: 1px solid #ccc;
  font-size: 14px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 75px;
  align-content: center;
}

#filter-toggle img,
#filter-reset img,
.reset-button img {
  display: inline-block;
  width: 16px; /* Adjust the width as needed */
  height: 16px; /* Adjust the height as needed */
  vertical-align: middle;
}

.viewname-text {
  display: inline;
  font-size: 15.5px;
  font-weight: bold;
  color: #000000;
  padding-left: 50px;
}

.viewname-text-v2 {
  display: inline;
  font-size: 15.5px;
  font-weight: bold;
  color: #000000;
  padding-left: 20px;
}


/* .viewname-text a:link, .viewname-text a:visited {
  color: gray;
} */

.viewname-text a:hover {
  background-color: transparent;
  text-decoration: underline; 
  color: #ff4500;
}


.btn-add-grid {
  margin: 5px !important;
}

.filter-container {
  display: flex;
  align-items: center; /* Align items vertically in the center */
  gap: 5px; /* Add some spacing between the filter element and reset button */
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: auto !important;
}

.dot-left {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  min-width: 13px;
}

.dot-green,
.dot-left-green {
  background-color: #7CFC00;
}

.dot-red,
.dot-left-red{
  background-color: #E23D28;
}

.model-row {
  cursor: pointer;
}

.header-texts-row th {
  font-size: 15px !important;
}

@media (max-width: 700px) {
  .header-texts-row th {
    font-size: 13px !important;
  }
}
