/**
 * استایل تاریخ‌گزین شمسی  —  آبی/سفید
 * طراحی و توسعه توسط تیم زینوس
 */
.ztt-datepicker-field { position: relative; display: inline-block; width: 100%; }

.ztt-jdate-display {
	cursor: pointer;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233572ef' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
	background-repeat: no-repeat;
	background-position: left 10px center;
	padding-left: 34px !important;
}

.ztt-dp-popup {
	position: absolute;
	z-index: 999999;
	width: 268px;
	background: #fff;
	border: 1px solid #e3e8f2;
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(53, 114, 239, 0.18);
	padding: 10px;
	font-family: inherit;
	direction: rtl;
	animation: zttDpIn 0.16s ease;
}
@keyframes zttDpIn {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.ztt-dp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
.ztt-dp-title {
	font-weight: 700;
	color: #14203a;
	font-size: 14px;
	flex: 1;
	text-align: center;
}
.ztt-dp-nav {
	width: 30px;
	height: 30px;
	border: none;
	background: #eef3fe;
	color: #3572ef;
	border-radius: 8px;
	cursor: pointer;
	font-size: 15px;
	line-height: 1;
	padding: 0;
	transition: background 0.15s, color 0.15s, transform 0.15s;
}
.ztt-dp-nav:hover { background: #3572ef; color: #fff; transform: translateY(-1px); }

.ztt-dp-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	margin-bottom: 4px;
}
.ztt-dp-wd {
	text-align: center;
	font-size: 12px;
	color: #8a94a8;
	padding: 4px 0;
	font-weight: 600;
}

.ztt-dp-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}
.ztt-dp-day {
	text-align: center;
	padding: 7px 0;
	font-size: 13px;
	color: #2a3550;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.12s, color 0.12s;
	user-select: none;
}
.ztt-dp-day.empty { cursor: default; }
.ztt-dp-day:not(.empty):hover { background: #eef3fe; color: #3572ef; }
.ztt-dp-day.friday { color: #b34; }
.ztt-dp-day.today {
	box-shadow: inset 0 0 0 1px #3572ef;
	font-weight: 700;
}
.ztt-dp-day.selected {
	background: #3572ef !important;
	color: #fff !important;
	font-weight: 700;
}

.ztt-dp-footer {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #eef1f7;
}
.ztt-dp-footer button {
	flex: 1;
	border: none;
	border-radius: 8px;
	padding: 7px 0;
	font-size: 12.5px;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s, color 0.15s;
}
.ztt-dp-today { background: #eef3fe; color: #3572ef; font-weight: 600; }
.ztt-dp-today:hover { background: #3572ef; color: #fff; }
.ztt-dp-clear { background: #f5f6f9; color: #8a94a8; }
.ztt-dp-clear:hover { background: #edeef2; color: #5a6478; }
