/* Zlix Jalali Datepicker */
.zlix-jdp-wrap {
  position: relative;
  display: block;
  width: 100%;
}
.zlix-jdp-wrap .zlix-jdp-input {
  width: 100%;
  padding-left: 40px !important;
  cursor: pointer;
  background: #fff;
  direction: ltr;
  text-align: right;
  font-family: inherit;
}
.zlix-jdp-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ea580c;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  opacity: 0.85;
}
.zlix-jdp-icon:hover { opacity: 1; }

.zlix-jdp {
  position: absolute;
  z-index: 99999;
  width: 300px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  padding: 12px;
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: #0f172a;
  user-select: none;
}
.zlix-jdp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 6px;
}
.zlix-jdp-title {
  font-weight: 700;
  font-size: 14px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 6px 12px;
  flex: 1;
  text-align: center;
}
.zlix-jdp-nav {
  width: 30px;
  height: 32px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #334155;
  flex-shrink: 0;
}
.zlix-jdp-nav:hover { background: #ffedd5; border-color: #fdba74; color: #c2410c; }

.zlix-jdp-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.zlix-jdp-week span:last-child { color: #ef4444; }

.zlix-jdp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.zlix-jdp-day {
  height: 34px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
}
.zlix-jdp-day:hover { background: #ffedd5; }
.zlix-jdp-day.is-out { color: #cbd5e1; }
.zlix-jdp-day.is-fri { color: #ef4444; }
.zlix-jdp-day.is-out.is-fri { color: #fca5a5; }
.zlix-jdp-day.is-today {
  box-shadow: inset 0 0 0 1.5px #ea580c;
  font-weight: 700;
}
.zlix-jdp-day.is-selected {
  background: #ea580c !important;
  color: #fff !important;
  font-weight: 700;
}

.zlix-jdp-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  gap: 8px;
}
.zlix-jdp-clear, .zlix-jdp-today {
  flex: 1;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  color: #334155;
}
.zlix-jdp-today {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
  font-weight: 600;
}
.zlix-jdp-clear:hover, .zlix-jdp-today:hover { background: #ffedd5; }
