/* HeroUI-inspired Date Picker styles */
.hero-date-picker {
  position: absolute;
  z-index: 9999;
  background-color: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  width: 284px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: #fff;
  overflow: hidden;
  padding: 8px;
}

.date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  font-weight: 500;
}

.current-month {
  font-size: 14px;
  text-align: center;
  flex-grow: 1;
}

.month-label, .year-label {
  transition: color 0.2s, text-shadow 0.2s;
}

.month-label:hover, .year-label:hover {
  color: #89b4fa;
  text-shadow: 0 0 5px rgba(137, 180, 250, 0.5);
}

.prev-month-btn, 
.next-month-btn {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.prev-month-btn:hover, 
.next-month-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.days-header span {
  font-size: 12px;
  color: #999;
  padding: 4px 0;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.day {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 13px;
  transition: background-color 0.2s;
}

.day:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.day.selected {
  background-color: #2563eb; /* Blue color as seen in HeroUI */
  color: #fff;
}

.day.today {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.prev-month-day,
.next-month-day {
  color: #555;
}

.date-picker-footer {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.today-btn,
.close-btn {
  background: none;
  border: none;
  color: #89b4fa; /* Updated to the required color */
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.today-btn:hover,
.close-btn:hover {
  background-color: rgba(137, 180, 250, 0.1);
}

/* Date input styling */
.date-input-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 284px;
}

.date-input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  padding-right: 36px; /* Space for the calendar icon */
  border-radius: 6px;
  border: 1px solid #333;
  background-color: #1e1e1e;
  color: #fff;
  font-size: 14px;
  transition: border-color 0.15s ease;
}

.date-input:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.date-input::placeholder {
  color: #666;
}

.date-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-input-container svg {
  width: 16px;
  height: 16px;
}