body {
  font-family: 'Arial', sans-serif;
}

.container {
  max-width: 1200px;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading::after {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

button,
a,
input[type='button'],
input[type='submit'] {
  touch-action: manipulation;
}

.swal2-popup {
  border: 2px solid #3c3d43;
  box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.3);
}

div:where(.swal2-container) div:where(.swal2-validation-message) {
  background: #151925 !important;
  color: #efefef !important;
  font-size: 14px !important;
}

input {
  color-scheme: dark;
}

#modalDateContainer {
  width: 100%;
  background-color: #1f2937;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 0.375rem;
  border: 1px solid #374151;
  font-size: 1.1rem;
}

span#dateDisplay {
  padding: 0.66rem 0;
}

/* div:where(.swal2-container) div:where(.swal2-popup) {
  padding: 0 0 0.75em !important;
} */

.calendar-cell.week-number {
  background-color: #2D3748;
  /* Dark background for the week number column */
  color: cyan;
}

.calendar-cell.day.current-week {
  background-color: #4A5568;
  /* Highlight for current week days */
}

select optgroup {
  font-weight: bold;
  font-style: italic;
  color: #cbd5e0;
  /* Tailwind gray-300 */
  background-color: #2d3748;
  /* Tailwind gray-800 */
}

select optgroup::before {
  content: attr(label);
  display: block;
  font-weight: bold;
  font-style: italic;
  color: #cbd5e0;
  /* Tailwind gray-300 */
  background-color: #2d3748;
  /* Tailwind gray-800 */
  padding: 4px 8px;
}

select optgroup option {
  padding-left: 16px;
  /* Indent options to distinguish them from the optgroup label */
}

select option {
  padding-left: 32px;
  /* Indent options to distinguish them from the optgroup label */
}

/* disabled inputs */
input:disabled {
  background-color: #2d3748;
  /* Tailwind gray-800 */
  color: #4a5568;
  /* Tailwind gray-600 */

  /* Remove the default cursor */
  cursor: not-allowed !important;

  /* Remove the default border */
  border: 1px solid #2d3748;

  /* Remove the default outline */
  outline: none;

  /* Remove the default box-shadow */
  box-shadow: none;

  /* Remove the default pointer-events */
  pointer-events: none;
}

.tabs-content {
  display: none;
}

.tabs-content.active {
  display: block;
}

.tabs-list>.active {
  background-color: #2d3748;
  /* Tailwind gray-800 */
  color: #cbd5e0;
  /* Tailwind gray-300 */
}

.active-menu-link {
  background-color: rgba(55, 65, 81, 0.1);
  /* Light gray background */
  color: #1a56db !important;
  /* Blue text color */
  font-weight: 600;
  /* Make text slightly bolder */
}

.dark .active-menu-link {
  background-color: rgba(209, 213, 219, 0.1);
  /* Slightly lighter background in dark mode */
  color: #60a5fa !important;
  /* Lighter blue text color for dark mode */
}

.active-menu-link svg {
  color: #1a56db !important;
  /* Blue icon color */
}

.dark .active-menu-link svg {
  color: #60a5fa !important;
  /* Lighter blue icon color for dark mode */
}

.active-menu-link:hover {
  background-color: rgba(55, 65, 81, 0.2);
  /* Slightly darker background on hover */
}

.viewPofileBtn:hover {
  color: #f9fafb;
}

.bg-red-600 {
  background-color: #dc2626;
}

.text-white {
  color: #ffffff;
}

.bg-red-100 {
  background-color: #fee2e2;
}

.dark .dark\:bg-red-900 {
  background-color: #7f1d1d;
}

.week-row {
  display: flex;
}

.week-number {
  vertical-align: middle;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  /* Adjust the width as needed */
  background-color: #2D3748;
  /* Dark background for the week number column */
  color: cyan;
  border-right: 2px solid #4A5568;
  /* Divider line */
}

.day {
  text-align: center;
  padding: .5rem;
}

.grayed-out {
  color: rgba(0, 0, 0, 0.3);
  /* Light gray color */
}

/* .locked-week {
  background-color: rgba(123, 255, 0, 0.2);
} */

[data-locked='true'] {
  background-color: rgba(130, 130, 130, 0.2);
}

[data-attested='true'] {
  background-color: rgba(64, 173, 206, 0.568);
}

.reported-week {
  border: 2px solid rgba(0, 183, 255, 0.2);
  background-color: rgba(0, 183, 255, 0.2);
}

.reported-week [data-locked='true'] {
  border: 2px solid rgba(9, 255, 0, 0.2);
  background-color: rgba(0, 183, 255, 0.2);
}

.current-week {
  background-color: rgba(0, 183, 255, 0.2);
  /* Light blue background */
  color: cyan;
  border: 2px solid #fff;
}

.reported-week [data-attested='true'] {
  background-color: #f59e0b;
  /* Light red background */
  color: #ffffff;
}