.demo-info {
  margin-bottom: 30px;
}
.selected-date-display {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 5px;
  border-left: 4px solid var(--primary-color, #0066cc);
}
/* Custom Calendar Styles */
.custom-calendar-wrapper {
  font-family: "Alexandria", sans-serif;
  display: none;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 100%;
  position: absolute;
  max-width: 350px;
}

.custom-calendar {
  background: white;
  border: 1px solid rgba(33, 31, 95, 0.3);
  border-radius: 6px;
  padding: 16px;
  width: 100%;
}

/* Calendar Header */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.month-year-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.month-year-dropdown {
  background: white;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  appearance: none;
  outline: none;
  padding-right: 0;
  display: inline-block;
  width: auto;
}

.dropdown-arrow {
  transform: translateY(10%);
  pointer-events: none;
  color: var(--primary-color);
}

.navigation-arrows {
  display: flex;
  gap: 1px;
}

.nav-arrow {
  background: white;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 2px;
  line-height: 1;
  transition: all 0.2s ease;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 1px;
  font-size: 20px;
}

.nav-arrow:hover {
  background-color: #f8f9fa;
  color: var(--primary-color, #211f5f);
}

.nav-arrow:active {
  transform: scale(0.95);
  background-color: #e9ecef;
}

/* Custom Arrow Styling */
.nav-arrow i {
  font-size: 18px;
  font-weight: 600;
}

/* Days Header */
.days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.day-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  padding: 8px 4px;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

/* Previous/Next month days (grayed out) */
.calendar-day.other-month {
  color: #ccc;
}

/* Available days (green) */
.calendar-day.available {
  color: #10b981;
  background: transparent;
}

.calendar-day.available:hover {
  background: #f0fdf4;
}

/* Unavailable days (red and disabled) */
.calendar-day.unavailable {
  color: #ef4444;
}

/* Selected day (dark blue) */
.calendar-day.selected {
  background: #1e3a8a;
  color: white !important;
}

/* Regular days */
.calendar-day.regular {
  color: #333;
}

.calendar-day.regular:hover {
  background: #f5f5f5;
}

/* Today's date */
.calendar-day.today {
  position: relative;
}

.calendar-day.today::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary-color, #0066cc);
  border-radius: 50%;
}

/* Clear Button */
.calendar-footer {
  text-align: left;
}

.clear-btn {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.clear-btn:hover {
  color: #dc2626;
}

/* RTL Support */
html[dir="rtl"] .calendar-header {
  direction: rtl;
}

html[dir="rtl"] .month-year-dropdown {
  padding-left: 20px;
  padding-right: 0;
}

html[dir="rtl"] .dropdown-arrow {
  left: 0;
  right: auto;
}

html[dir="rtl"] .calendar-footer {
  text-align: right;
}

/* Responsive Design */
@media (max-width: 480px) {
  .custom-calendar {
    width: 100%;
    max-width: 300px;
  }
}
