/* Jalali datepicker + select tweaks for register page */
.dark .jdp-container {
  background: rgb(63, 63, 70) !important;
  border-color: rgb(255, 255, 255, 0.2) !important;
  color: white !important;
}

.dark .jdp-container .jdp-header {
  background: rgb(82, 82, 91) !important;
  color: white !important;
}

.dark .jdp-container .jdp-day {
  color: white !important;
}

.dark .jdp-container .jdp-day:hover {
  background: rgb(113, 113, 122) !important;
}

.dark .jdp-container .jdp-day.jdp-selected {
  background: #22c55e !important;
  color: white !important;
}

.dark .jdp-container .jdp-day.jdp-today {
  background: rgb(30, 58, 138) !important;
  color: rgb(219, 234, 254) !important;
}

.dark .jdp-container .jdp-day.jdp-disabled {
  color: rgb(113, 113, 122) !important;
}

.dark .jdp-container .jdp-btn {
  color: white !important;
}

.dark .jdp-container .jdp-btn:hover {
  background: rgb(113, 113, 122) !important;
}

select.tailwind-input {
  background-color: white;
  color: #374151;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: left 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-left: 2.75rem;
  padding-right: 0.75rem;
  min-height: 2.5rem;
  text-align: right;
  line-height: 1.5;
}

select.tailwind-input:focus {
  outline: none;
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity));
}

select.tailwind-input option {
  background-color: white;
  color: #374151;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

select.tailwind-input option:disabled {
  color: #9ca3af;
  font-style: italic;
}

select.tailwind-input option:checked {
  background-color: #22c55e;
  color: white;
}

.dark select.tailwind-input {
  background-color: rgb(63, 63, 70);
  color: white;
  border-color: rgb(255, 255, 255, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: left 0.75rem center;
  padding-left: 2.75rem;
  padding-right: 0.75rem;
}

.dark select.tailwind-input:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity));
}

.dark select.tailwind-input option {
  background-color: rgb(63, 63, 70);
  color: white;
  padding: 0.75rem 1rem;
}

.dark select.tailwind-input option:disabled {
  color: rgb(156, 163, 175);
  background-color: rgb(82, 82, 91);
}

.dark select.tailwind-input option:checked,
.dark select.tailwind-input option:hover {
  background-color: rgb(113, 113, 122);
  color: white;
}

.dark select.tailwind-input option:checked {
  background-color: #22c55e;
}

select.tailwind-input:hover {
  border-color: #9ca3af;
}

.dark select.tailwind-input:hover {
  border-color: rgb(255, 255, 255, 0.3);
}

select.tailwind-input::-ms-expand {
  display: none;
}
