.expired-license {
  background-color: red;
}

.flagged {
  /* Previously highlighted flagged rows in yellow */
}

#search-input {
  font-size: 50px;
  height: 80px;
  flex-grow: 1;
  margin-right: 10px;
}

.search-btn {
  height: 80px; /* Match the button height to the input field height */
}

#search-input.expanded {
  font-size: 100px !important;
  height: 200px !important;  /* Adjust this to the desired expanded height */
  transition: height 0.3s ease;
}

.nav-item {
  margin-right: 10px;  /* Adjust as needed */
}

.header-checked-in, .header-clock {
  font-size: 36px;
  margin-top: 10px;
  color: #333;
}

.header-right, .header-center {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.table-custom tr {
  line-height: 2;
}

table td, .btn {
  font-size: 28px;
}

.bg-success {
  background-color: #28a745;
}

.bg-danger {
  background-color: #dc3545;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.table th {
  background-color: #f2f2f2;
  text-align: left;
  padding: 8px;
  border-bottom: 2px solid #ddd;
}

.table td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

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

.table a {
  text-decoration: none;
  color: #ffffff;
}

.table a:hover {
  color: #000000;
  text-decoration: underline;
}

thead {
  position: sticky;
  top: 0;
  background-color: white;
}

@media (max-width: 767px) {
  .header-container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .header-container img,
  .header-container h1 {
    margin-bottom: 10px;
  }
  .header-logo {
    order: 3;
  }
  .header-clock {
    order: 2;
    width: 100%;
    text-align: center;
  }
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 100;  /* ensures the sticky header appears above the content */
}

html, body {
  height: 100%;
  margin: 0;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.table-container {
  flex-grow: 1;
  overflow-y: auto;
}

.btn-spacing {
  margin-right: 15px; /* eller den avstanden du ønsker */
  white-space: nowrap;  /* Prevents the text inside the button from wrapping */
}

.center-text {
  text-align: center;
}

.form-large-text input[type="text"], .form-large-text input[type="date"], select.form-control {
  font-size: 36px;
}

.form-control {
  background-color: lightblue;
  font-size: 24px;
}

.break-line {
  white-space: pre-line;
}

.custom-radio-label {
  font-size: 24px;
}

.btn-transparent,
.opacity-50 {
  opacity: 0.5;
}

#clock {
  font-size: 3rem;
}

#payment-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%; /* Set width to 70% of the app's width */
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 10000; /* Ensure it is above all other content */
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  display: flex; /* Ensure Flexbox is used */
  flex-direction: column; /* Arrange content in a column */
}

#payment-overlay img {
  width: 70%; /* Adjust image to cover the full width of the overlay */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 20px;
}

#payment-overlay p {
  font-size: 36px; /* Increase the font size */
}
.stats-table .flagged-list {
  background-color: #ffc107 !important;
}

