.jjf-calendar-overlay {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  padding: 10px;
  z-index: 99999;
  font-family: Tahoma, Arial, sans-serif;
  direction: rtl;
  min-width: 240px;
  border-radius: 6px;
}
.jjf-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  user-select: none;
}
.jjf-calendar-title {
  font-weight: bold;
  font-size: 14px;
  flex-grow: 1;
  text-align: center;
}
.jjf-calendar-nav {
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
}
.jjf-calendar-nav:hover {
  background: #f1f1f1;
}
.jjf-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.jjf-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #666;
  font-weight: bold;
  text-align: center;
}
.jjf-calendar-day {
  padding: 8px 4px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
}
.jjf-calendar-day:hover {
  background: #f0f0f0;
}
.jjf-calendar-day.disabled {
  color: #bbb;
  cursor: default;
  background: none;
}
.jjf-calendar-selected {
  background: #1976d2;
  color: #fff;
  font-weight: bold;
}
.jjf-calendar-selected:hover {
  background: #1976d2;
  color: #fff;
}