/* Sponsor date dropdown (day / week / Hebrew month) */
.gfsd-calendar {
	--gfsd-accent: #46409a;
	--gfsd-border: #d5dbe3;
	--gfsd-muted: #667085;
	position: relative;
	width: 100%;
	max-width: 560px;
	margin: 0 0 8px;
	color: #1d2939;
	box-sizing: border-box;
}

.gfsd-calendar *, .gfsd-calendar *::before, .gfsd-calendar *::after { box-sizing: border-box; }

.gfsd-dd-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid var(--gfsd-border);
	border-radius: 8px;
	background: #fff;
	color: #1d2939;
	font: inherit;
	font-size: 15px;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	box-shadow: none;
}

.gfsd-dd-btn:hover { border-color: #98a2b3; background: #fff; color: #1d2939; }
.gfsd-dd-btn:focus-visible, .gfsd-calendar.is-open .gfsd-dd-btn { outline: none; box-shadow: 0 0 0 3px #f2b84b; }

.gfsd-dd-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }

/* Pure-Hebrew lines: right-to-left and right-aligned */
.gfsd-calendar .is-he { direction: rtl; text-align: right; display: block; }
.gfsd-dd-title { font-weight: 600; line-height: 1.3; }
.gfsd-dd-btn.is-empty .gfsd-dd-title { font-weight: 400; color: var(--gfsd-muted); }
.gfsd-dd-sub { font-size: 12px; color: var(--gfsd-muted); line-height: 1.3; }

.gfsd-dd-caret {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--gfsd-accent);
	border-bottom: 2px solid var(--gfsd-accent);
	transform: rotate(45deg) translateY(-2px);
	transition: transform .15s;
}
.gfsd-calendar.is-open .gfsd-dd-caret { transform: rotate(-135deg) translateY(-2px); }

.gfsd-dd-panel {
	margin-top: 8px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
	overflow: hidden;
}
.gfsd-dd-panel[hidden] { display: none; }

.gfsd-dd-head {
	padding: 10px 16px;
	border-bottom: 1px solid #e4e7ec;
	font-size: 12px;
	color: var(--gfsd-muted);
}

.gfsd-dd-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 392px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	outline: none;
}

.gfsd-dd-opt {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 9px 44px 9px 16px;
	min-height: 56px;
	position: relative;
	border-bottom: 1px solid #f2f4f7;
	color: #1d2939;
	cursor: pointer;
	list-style: none;
}
.gfsd-dd-opt:last-child { border-bottom: 0; }
.gfsd-dd-opt-title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.gfsd-dd-opt-sub { font-size: 12px; color: var(--gfsd-muted); line-height: 1.35; }
.gfsd-dd-opt.is-active { background: #f2f4f7; }
.gfsd-dd-opt.is-selected { background: #e8eefb; }
.gfsd-dd-opt.is-selected .gfsd-dd-opt-title { color: #2f2a7a; font-weight: 700; }
.gfsd-dd-opt.is-selected::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 12px;
	height: 6px;
	border-left: 2.4px solid #2f2a7a;
	border-bottom: 2.4px solid #2f2a7a;
	transform: translateY(-65%) rotate(-45deg);
}

.gfsd-selected {
	max-width: 560px;
	margin: 10px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: #fff;
	color: #1d2939;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
}
.gfsd-selected:empty { display: none; }

@media (max-width: 480px) {
	.gfsd-dd-list { max-height: 320px; }
}
