.timekeeper-dropdown {
  position: fixed;
  z-index: 1050;
  margin-top: 5px;
  min-width: 250px;
  max-width: 350px;
}

.timekeeper-dropdown-content {
  background: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
}

.timekeeper-list {
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.timekeeper-list button {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
  border-radius: 16px;
  display: block;
  margin-bottom: 2px;
}

.timekeeper-list button:hover {
  background-color: #ffffff00;
}

.timekeeper-list .no-results {
  padding: 0.5rem 0.75rem;
  color: #ffffff;
  font-style: italic;
}

/* Media query per mobile */

@media (max-width: 768px) {
  .timekeeper-dropdown {
    position: fixed;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    min-width: 90vw;
    max-width: 90vw;
    max-height: 80vh;
  }
}

@media (max-width: 768px) {
  .timekeeper-dropdown-content {
    max-height: 80vh;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .timekeeper-list {
    max-height: calc(80vh - 60px);
    flex: 1;
  }
}

.position-relative {
  position: relative;
}

