.text-darkGrey {
  color: #51564E;
}

.text-lightGrey {
  color: #96969C;
}

.hidden-navbar {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.shown-navbar {
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

#navbar {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Adjust shadow values as needed */
}


#loginHolder {
  margin: auto;
  padding: 20px;
  max-width: 95%;
  min-width: 50%;
  min-height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
}

#signupHolder {
  margin: auto;
  padding: 20px;
  max-width: 95%;
  min-width: 50%;
  min-height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 75%;
}

#feedbackHolder {
  margin: auto;
  padding: 20px;
  margin-top: 200px;
  max-width: 50%;
  min-width: 50%;
  min-height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 75%;
}

.feedback-text {
  padding-bottom: 50px;
}

#row {
  width: 100%;
}

/* Modal styles */
#modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Black background with opacity */
}

#modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 16px;
  width: 80%;
  /* Set width to 80% */
  max-width: 800px;
  /* Maximum width to prevent it from becoming too wide */
  max-height: 80vh;
  /* Max height to avoid it taking up the entire screen */
  overflow-y: auto;
  /* Make the content scrollable if it overflows */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  /* Add shadow for depth */
}

#modal .close-button {
  text-align: right;
  margin-bottom: 20px;
}

.patientTable {
  width: 70%;
  overflow-x: auto;
  margin: 0 auto;
  padding-top: 30px;
  background-color: white;
  border-radius: 8px;
  padding-left: 40px;
  padding-right: 40px;
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.selectionButton {
  margin-top: 20px;
}

.sort-icon {
  margin-left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: inline-block;
  font-style: normal;
}

.sorted-asc .sort-icon::before {
  content: "\f0de";
  /* FontAwesome up arrow */
}

.sorted-desc .sort-icon::before {
  content: "\f0dd";
  /* FontAwesome down arrow */
}

.sortable .sort-icon::before {
  content: "\f0dc";
  /* FontAwesome default icon (can be adjusted) */
}

.pagination {
  margin: 20px 0;
  text-align: center;
  margin: 10px 0;
}

.pagination a {
  color: white;
  padding: 4px 8px;
  font-size: 15px;
  text-decoration: none;
  background-color: #30224c8c;
  margin: 0 5px;
}

#active {
  background-color: #30224c;
  color: white;
}

.active-link {
  font-weight: bold;
  /* Optional: Make the active link bold */
}

.container-filters {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.bg-primary {
  background-color: #30224c;
}

.bg-primary-dark {
  background-color: #241a39;
}

.bg-lightGrey-dark {
  background-color: #8c8c96;
}

.text-darkGrey {
  color: #51564E;
}

.text-lightGrey {
  color: #96969C;
}

button {
  transition: background-color 0.3s ease-in-out;
}

#filterRemoveButton {
  display: none;
}

.title {
  text-align: center;
  margin-top: 80px;
  font-size: 25px;
  width: 75%;
  font-weight: bold;
}

.subtitle {
  text-align: center;
  margin-top: 80px;
  font-size: 15px;
  color: grey;
  width: 75%;
  font-weight: bold;
}

#updateUserButton {
  margin-top: 30px;
}

.bulkAction {
  margin-bottom: 20px;
  border: 1px solid #0000;
  padding: 20px;
  display: none;
}

#selectAll {
  margin-left: 15px;
}

#qlutionsText {
  font-size: 20px;
  font-weight: 500;
  color: rgb(48 34 76 / var(--tw-bg-opacity));
}

th {
  border-right: 0.5px solid #343a4529;
  padding-top: 5px !important;
  /* Adjust this value as needed */
  padding-bottom: 5px !important;
  /* Adjust this value as needed */
  font-size: 15px;
}

th:first-child {
  border-top-left-radius: 3px;
}

th:last-child {
  border-top-right-radius: 3px;
  border-right: none;
}

tr {
  border-top: 1px solid #C1C3D1;
  font-size: 15px;
}

tr:first-child {
  border-top: none;
}

tr:last-child {
  border-bottom: none;
}

tr:last-child td:first-child {
  border-bottom-left-radius: 3px;
}

tr:last-child td:last-child {
  border-bottom-right-radius: 3px;
}

.row-selected {
  background-color: #80808047;
}

#additionalFieldsContainer {
  width: 100%;
}

#popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 2px solid #ccc;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

#popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.user-list {
  margin: 10px 0;
}

.user-item {
  margin: 5px 0;
}

.user-email {
  margin-left: 30px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.3s;
}

.close-button:hover {
  color: #000;
}

.button-container {
  margin-top: 20px;
}

#logout-button {
  margin: 0;
  padding: 0;
}

#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  background-color: rgba(48, 34, 76, 0.97);
  color: white;
  padding: 16px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 70%;
  margin: 0 auto;
  z-index: 1000;
}

#cookie-banner p {
  margin: 0;
  flex: 1;
  text-align: center;
}

#accept-cookies {
  background-color: rgba(98, 53, 79);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

#accept-cookies:hover {
  background-color: rgb(69, 37, 56);
}

.list-amount {
  padding-bottom: 10px;
  font-size: 20px;
}

textarea {
  min-height: 300px;
}

.insert-name-button {
  margin-bottom: 20px;
  margin-top: 20px;
}

.uploadPostalCode {
  text-align: center;
}

.uploadPostalCode label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.uploadPostalCode input[type="file"] {
  margin-bottom: 20px;
}

.uploadPostalCode button {
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
}

.postal-code-label {
  margin-top: 20px;
  margin-bottom: 20px;
}

.update-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

#postalPopup {
  display: none;
  position: fixed;
  flex-direction: column;
  align-items: center; /* Centers items horizontally */
  justify-content: flex-start;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background-color: white;
  border: 2px solid black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  overflow-y: auto; /* Scroll vertically only */
  overflow-x: hidden; /* Prevent horizontal scroll */
  z-index: 1000;
}

.search-container {
  width: 100%; /* Ensure search bar takes full width */
  margin-bottom: 10px; /* Add spacing between search bar and postal codes */
  display: flex;
  justify-content: center;
}

.search-box {
  width: 80%; /* Adjust width as needed */
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#postalCodesContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  justify-content: center; /* Center postal codes */
  width: 100%;
}

.postal-code {
  flex: 1 1 auto;
  min-width: 80px;
  max-width: 150px;
  padding: 5px;
  border: 1px solid #ccc;
  text-align: center;
  white-space: nowrap;
  word-wrap: break-word;
}

.closeBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

.warning-text {
  color: grey;
  font-size: 13px;
}

.tabs {
  display: flex;
  background-color: #f1f1f1;
  border-bottom: 2px solid #ccc;
}

.tab {
  padding: 14px 20px;
  cursor: pointer;
  flex: 1;
  text-align: center;
  background-color: grey;
  border: 1px solid #ccc;
  border-bottom: none;
}

.tab.active {
  background-color: rgba(98, 53, 79);
  color: white;
}

.tab-content {
  padding: 20px;
  display: none;
  width: 80%;
  margin: 0 auto;
  margin-top: 20px;
}

.tab-content.active {
  display: block;
  width: 100%;
}

.email-part {
  border: 1px solid lightgray;
  margin-bottom: 20px;
  padding: 10px;
}

#testEmailBtn {
  margin-top: 20px;
}

.postal-code-label {
  display: inline-block;
  font-weight: bold;
}

.info-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  cursor: pointer;
  position: relative;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  background-color: #f1f1f1;
  font-size: 16px;
  font-weight: bold;
  color: #555;
  line-height: 24px;
}

.tooltip {
  display: none;
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  white-space: pre-wrap;
  z-index: 10;
  max-width: 300px;
}

.info-icon:hover .tooltip,
.info-icon:focus .tooltip {
  display: block;
}

input[type=checkbox] {
    margin-right: 10px;
}


@media only screen and (max-width: 600px) {
  #signupHolder {
    width: 100%;
  }
  .title {
    width: 80%;
    font-size: 16px;
  }
}

.border-red-500 {
  border-color: red !important;
}

.question-mark-btn {
  background-color: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #007bff; /* Blue color */
  padding: 0 5px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  text-align: center;
}

.question-mark-btn:hover {
  color: #0056b3; /* Darker blue on hover */
}

.tooltip-icon {
  font-size: 16px;
  font-weight: bold;
}

.question-mark-btn[aria-label] {
  position: relative;
}

.question-mark-btn[aria-label]:hover::after {
  content: attr(aria-label);
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}