/* انتخابگر تاریخ شمسی - کیت شمسی */

.jdp-popup {
	display: none;
	z-index: 100000;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
	padding: 12px;
	width: 288px;
	font-family: Vazirmatn, Tahoma, sans-serif;
	user-select: none;
}

.jdp-popup.jdp-open { display: block; }

.jdp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 8px;
}

.jdp-selects { display: flex; gap: 6px; }

.jdp-selects select {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 4px 8px;
	font-family: inherit;
	background: #f8f9fa;
	max-width: 110px;
}

.jdp-nav {
	width: 32px;
	height: 32px;
	border: 1px solid #dcdcde;
	background: #fff;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	transition: background .15s;
}

.jdp-nav:hover { background: #f0f0f1; }

.jdp-grid {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.jdp-grid th {
	font-size: 12px;
	color: #646970;
	font-weight: 600;
	padding: 6px 0;
}

.jdp-grid td {
	text-align: center;
	padding: 6px 0;
	font-size: 13px;
	border-radius: 8px;
	cursor: pointer;
	transition: background .12s, color .12s;
}

.jdp-grid td.jdp-day:hover { background: #eef3ff; }

.jdp-holiday { color: #d63638; }

.jdp-today-cell { box-shadow: inset 0 0 0 1.5px #2271b1; border-radius: 8px; }

.jdp-selected,
.jdp-range-edge {
	background: #2271b1 !important;
	color: #fff !important;
}

.jdp-in-range { background: #dbeafe; }

.jdp-disabled {
	color: #c3c4c7 !important;
	cursor: not-allowed !important;
	background: transparent !important;
}

.jdp-empty { cursor: default; }

.jdp-foot {
	display: flex;
	justify-content: space-between;
	gap: 6px;
	margin-top: 10px;
}

.jdp-foot button {
	border: 1px solid #dcdcde;
	background: #f6f7f7;
	border-radius: 8px;
	padding: 5px 14px;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	transition: background .15s;
}

.jdp-foot button:hover { background: #e8eaeb; }

.jdp-today { color: #2271b1; border-color: #2271b1 !important; }

input.jdp-display-input,
input.jalali-date,
input[data-jalali] {
	cursor: pointer;
	background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23646970" stroke-width="2"><rect x="3" y="4" width="18" height="18" rx="2"/><path d="M16 2v4M8 2v4M3 10h18"/></svg>') no-repeat right 10px center;
	padding-right: 32px !important;
	padding-left: 8px;
}

.jdp-greg-source { }

.shamsi-acf-wrap { display: inline-flex; gap: 6px; align-items: center; }

.shamsi-acf-display { min-width: 160px; }
