

.react-datepicker-wrapper {
  width: 100%;
}

.react-datepicker__input-container {
  width: 100%;
}

.react-datepicker {
  font-family: inherit;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(212, 175, 55, 0.1);
  background: linear-gradient(to bottom, #1a1a1a, #0f0f0f);
  color: #ffffff;
}

.react-datepicker__header {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(201, 162, 39, 0.15));
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.75rem 0.75rem 0 0;
  padding-top: 0.75rem;
}

.react-datepicker__current-month,
.react-datepicker__day-name {
  color: #d4af37;
  font-weight: 600;
  font-size: 0.9rem;
}

.react-datepicker__day {
  color: #e5e5e5;
  border-radius: 0.375rem;
  transition: all 0.2s;
  font-weight: 400;
}

.react-datepicker__day:hover {
  background-color: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.react-datepicker__day--selected,
.react-datepicker__day--keyboard-selected {
  background: linear-gradient(135deg, #d4af37, #c9a227);
  color: #0f0f0f;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.react-datepicker__day--in-range,
.react-datepicker__day--in-selecting-range {
  background-color: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.react-datepicker__day--range-start,
.react-datepicker__day--range-end {
  background: linear-gradient(135deg, #d4af37, #c9a227);
  color: #0f0f0f;
  font-weight: 600;
}

.react-datepicker__day--disabled {
  color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.2) !important;
  cursor: not-allowed;
  opacity: 1 !important;
  font-weight: 600 !important;
  border: 2px solid rgba(239, 68, 68, 0.5) !important;
  position: relative;
}

.react-datepicker__day--disabled:hover {
  background-color: rgba(239, 68, 68, 0.3) !important;
  border: 2px solid rgba(239, 68, 68, 0.7) !important;
  color: #dc2626 !important;
}

.react-datepicker__day--disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 85%;
  height: 2px;
  background-color: rgba(239, 68, 68, 0.8);
  z-index: 5;
}

.react-datepicker__navigation {
  top: 0.75rem;
}

.react-datepicker__navigation--previous {
  border-right-color: #d4af37;
}

.react-datepicker__navigation--next {
  border-left-color: #d4af37;
}

.react-datepicker__navigation:hover *::before {
  border-color: #f5d76e;
}

.react-datepicker__month {
  margin: 0.75rem;
  background: transparent;
}

.react-datepicker__day--today {
  font-weight: 600;
  background-color: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.react-datepicker__day--today:hover {
  background-color: rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.6);
}

.react-datepicker__day.react-datepicker__day--booked,
.react-datepicker__day.react-datepicker__day--booked.react-datepicker__day--disabled,
.react-datepicker__day--highlighted.react-datepicker__day--booked,
.react-datepicker__day--highlighted.react-datepicker__day--booked.react-datepicker__day--disabled,
.react-datepicker__day--highlighted.react-datepicker__day--disabled,
.react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--disabled {
  color: #ffffff !important;
  background-color: rgba(239, 68, 68, 0.5) !important;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.6), rgba(220, 38, 38, 0.5)) !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  border: 2px solid rgba(239, 68, 68, 0.9) !important;
  position: relative;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4) !important;
}

.react-datepicker__day.react-datepicker__day--booked:hover,
.react-datepicker__day.react-datepicker__day--booked.react-datepicker__day--disabled:hover,
.react-datepicker__day--highlighted.react-datepicker__day--booked:hover,
.react-datepicker__day--highlighted.react-datepicker__day--booked.react-datepicker__day--disabled:hover,
.react-datepicker__day--highlighted.react-datepicker__day--disabled:hover,
.react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--disabled:hover {
  background-color: rgba(239, 68, 68, 0.6) !important;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.7), rgba(220, 38, 38, 0.6)) !important;
  border: 2px solid rgba(239, 68, 68, 1) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 6px rgba(239, 68, 68, 0.5) !important;
}

.react-datepicker__day.react-datepicker__day--booked::after,
.react-datepicker__day.react-datepicker__day--booked.react-datepicker__day--disabled::after,
.react-datepicker__day--highlighted.react-datepicker__day--booked::after,
.react-datepicker__day--highlighted.react-datepicker__day--booked.react-datepicker__day--disabled::after,
.react-datepicker__day--highlighted.react-datepicker__day--disabled::after,
.react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 90%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.react-datepicker__day.react-datepicker__day--booked::before,
.react-datepicker__day.react-datepicker__day--booked.react-datepicker__day--disabled::before,
.react-datepicker__day--highlighted.react-datepicker__day--disabled::before,
.react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--disabled::before {
  content: '✕';
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
  z-index: 11;
  pointer-events: none;
}
