/* Site Toolkit — date and time picker of Elementor Pro forms. Own classes, and resets strong enough that theme or kit
 * button styles do not reach the day and time buttons. */
.stk-dt-host { position: relative; }
.stk-dt-input { cursor: pointer; caret-color: transparent; }
.stk-dt {
	--stk-dt-accent: #3d63dd;
	position: absolute;
	z-index: 1000;
	box-sizing: border-box;
	width: 344px;
	max-width: calc(100vw - 24px);
	padding: 18px 16px 14px;
	border: 1px solid #e3e6ec;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
	color: #1d2433;
	font-size: 15px;
	line-height: 1.2;
	text-align: left;
}
.stk-dt[hidden] { display: none !important; }
.stk-dt .stk-dt__b {
	all: unset;
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #1d2433 !important;
	font: inherit;
	font-size: 16px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	cursor: pointer;
}
.stk-dt .stk-dt__b:focus-visible { outline: 2px solid var(--stk-dt-accent); outline-offset: 2px; }
.stk-dt .stk-dt__b[disabled] { color: #c8ccd3 !important; cursor: default; }
.stk-dt__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.stk-dt__title { font-size: 18px; font-weight: 600; }
.stk-dt .stk-dt__nav { width: 36px; height: 36px; font-size: 24px !important; color: #3b4252 !important; }
.stk-dt .stk-dt__nav:hover:not([disabled]) { background: #f1f4fb !important; }
.stk-dt__prefs { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 6px; margin: 0 0 14px; padding: 4px; border-radius: 10px; background: #f3f5f9; }
.stk-dt .stk-dt__pref { min-height: 32px; padding: 0 6px !important; font-size: 13px !important; font-weight: 500; text-align: center; white-space: nowrap; }
.stk-dt .stk-dt__pref:hover:not(.is-selected) { background: #fff !important; }
.stk-dt .stk-dt__pref.is-selected { background: #fff !important; color: var(--stk-dt-accent) !important; box-shadow: 0 1px 3px rgba(15, 23, 42, .15) !important; font-weight: 600; }
.stk-dt__wd, .stk-dt__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.stk-dt__wd { margin-bottom: 6px; }
.stk-dt__wd span { color: #4a5263; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }
.stk-dt .stk-dt__day { height: 42px; }
.stk-dt .stk-dt__day.is-out { color: #9aa1ad !important; }
.stk-dt .stk-dt__day.is-out[disabled] { color: #d8dbe1 !important; }
.stk-dt .stk-dt__day:hover:not([disabled]):not(.is-selected) { background: #f1f4fb !important; }
.stk-dt .stk-dt__day.is-today { box-shadow: inset 0 0 0 2px var(--stk-dt-accent) !important; font-weight: 600; }
.stk-dt .stk-dt__day.is-selected { background: var(--stk-dt-accent) !important; color: #fff !important; font-weight: 600; }
.stk-dt--time { width: 300px; padding: 14px; }
.stk-dt__times {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	max-height: 280px;
	padding: 2px 6px 2px 2px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	--stk-dt-fade-top: 0px;
	--stk-dt-fade-bottom: 0px;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--stk-dt-fade-top), #000 calc(100% - var(--stk-dt-fade-bottom)), transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 var(--stk-dt-fade-top), #000 calc(100% - var(--stk-dt-fade-bottom)), transparent 100%);
}
/* Fade out at the top and bottom only where there is more to scroll. */
.stk-dt__times.has-more-top { --stk-dt-fade-top: 36px; }
.stk-dt__times.has-more-bottom { --stk-dt-fade-bottom: 36px; }
.stk-dt .stk-dt__time {
	height: 44px;
	border: 1.5px solid color-mix(in srgb, var(--stk-dt-accent) 40%, transparent) !important;
	color: var(--stk-dt-accent) !important;
	font-size: 15px !important;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}
.stk-dt .stk-dt__time:hover:not(.is-selected) { background: color-mix(in srgb, var(--stk-dt-accent) 8%, #fff) !important; }
.stk-dt .stk-dt__time.is-selected { background: var(--stk-dt-accent) !important; color: #fff !important; }
.stk-dt__note { margin: 0 0 10px; color: #5b6170; font-size: 13px; }
@media (max-width: 480px) {
	.stk-dt { right: 0; left: 0 !important; width: auto; }
	.stk-dt .stk-dt__day { height: 40px; }
}
@media (prefers-reduced-motion: no-preference) {
	.stk-dt:not([hidden]) { animation: stk-dt-in 0.12s ease-out; }
	@keyframes stk-dt-in { from { opacity: 0; transform: translateY(-4px); } }
}
