.pd-lite {
	position: absolute;
	z-index: 9999;
	background: #fff;
	border: 1px solid #d7d7d7;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 10px;
	width: 290px;
	font-family: inherit;
	direction: rtl;
}

.pd-lite__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.pd-lite__nav {
	border: 0;
	background: #f3f4f7;
	color: #333;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 0;
	line-height: 1;
}

.pd-lite__nav::before {
	font-size: 18px;
	line-height: 30px;
	display: block;
}

.pd-lite__nav[data-nav="next"]::before {
	content: "\2039";
}

.pd-lite__nav[data-nav="prev"]::before {
	content: "\203A";
}

.pd-lite__title {
	font-weight: 700;
	font-size: 14px;
	color: #222;
	display: flex;
	gap: 6px;
	align-items: center;
}

.pd-lite__select {
	height: 30px;
	border: 1px solid #d7d7d7;
	border-radius: 8px;
	background: #fff;
	color: #222;
	font: inherit;
	font-size: 13px;
	padding: 0 8px;
	cursor: pointer;
}

.pd-lite__week,
.pd-lite__days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}

.pd-lite__week span {
	text-align: center;
	font-size: 12px;
	color: #6f7785;
	padding: 4px 0;
}

.pd-lite__day {
	height: 34px;
	border: 0;
	background: #f8f9fb;
	border-radius: 8px;
	cursor: pointer;
	font-size: 13px;
	color: #20242b;
}

.pd-lite__day:hover {
	background: #e8edf8;
}

.pd-lite__day.is-selected {
	background: #c89b3c;
	color: #fff;
}

.pd-lite__day.is-today {
	outline: 1px solid #c89b3c;
}

body.webapp-host:has(.pd-lite--modal[open]) {
	overflow: hidden;
}

body.webapp-host .pd-lite--modal {
	position: fixed;
	inset: 0;
	margin: auto;
	width: min(360px, calc(100vw - 32px));
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	overflow: auto;
	box-sizing: border-box;
	padding: 16px;
	border: 1px solid #737783;
	border-radius: 20px;
	background: #0a0e1a;
	color: #fff;
	color-scheme: dark;
}

.pd-lite--modal::backdrop {
	background: rgba(0, 0, 0, 0.7);
}

.pd-lite__dialog-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	font-weight: 700;
}

body.webapp-host .pd-lite--modal .pd-lite__close {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: #1b202c;
	color: #fff;
	font: inherit;
	font-size: 24px;
	cursor: pointer;
}

body.webapp-host .pd-lite--modal .pd-lite__title {
	min-width: 0;
	color: #fff;
}

body.webapp-host .pd-lite--modal .pd-lite__select {
	min-width: 0;
	max-width: 120px;
	height: 44px;
	background: #1b202c;
	border-color: #737783;
	color: #fff;
}

body.webapp-host .pd-lite--modal .pd-lite__nav {
	flex: 0 0 36px;
	width: 36px;
	height: 44px;
	background: #1b202c;
	color: #fff;
}

body.webapp-host .pd-lite--modal .pd-lite__week span {
	color: #b9bec8;
}

body.webapp-host .pd-lite--modal .pd-lite__days {
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

body.webapp-host .pd-lite--modal .pd-lite__day {
	min-width: 0;
	height: 40px;
	padding: 0;
	background: #1b202c;
	color: #fff;
}

body.webapp-host .pd-lite--modal .pd-lite__day:hover,
body.webapp-host .pd-lite--modal .pd-lite__day.is-selected {
	background: #dfb676;
	color: #030712;
}

body.webapp-host .pd-lite--modal .pd-lite__day.is-today {
	outline-color: #dfb676;
}

body.webapp-host .pd-lite--modal button:focus-visible,
body.webapp-host .pd-lite--modal select:focus-visible {
	outline: 2px solid #dfb676;
	outline-offset: 2px;
}
