/* tailwind-datetimepicker.css */
.bootstrap-datetimepicker-widget {
  list-style: none;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  margin: 0.5rem 0;
  padding: 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: absolute;
  z-index: 1;
}

@media (min-width: 768px) {
  .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
    width: 38rem;
  }
}

.bootstrap-datetimepicker-widget.dropdown-menu:after,
.bootstrap-datetimepicker-widget.dropdown-menu:before {
  content: '';
  display: inline-block;
  position: absolute;
}

.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #d1d5db;
  top: -7px;
  left: 7px;
}

.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid white;
  top: -6px;
  left: 8px;
}

.bootstrap-datetimepicker-widget.dropdown-menu.top:before {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #d1d5db;
  bottom: -7px;
  left: 6px;
}

.bootstrap-datetimepicker-widget.dropdown-menu.top:after {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
  bottom: -6px;
  left: 7px;
}

.bootstrap-datetimepicker-widget .list-unstyled {
  margin: 0;
}

.bootstrap-datetimepicker-widget a[data-action] {
  padding: 0.5rem 0;
  color: #374151;
  text-decoration: none;
  cursor: pointer;
}

.bootstrap-datetimepicker-widget a[data-action]:hover {
  background-color: #f3f4f6;
}

.bootstrap-datetimepicker-widget .timepicker-hour,
.bootstrap-datetimepicker-widget .timepicker-minute,
.bootstrap-datetimepicker-widget .timepicker-second {
  width: 3.5rem;
  font-weight: 700;
  font-size: 1.2em;
  margin: 0;
}

.bootstrap-datetimepicker-widget button[data-action] {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.bootstrap-datetimepicker-widget .picker-switch {
  text-align: center;
}

.bootstrap-datetimepicker-widget .picker-switch td {
  padding: 0;
  margin: 0;
  height: auto;
  width: auto;
  line-height: inherit;
}

.bootstrap-datetimepicker-widget .picker-switch td span {
  line-height: 2.5;
  height: 2.5em;
  width: 100%;
}

.bootstrap-datetimepicker-widget table {
  width: 100%;
  margin: 0;
}

.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
  text-align: center;
  border-radius: 0.25rem;
  padding: 0.5rem;
}

.bootstrap-datetimepicker-widget table th {
  height: 1.5rem;
  line-height: 1.5rem;
  width: 1.5rem;
  cursor: pointer;
}

.bootstrap-datetimepicker-widget table th:hover {
  background-color: #f3f4f6;
}

.bootstrap-datetimepicker-widget table th.picker-switch {
  width: 9rem;
}

.bootstrap-datetimepicker-widget table th.disabled,
.bootstrap-datetimepicker-widget table th.disabled:hover {
  background: none;
  color: #9ca3af;
  cursor: not-allowed;
}

.bootstrap-datetimepicker-widget table td {
  height: 2.5rem;
  line-height: 2.5rem;
  width: 2.5rem;
  cursor: pointer;
}

.bootstrap-datetimepicker-widget table td.cw {
  font-size: 0.8em;
  height: 1.5rem;
  line-height: 1.5rem;
  color: #9ca3af;
}

.bootstrap-datetimepicker-widget table td.day {
  height: 1.5rem;
  line-height: 1.5rem;
  width: 1.5rem;
}

.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td.second:hover {
  background-color: #f3f4f6;
}

.bootstrap-datetimepicker-widget table td.new,
.bootstrap-datetimepicker-widget table td.old {
  color: #9ca3af;
}

.bootstrap-datetimepicker-widget table td.today {
  position: relative;
}

.bootstrap-datetimepicker-widget table td.today:before {
  content: '';
  display: inline-block;
  border: 0 solid transparent;
  border-bottom-color: #3b82f6;
  border-top-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  bottom: 0.25rem;
  right: 0.25rem;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background-color: #3b82f6;
  color: white;
}

.bootstrap-datetimepicker-widget table td.active.today:before {
  border-bottom-color: white;
}

.bootstrap-datetimepicker-widget table td.disabled,
.bootstrap-datetimepicker-widget table td.disabled:hover {
  background: none;
  color: #9ca3af;
  cursor: not-allowed;
}

.bootstrap-datetimepicker-widget table td span {
  display: inline-block;
  width: 3.5rem;
  height: 3.5rem;
  line-height: 3.5rem;
  margin: 0.125rem 0.25rem;
  cursor: pointer;
  border-radius: 0.25rem;
}

.bootstrap-datetimepicker-widget table td span:hover {
  background-color: #f3f4f6;
}

.bootstrap-datetimepicker-widget table td span.active {
  background-color: #3b82f6;
  color: white;
}

.bootstrap-datetimepicker-widget table td span.old {
  color: #9ca3af;
}

.bootstrap-datetimepicker-widget table td span.disabled,
.bootstrap-datetimepicker-widget table td span.disabled:hover {
  background: none;
  color: #9ca3af;
  cursor: not-allowed;
}

.bootstrap-datetimepicker-widget.usetwentyfour td.hour {
  height: 1.75rem;
  line-height: 1.75rem;
}

.input-group.date .input-group-addon {
  cursor: pointer;
}

/* Tailwind button styles */
.bootstrap-datetimepicker-widget .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #3b82f6;
  color: white;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
}

.bootstrap-datetimepicker-widget .btn:hover {
  background-color: #2563eb;
}

.bootstrap-datetimepicker-widget .btn-primary {
  background-color: #3b82f6;
}

.bootstrap-datetimepicker-widget .btn-primary:hover {
  background-color: #2563eb;
}

/* Hide screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}