/* ===== تقویم شمسی (Jalali Picker) — استفاده مشترک در پیشخوان و فرانت ===== */

.ptt-jalali-popup {
	--ptt-jp-primary: #2271b1;
	z-index: 100000;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,.15);
	padding: 10px;
	width: 240px;
	font-size: 13px;
	font-family: inherit;
	direction: rtl;
}

.ptt-jp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	font-weight: 700;
}

.ptt-jp-nav {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	padding: 2px 8px;
	border-radius: 4px;
	font-family: inherit;
}

.ptt-jp-nav:hover {
	background: #f0f4f8;
}

.ptt-jp-weekdays,
.ptt-jp-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	text-align: center;
}

.ptt-jp-weekdays span {
	color: #8c8f94;
	font-weight: 600;
	padding: 4px 0;
}

.ptt-jp-day,
.ptt-jp-empty {
	padding: 6px 0;
	border: none;
	background: none;
	border-radius: 5px;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
}

.ptt-jp-day:hover {
	background: var(--ptt-jp-primary, #2271b1);
	color: #fff;
}

.ptt-jp-footer {
	text-align: center;
	margin-top: 8px;
	border-top: 1px solid #eee;
	padding-top: 8px;
}

.ptt-jp-today {
	background: none;
	border: none;
	color: var(--ptt-jp-primary, #2271b1);
	cursor: pointer;
	font-weight: 600;
	font-family: inherit;
}

input.ptt-jalali-input {
	min-height: 36px;
	border-radius: 6px;
	border: 1px solid #c3c4c7;
	padding: 0 10px;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%238c8f94" viewBox="0 0 16 16"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"/></svg>') no-repeat left 8px center;
	padding-left: 30px;
}
