.jalali-input {
  cursor: pointer;
  text-align: start;
  font-variant-numeric: tabular-nums;
}

.jalali-picker-popup {
  position: fixed;
  z-index: 10120;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid rgba(214, 169, 79, 0.28);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.16);
  font-family: Vazirmatn, inherit;
  box-sizing: border-box;
}

.jalali-picker-popup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.jalali-picker-popup__title {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.jalali-picker-popup__nav {
  width: 34px;
  height: 34px;
  border: 1px solid #e6ecf2;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.jalali-picker-popup__nav:hover {
  background: #f8fafc;
  border-color: #d6a94f;
}

.jalali-picker-popup__months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.jalali-picker-popup__month {
  min-height: 40px;
  padding: 8px 4px;
  border: 1px solid #e6ecf2;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-family: Vazirmatn, inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.jalali-picker-popup__month:hover {
  border-color: #d6a94f;
  transform: scale(1.02);
}

.jalali-picker-popup__month.is-today {
  border-color: rgba(214, 169, 79, 0.55);
  background: rgba(214, 169, 79, 0.08);
}

.jalali-picker-popup__month.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.jalali-picker-popup__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.jalali-picker-popup__weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.jalali-picker-popup__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.jalali-picker-popup__day {
  min-height: 34px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #0f172a;
  font-family: Vazirmatn, inherit;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.jalali-picker-popup__day:hover:not(.is-empty) {
  background: #f1f5f9;
}

.jalali-picker-popup__day.is-today {
  box-shadow: inset 0 0 0 1px rgba(214, 169, 79, 0.65);
}

.jalali-picker-popup__day.is-active {
  background: #0f172a;
  color: #fff;
}

.jalali-picker-popup__day.is-empty {
  pointer-events: none;
}
