/* ==========================================================================
   Badgir Iran Panel UI — v1.0
   Visual layer only. Backend form names, actions and data contracts are intact.
   ========================================================================== */

:root {
	--bg-slate-50: #f8fafc;
	--bg-slate-100: #f1f5f9;
	--bg-slate-200: #e2e8f0;
	--bg-slate-300: #cbd5e1;
	--bg-slate-400: #94a3b8;
	--bg-slate-500: #64748b;
	--bg-slate-600: #475569;
	--bg-slate-700: #334155;
	--bg-slate-800: #1e293b;
	--bg-slate-900: #0f172a;
	--bg-primary: #4f46e5;
	--bg-primary-strong: #3730a3;
	--bg-primary-soft: #eef2ff;
	--bg-secondary: #0891b2;
	--bg-success: #059669;
	--bg-warning: #d97706;
	--bg-danger: #dc2626;
	--bg-surface: rgba(255, 255, 255, .96);
	--bg-surface-soft: rgba(248, 250, 252, .88);
	--bg-border: rgba(148, 163, 184, .22);
	--bg-border-strong: rgba(148, 163, 184, .34);
	--bg-text: #172033;
	--bg-muted: #718096;
	--bg-radius-sm: 12px;
	--bg-radius: 20px;
	--bg-radius-lg: 28px;
	--bg-shadow-sm: 0 2px 8px rgba(15, 23, 42, .035);
	--bg-shadow: 0 14px 38px rgba(36, 48, 91, .08);
	--bg-shadow-lg: 0 26px 65px rgba(49, 46, 129, .14);
}

html:has(.bg-panel) {
	scroll-behavior: smooth;
}

.badgir-host-panel-page {
	margin: 0 !important;
	overflow-x: hidden;
	background: #f5f7fc !important;
}

.badgir-host-panel-page .entry-header,
.badgir-host-panel-page .page-header,
.badgir-host-panel-page .site-header,
.badgir-host-panel-page .site-footer {
	display: none !important;
}

.badgir-host-panel-page .site,
.badgir-host-panel-page .site-main,
.badgir-host-panel-page .content-area,
.badgir-host-panel-page .entry-content,
.badgir-host-panel-page .wp-site-blocks {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.bg-panel,
.bg-panel * {
	box-sizing: border-box;
}

.bg-panel {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	color: var(--bg-text);
	background:
		radial-gradient(circle at 7% 6%, rgba(79, 70, 229, .09), transparent 25rem),
		radial-gradient(circle at 92% 92%, rgba(8, 145, 178, .07), transparent 28rem),
		#f5f7fc;
	font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

.bg-panel__ambient {
	position: fixed;
	z-index: 0;
	top: -180px;
	left: -180px;
	width: 430px;
	height: 430px;
	border-radius: 50%;
	background: rgba(99, 102, 241, .08);
	filter: blur(1px);
	pointer-events: none;
}

.bg-panel button,
.bg-panel input,
.bg-panel select,
.bg-panel textarea {
	font: inherit;
}

.bg-panel button,
.bg-panel [role="button"] {
	cursor: pointer;
}

.bg-panel a {
	text-underline-offset: 3px;
}

.bg-panel svg {
	width: 21px;
	height: 21px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bg-panel button:focus-visible,
.bg-panel a:focus-visible,
.bg-panel input:focus-visible,
.bg-panel select:focus-visible,
.bg-panel textarea:focus-visible {
	outline: 3px solid rgba(79, 70, 229, .2);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */

.bg-sidebar {
	position: fixed;
	z-index: 60;
	inset: 0 0 0 auto;
	display: flex;
	width: 292px;
	padding: 22px 17px 18px;
	border-left: 1px solid var(--bg-border);
	background: rgba(255, 255, 255, .92);
	box-shadow: -10px 0 38px rgba(15, 23, 42, .035);
	backdrop-filter: blur(22px);
	flex-direction: column;
}

.bg-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 3px 7px 20px;
	border-bottom: 1px solid var(--bg-border);
}

.bg-brand__logo {
	display: grid;
	width: 47px;
	height: 47px;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 16px 16px 7px 16px;
	background: linear-gradient(145deg, #6366f1 0%, #4338ca 58%, #312e81 100%);
	box-shadow: 0 10px 24px rgba(67, 56, 202, .26);
	font-size: 25px;
	font-weight: 900;
	place-items: center;
	transform: rotate(-2deg);
}

.bg-brand strong {
	display: block;
	color: var(--bg-slate-900);
	font-size: 17px;
	font-weight: 900;
	letter-spacing: -.25px;
}

.bg-brand small {
	display: block;
	margin-top: 1px;
	color: var(--bg-slate-500);
	font-size: 10px;
}

.bg-host-card {
	display: grid;
	align-items: center;
	grid-template-columns: 45px minmax(0, 1fr) auto;
	gap: 11px;
	margin: 16px 0 12px;
	padding: 11px;
	border: 1px solid rgba(99, 102, 241, .12);
	border-radius: 17px;
	background: linear-gradient(135deg, rgba(238, 242, 255, .95), rgba(255, 255, 255, .85));
}

.bg-avatar {
	position: relative;
	display: grid;
	width: 45px;
	height: 45px;
	color: #4338ca;
	border: 1px solid rgba(99, 102, 241, .14);
	border-radius: 15px;
	background: #e0e7ff;
	font-size: 17px;
	font-weight: 900;
	place-items: center;
}

.bg-avatar span {
	position: absolute;
	bottom: -2px;
	left: -2px;
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, .1);
}

.bg-host-card strong {
	display: block;
	overflow: hidden;
	max-width: 135px;
	color: var(--bg-slate-800);
	font-size: 12px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-host-card small {
	display: block;
	color: var(--bg-success);
	font-size: 9px;
	font-weight: 600;
}

.bg-host-card > b {
	padding: 4px 7px;
	color: #4338ca;
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--bg-shadow-sm);
	font-size: 9px;
}

.bg-nav {
	display: flex;
	min-height: 0;
	padding: 2px 2px 8px;
	overflow-y: auto;
	scrollbar-width: thin;
	flex: 1;
	flex-direction: column;
	gap: 3px;
}

.bg-nav__item {
	position: relative;
	display: flex;
	width: 100%;
	min-height: 43px;
	align-items: center;
	gap: 11px;
	padding: 0 12px;
	color: var(--bg-slate-500);
	border: 0;
	border-radius: 12px;
	background: transparent;
	font-size: 11px;
	text-align: right;
	transition: color .2s ease, background .2s ease, transform .2s ease;
}

.bg-nav__item svg {
	width: 19px;
	height: 19px;
	stroke-width: 1.9;
}

.bg-nav__item:hover {
	color: #4338ca;
	background: rgba(238, 242, 255, .75);
	transform: translateX(-2px);
}

.bg-nav__item.is-active {
	color: #3730a3;
	background: linear-gradient(90deg, #eef2ff, #f7f7ff);
	box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .08);
	font-weight: 800;
}

.bg-nav__item.is-active::before {
	position: absolute;
	right: -4px;
	width: 4px;
	height: 23px;
	border-radius: 4px 0 0 4px;
	background: linear-gradient(#6366f1, #4338ca);
	content: "";
}

.bg-nav__item em {
	min-width: 21px;
	height: 21px;
	margin-right: auto;
	padding: 0 6px;
	color: #fff;
	border-radius: 99px;
	background: #f43f5e;
	box-shadow: 0 5px 12px rgba(244, 63, 94, .22);
	font-size: 9px;
	font-style: normal;
	line-height: 21px;
	text-align: center;
}

.bg-panel .bg-panel-switch {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 9px 2px 10px;
	padding: 10px;
	color: var(--bg-slate-700);
	border: 1px solid var(--bg-border);
	border-radius: 15px;
	background: rgba(248, 250, 252, .88);
	text-decoration: none !important;
	transition: .2s ease;
}

.bg-panel .bg-panel-switch:hover {
	color: #4338ca;
	border-color: rgba(99, 102, 241, .28);
	background: #f5f6ff;
	transform: translateY(-1px);
}

.bg-panel .bg-panel-switch > i {
	display: grid;
	width: 37px;
	height: 37px;
	color: #fff;
	border-radius: 11px;
	background: linear-gradient(145deg, #6366f1, #4338ca);
	box-shadow: 0 8px 18px rgba(79, 70, 229, .2);
	font-size: 17px;
	font-style: normal;
	place-items: center;
}

.bg-panel .bg-panel-switch > span {
	display: grid;
	min-width: 0;
	gap: 1px;
}

.bg-panel .bg-panel-switch strong {
	font-size: 11px;
}

.bg-panel .bg-panel-switch small {
	overflow: hidden;
	color: var(--bg-slate-400);
	font-size: 8px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-panel .bg-panel-switch--join {
	color: #fff;
	border-color: transparent;
	background: linear-gradient(135deg, #4f46e5, #312e81);
}

.bg-panel .bg-panel-switch--join:hover {
	color: #fff;
	background: linear-gradient(135deg, #6366f1, #3730a3);
}

.bg-panel .bg-panel-switch--join small {
	color: rgba(255, 255, 255, .7);
}

.bg-sidebar__help {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 11px;
	border: 1px solid rgba(8, 145, 178, .12);
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(236, 254, 255, .9), rgba(248, 250, 252, .95));
}

.bg-sidebar__help > span {
	display: grid;
	width: 33px;
	height: 33px;
	color: #fff;
	border-radius: 11px;
	background: linear-gradient(145deg, #06b6d4, #0e7490);
	font-weight: 900;
	place-items: center;
}

.bg-sidebar__help strong {
	display: block;
	color: var(--bg-slate-700);
	font-size: 9px;
}

.bg-sidebar__help a {
	color: #0e7490;
	font-size: 9px;
	font-weight: 700;
	text-decoration: none;
}

.bg-logout {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 9px;
	padding: 11px 12px 0;
	color: #e11d48 !important;
	border-top: 1px solid var(--bg-border);
	font-size: 10px;
	font-weight: 700;
	text-decoration: none !important;
}

.bg-logout svg {
	width: 18px;
	height: 18px;
}

/* --------------------------------------------------------------------------
   Header and content shell
   -------------------------------------------------------------------------- */

.bg-main {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	margin-right: 292px;
}

.bg-topbar {
	position: sticky;
	z-index: 40;
	top: 0;
	display: flex;
	min-height: 96px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px clamp(22px, 3vw, 42px);
	border-bottom: 1px solid rgba(226, 232, 240, .78);
	background: rgba(255, 255, 255, .8);
	backdrop-filter: blur(20px);
}

.bg-topbar__title > span,
.bg-section-kicker {
	display: block;
	margin-bottom: 1px;
	color: #6366f1;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .2px;
}

.bg-topbar h1 {
	margin: 0;
	color: var(--bg-slate-900);
	font-size: clamp(19px, 2vw, 23px);
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: -.35px;
}

.bg-topbar p {
	margin: 1px 0 0;
	color: var(--bg-slate-500);
	font-size: 10px;
}

.bg-topbar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bg-icon-btn {
	position: relative;
	display: grid;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	color: var(--bg-slate-600);
	border: 1px solid var(--bg-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, .92);
	box-shadow: var(--bg-shadow-sm);
	place-items: center;
	transition: .2s ease;
}

.bg-icon-btn:hover {
	color: #4338ca;
	border-color: rgba(99, 102, 241, .25);
	background: #fff;
	transform: translateY(-2px);
}

.bg-icon-btn > i {
	position: absolute;
	top: 8px;
	right: 9px;
	width: 7px;
	height: 7px;
	border: 1.5px solid #fff;
	border-radius: 50%;
	background: #f43f5e;
}

.bg-primary {
	display: inline-flex;
	min-height: 43px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 9px 17px;
	color: #fff !important;
	border: 0;
	border-radius: 13px;
	background: linear-gradient(135deg, #5b55ec 0%, #4338ca 58%, #3730a3 100%);
	box-shadow: 0 10px 22px rgba(67, 56, 202, .2);
	font-size: 11px;
	font-weight: 800;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.bg-primary:hover {
	color: #fff !important;
	box-shadow: 0 13px 28px rgba(67, 56, 202, .27);
	filter: saturate(1.08);
	transform: translateY(-2px);
}

.bg-primary svg {
	width: 18px;
	height: 18px;
}

.bg-view {
	display: none;
	width: min(1540px, 100%);
	margin: 0 auto;
	padding: clamp(22px, 3vw, 38px) clamp(18px, 3vw, 42px) 72px;
}

.bg-view.is-active {
	display: block;
	animation: bg-view-in .38s cubic-bezier(.2, .72, .32, 1) both;
}

@keyframes bg-view-in {
	from {
		opacity: 0;
		transform: translateY(9px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.bg-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
}

.bg-section-head h2 {
	margin: 0;
	color: var(--bg-slate-900);
	font-size: clamp(20px, 2vw, 25px);
	font-weight: 900;
	line-height: 1.55;
}

.bg-section-head p {
	max-width: 720px;
	margin: 3px 0 0;
	color: var(--bg-slate-500);
	font-size: 11px;
}

/* --------------------------------------------------------------------------
   Welcome hero
   -------------------------------------------------------------------------- */

.bg-welcome {
	position: relative;
	display: flex;
	min-height: 230px;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
	padding: clamp(28px, 4vw, 45px);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 30px;
	background:
		radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .14), transparent 25%),
		linear-gradient(118deg, #312e81 0%, #4338ca 45%, #4f46e5 72%, #0891b2 140%);
	box-shadow: 0 24px 55px rgba(49, 46, 129, .2);
	isolation: isolate;
}

.bg-welcome::before,
.bg-welcome::after {
	position: absolute;
	z-index: -1;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
	content: "";
}

.bg-welcome::before {
	top: -210px;
	left: 10%;
	width: 430px;
	height: 430px;
}

.bg-welcome::after {
	right: 52%;
	bottom: -200px;
	width: 300px;
	height: 300px;
}

.bg-welcome__content {
	position: relative;
	z-index: 2;
	max-width: 700px;
}

.bg-welcome__eyebrow {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	padding: 6px 10px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	font-size: 10px !important;
	font-weight: 700;
	opacity: 1 !important;
	backdrop-filter: blur(8px);
}

.bg-welcome__eyebrow i {
	width: 7px;
	height: 7px;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: #5eead4;
	box-shadow: 0 0 0 4px rgba(94, 234, 212, .12);
}

.bg-welcome h2 {
	max-width: 650px;
	margin: 13px 0 7px;
	color: #fff;
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 950;
	line-height: 1.55;
	letter-spacing: -.6px;
}

.bg-welcome p {
	max-width: 630px;
	margin: 0;
	color: rgba(255, 255, 255, .73);
	font-size: 12px;
	line-height: 1.9;
}

.bg-welcome__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 21px;
}

.bg-welcome__actions a,
.bg-welcome__actions button {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 8px 15px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 900;
	text-decoration: none !important;
	transition: .2s ease;
}

.bg-welcome__actions .is-light {
	color: #3730a3 !important;
	border: 1px solid #fff;
	background: #fff;
	box-shadow: 0 9px 24px rgba(15, 23, 42, .16);
}

.bg-welcome__actions .is-ghost {
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .32);
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(8px);
}

.bg-welcome__actions a:hover,
.bg-welcome__actions button:hover {
	transform: translateY(-2px);
}

.bg-welcome__actions svg {
	width: 17px;
	height: 17px;
}

.bg-welcome__art {
	position: relative;
	width: 245px;
	height: 160px;
	flex: 0 0 245px;
}

.bg-welcome__art > i {
	position: absolute;
	right: 30px;
	bottom: 10px;
	width: 175px;
	height: 130px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 54px 54px 22px 22px;
	background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
	backdrop-filter: blur(8px);
	transform: rotate(-4deg);
}

.bg-welcome__art > b {
	position: absolute;
	right: 86px;
	bottom: 41px;
	color: #fff;
	font-size: 72px;
	font-weight: 950;
	line-height: 1;
	text-shadow: 16px 16px 0 rgba(15, 23, 42, .13);
}

.bg-welcome__art > span {
	position: absolute;
	top: 3px;
	right: 18px;
	color: #a5f3fc;
	font-size: 31px;
}

.bg-welcome__art > small {
	position: absolute;
	right: 48px;
	bottom: -1px;
	width: 150px;
	color: rgba(255, 255, 255, .62);
	font-size: 8px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Stats and cards
   -------------------------------------------------------------------------- */

.bg-status-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
	gap: 12px;
	margin: 20px 0;
}

.bg-status {
	position: relative;
	min-width: 0;
	min-height: 120px;
	padding: 17px;
	overflow: hidden;
	color: var(--status-color, #6366f1);
	border: 1px solid var(--bg-border);
	border-radius: 19px;
	background: rgba(255, 255, 255, .94);
	box-shadow: var(--bg-shadow-sm);
	text-align: right;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.bg-status::after {
	position: absolute;
	bottom: -30px;
	left: -24px;
	width: 85px;
	height: 85px;
	border-radius: 50%;
	background: currentColor;
	content: "";
	opacity: .045;
}

.bg-status:hover {
	border-color: color-mix(in srgb, currentColor 25%, transparent);
	box-shadow: var(--bg-shadow);
	transform: translateY(-4px);
}

.bg-status > i {
	position: absolute;
	top: 17px;
	left: 16px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 11%, transparent);
}

.bg-status span,
.bg-status strong,
.bg-status small {
	display: block;
}

.bg-status span {
	overflow: hidden;
	color: var(--bg-slate-500);
	font-size: 9px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-status strong {
	margin: 6px 0 0;
	color: var(--bg-slate-900);
	font-size: 25px;
	font-weight: 900;
	line-height: 1.25;
}

.bg-status small {
	color: var(--bg-slate-400);
	font-size: 8px;
}

.bg-status--orange { --status-color: #f59e0b; }
.bg-status--violet { --status-color: #8b5cf6; }
.bg-status--green { --status-color: #10b981; }
.bg-status--blue { --status-color: #3b82f6; }
.bg-status--cyan { --status-color: #06b6d4; }
.bg-status--indigo { --status-color: #6366f1; }
.bg-status--pink { --status-color: #ec4899; }

.bg-grid-2 {
	display: grid;
	align-items: stretch;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr);
	gap: 17px;
	margin-bottom: 17px;
}

.bg-grid-3 {
	display: grid;
	align-items: stretch;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 17px;
}

.bg-card {
	min-width: 0;
	padding: 21px;
	border: 1px solid var(--bg-border);
	border-radius: var(--bg-radius);
	background: rgba(255, 255, 255, .95);
	box-shadow: var(--bg-shadow-sm);
	transition: box-shadow .22s ease, border-color .22s ease;
}

.bg-card:hover {
	border-color: rgba(99, 102, 241, .16);
	box-shadow: 0 18px 42px rgba(30, 41, 59, .065);
}

.bg-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 18px;
}

.bg-card__head h3 {
	margin: 0;
	color: var(--bg-slate-800);
	font-size: 14px;
	font-weight: 900;
}

.bg-card__head p {
	margin: 2px 0 0;
	color: var(--bg-slate-400);
	font-size: 9px;
}

.bg-card__head button {
	margin: 0;
	padding: 4px 0;
	color: #4f46e5;
	border: 0;
	background: none;
	font-size: 9px;
	font-weight: 800;
}

.bg-card__head select {
	min-height: 31px;
	padding: 4px 9px;
	color: var(--bg-slate-500);
	border: 1px solid var(--bg-border);
	border-radius: 9px;
	background: #fff;
	font-size: 9px;
}

/* Booking rows shared by dashboard and booking views */
.bg-booking-row {
	display: grid;
	align-items: center;
	grid-template-columns: 52px minmax(150px, 1.45fr) minmax(120px, .9fr) minmax(120px, 1fr) auto;
	gap: 13px;
	padding: 14px 0;
	border-top: 1px solid rgba(226, 232, 240, .72);
}

.bg-stay-img {
	display: grid;
	width: 52px;
	height: 48px;
	overflow: hidden;
	color: #fff;
	border-radius: 14px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .15), transparent),
		linear-gradient(135deg, #6366f1, #0891b2);
	box-shadow: 0 8px 18px rgba(79, 70, 229, .13);
	font-size: 22px;
	place-items: center;
}

.bg-booking-row strong,
.bg-booking-row b {
	display: block;
	color: var(--bg-slate-700);
	font-size: 10px;
	font-weight: 800;
}

.bg-booking-row span,
.bg-booking-row small {
	display: block;
	color: var(--bg-slate-400);
	font-size: 8px;
}

.bg-booking-info strong {
	color: var(--bg-slate-800);
	font-size: 11px;
}

.bg-booking-row > em {
	padding: 5px 9px;
	border-radius: 999px;
	font-size: 8px;
	font-style: normal;
	font-weight: 800;
	white-space: nowrap;
}

.bg-booking-row .is-paid {
	color: #047857;
	background: #ecfdf5;
}

.bg-booking-row .is-waiting {
	color: #b45309;
	background: #fffbeb;
}

.bg-booking-row .is-rejected,
.bg-booking-row .is-cancelled,
.bg-booking-row .is-expired {
	color: #be123c;
	background: #fff1f2;
}

.bg-booking-dashboard-empty {
	display: grid;
	min-height: 150px;
	color: var(--bg-slate-400);
	font-size: 10px;
	place-items: center;
}

.bg-income > strong {
	display: block;
	margin-top: 5px;
	color: var(--bg-slate-900);
	font-size: clamp(20px, 2.2vw, 27px);
	font-weight: 950;
}

.bg-income > strong small {
	color: var(--bg-slate-400);
	font-size: 9px;
	font-weight: 500;
}

.bg-growth {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 2px;
	color: var(--bg-success);
	font-size: 8px;
	font-weight: 700;
}

.bg-growth::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	content: "";
}

.bg-chart {
	display: flex;
	height: 102px;
	align-items: flex-end;
	gap: 10px;
	margin-top: 13px;
	border-bottom: 1px solid var(--bg-border);
	background: repeating-linear-gradient(to top, transparent 0, transparent 32px, rgba(226, 232, 240, .55) 33px);
}

.bg-chart i {
	display: block;
	min-height: 7px;
	border-radius: 7px 7px 2px 2px;
	background: linear-gradient(#c7d2fe, #e0e7ff);
	flex: 1;
	transform-origin: bottom;
	animation: bg-bar-grow .8s cubic-bezier(.22, .72, .22, 1) both;
}

.bg-chart i.is-current {
	background: linear-gradient(180deg, #6366f1, #4338ca);
	box-shadow: 0 7px 18px rgba(79, 70, 229, .2);
}

@keyframes bg-bar-grow {
	from { transform: scaleY(.08); }
	to { transform: scaleY(1); }
}

.bg-chart-labels {
	display: flex;
	justify-content: space-between;
	padding-top: 7px;
	color: var(--bg-slate-400);
	font-size: 8px;
}

/* Profile progress, quick actions and insights */
.bg-profile-progress .bg-card__head > span {
	padding: 5px 8px;
	color: #4338ca;
	border-radius: 9px;
	background: #eef2ff;
	font-size: 10px;
	font-weight: 900;
}

.bg-progress-ring {
	display: flex;
	width: 104px;
	height: 104px;
	align-items: center;
	justify-content: center;
	margin: 3px auto 17px;
	border-radius: 50%;
	background:
		radial-gradient(circle closest-side, #fff 76%, transparent 78%),
		conic-gradient(#4f46e5 calc(var(--progress) * 1%), #e9edf6 0);
	box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .05);
	flex-direction: column;
}

.bg-progress-ring strong {
	color: var(--bg-slate-800);
	font-size: 18px;
	font-weight: 950;
}

.bg-progress-ring small {
	color: var(--bg-slate-400);
	font-size: 7px;
}

.bg-progress-track {
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: #edf0f7;
}

.bg-progress-track i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #6366f1, #06b6d4);
}

.bg-profile-progress > button {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 14px;
	padding: 8px;
	color: #4338ca;
	border: 0;
	border-radius: 11px;
	background: #f5f6ff;
	font-size: 9px;
	font-weight: 800;
}

.bg-profile-progress > button svg {
	width: 15px;
	height: 15px;
}

.bg-quick-actions > button,
.bg-quick-actions > a {
	display: grid;
	width: 100%;
	align-items: center;
	grid-template-columns: 39px minmax(0, 1fr) auto;
	gap: 10px;
	margin: 0;
	padding: 11px 0;
	color: var(--bg-slate-700);
	border: 0;
	border-top: 1px solid rgba(226, 232, 240, .68);
	background: none;
	text-align: right;
	text-decoration: none !important;
}

.bg-quick-actions > button > i,
.bg-quick-actions > a > i {
	display: grid;
	width: 38px;
	height: 38px;
	color: #4f46e5;
	border-radius: 12px;
	background: #eef2ff;
	font-style: normal;
	place-items: center;
}

.bg-quick-actions > button:nth-of-type(2) > i,
.bg-quick-actions > a:nth-of-type(2) > i {
	color: #0891b2;
	background: #ecfeff;
}

.bg-quick-actions > button:nth-of-type(3) > i,
.bg-quick-actions > a:nth-of-type(3) > i {
	color: #059669;
	background: #ecfdf5;
}

.bg-quick-actions > button svg,
.bg-quick-actions > a svg {
	width: 18px;
	height: 18px;
}

.bg-quick-actions span,
.bg-quick-actions strong,
.bg-quick-actions small {
	display: block;
}

.bg-quick-actions strong {
	color: var(--bg-slate-700);
	font-size: 10px;
}

.bg-quick-actions small {
	color: var(--bg-slate-400);
	font-size: 8px;
}

.bg-quick-actions b {
	color: var(--bg-slate-300);
	font-size: 21px;
	transition: .2s ease;
}

.bg-quick-actions > button:hover b,
.bg-quick-actions > a:hover b {
	color: #4f46e5;
	transform: translateX(-3px);
}

.bg-insight-list {
	display: grid;
	gap: 6px;
}

.bg-insight-list > div {
	display: grid;
	align-items: center;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid rgba(226, 232, 240, .68);
}

.bg-insight-list > div > i {
	display: grid;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	font-style: normal;
	place-items: center;
}

.bg-insight-list > div > i svg {
	width: 17px;
	height: 17px;
}

.bg-insight-list .is-green {
	color: #059669;
	background: #ecfdf5;
}

.bg-insight-list .is-amber {
	color: #d97706;
	background: #fffbeb;
}

.bg-insight-list .is-indigo {
	color: #4f46e5;
	background: #eef2ff;
}

.bg-insight-list span,
.bg-insight-list strong,
.bg-insight-list small {
	display: block;
}

.bg-insight-list strong {
	color: var(--bg-slate-700);
	font-size: 10px;
}

.bg-insight-list small {
	color: var(--bg-slate-400);
	font-size: 8px;
}

.bg-insight-list > div > b {
	min-width: 30px;
	color: var(--bg-slate-800);
	font-size: 17px;
	font-weight: 950;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Guest dashboard
   -------------------------------------------------------------------------- */

.bg-guest-panel .bg-welcome {
	background:
		radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .14), transparent 25%),
		linear-gradient(118deg, #164e63 0%, #0e7490 40%, #0891b2 70%, #4f46e5 135%);
	box-shadow: 0 24px 55px rgba(14, 116, 144, .18);
}

.bg-guest-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 13px;
	margin: 20px 0;
}

.bg-guest-stats article {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
	padding: 17px;
	border: 1px solid var(--bg-border);
	border-radius: 18px;
	background: rgba(255, 255, 255, .95);
	box-shadow: var(--bg-shadow-sm);
	transition: .2s ease;
}

.bg-guest-stats article:hover {
	box-shadow: var(--bg-shadow);
	transform: translateY(-3px);
}

.bg-guest-stats article > i {
	display: grid;
	width: 43px;
	height: 43px;
	color: #4f46e5;
	border-radius: 14px;
	background: #eef2ff;
	font-size: 18px;
	font-style: normal;
	place-items: center;
}

.bg-guest-stats article:nth-child(2) > i {
	color: #d97706;
	background: #fffbeb;
}

.bg-guest-stats article:nth-child(3) > i {
	color: #059669;
	background: #ecfdf5;
}

.bg-guest-stats article:nth-child(4) > i {
	color: #0891b2;
	background: #ecfeff;
}

.bg-guest-stats span,
.bg-guest-stats strong {
	display: block;
}

.bg-guest-stats span {
	overflow: hidden;
	color: var(--bg-slate-400);
	font-size: 8px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-guest-stats strong {
	color: var(--bg-slate-700);
	font-size: 11px;
}

.bg-guest-cta {
	display: inline-flex;
	align-items: center;
	padding: 9px 16px;
	color: #4338ca !important;
	border-radius: 11px;
	background: #fff;
	font-size: 10px;
	font-weight: 800;
	text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   Feature and empty states
   -------------------------------------------------------------------------- */

.bg-feature-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 17px;
	overflow: hidden;
	padding: 23px;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 22px;
	background: linear-gradient(125deg, #312e81, #4f46e5 65%, #0891b2 130%);
	box-shadow: 0 18px 42px rgba(49, 46, 129, .15);
}

.bg-feature-card::after {
	position: absolute;
	top: -70px;
	left: 7%;
	width: 180px;
	height: 180px;
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 50%;
	content: "";
}

.bg-feature-card__icon {
	display: grid;
	width: 58px;
	height: 58px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 18px;
	background: rgba(255, 255, 255, .12);
	backdrop-filter: blur(8px);
	place-items: center;
}

.bg-feature-card__icon svg {
	width: 28px;
	height: 28px;
}

.bg-feature-card span,
.bg-feature-card strong,
.bg-feature-card small {
	display: block;
}

.bg-feature-card span {
	color: rgba(255, 255, 255, .65);
	font-size: 9px;
}

.bg-feature-card strong {
	margin: 1px 0;
	font-size: clamp(17px, 2vw, 23px);
	font-weight: 950;
}

.bg-feature-card small {
	color: rgba(255, 255, 255, .72);
	font-size: 9px;
}

.bg-empty-card {
	display: flex;
	min-height: 330px;
	align-items: center;
	justify-content: center;
	margin-top: 17px;
	padding: 34px;
	color: var(--bg-slate-700);
	border: 1px dashed rgba(148, 163, 184, .38);
	border-radius: 24px;
	background: rgba(255, 255, 255, .73);
	text-align: center;
	flex-direction: column;
	backdrop-filter: blur(10px);
}

.bg-empty-card__art {
	display: grid;
	width: 88px;
	height: 88px;
	color: #4f46e5;
	border: 1px solid rgba(99, 102, 241, .1);
	border-radius: 27px;
	background: linear-gradient(145deg, #eef2ff, #fff);
	box-shadow: 0 14px 28px rgba(79, 70, 229, .1);
	font-size: 36px;
	place-items: center;
	transform: rotate(-3deg);
}

.bg-empty-card__art svg {
	width: 38px;
	height: 38px;
}

.bg-empty-card__badge {
	margin-top: 18px;
	padding: 4px 9px;
	color: #4f46e5;
	border-radius: 999px;
	background: #eef2ff;
	font-size: 8px;
	font-weight: 900;
}

.bg-empty-card h3 {
	margin: 9px 0 4px;
	color: var(--bg-slate-800);
	font-size: 15px;
	font-weight: 900;
}

.bg-empty-card p {
	max-width: 470px;
	margin: 0 0 14px;
	color: var(--bg-slate-500);
	font-size: 10px;
	line-height: 1.9;
}

.bg-empty-card > button {
	padding: 8px 14px;
	color: #4f46e5;
	border: 1px solid rgba(99, 102, 241, .2);
	border-radius: 11px;
	background: #fff;
	font-size: 9px;
	font-weight: 800;
}

/* --------------------------------------------------------------------------
   Notices
   -------------------------------------------------------------------------- */

.bg-panel .bg-form-notice,
.bg-panel .bg-booking-notice,
.bg-panel .bg-onboarding-notice {
	position: relative;
	margin: 0 0 18px;
	padding: 13px 43px 13px 15px;
	color: #047857;
	border: 1px solid #a7f3d0;
	border-radius: 15px;
	background: #ecfdf5;
	box-shadow: var(--bg-shadow-sm);
	font-size: 11px;
}

.bg-panel .bg-form-notice::before,
.bg-panel .bg-booking-notice::before,
.bg-panel .bg-onboarding-notice::before {
	position: absolute;
	top: 13px;
	right: 15px;
	display: grid;
	width: 19px;
	height: 19px;
	color: #fff;
	border-radius: 50%;
	background: #10b981;
	content: "✓";
	font-size: 11px;
	font-weight: 900;
	place-items: center;
}

.bg-panel .bg-form-notice.is-error,
.bg-panel .bg-booking-notice.is-error,
.bg-panel .bg-onboarding-notice.is-error {
	color: #be123c;
	border-color: #fecdd3;
	background: #fff1f2;
}

.bg-panel .bg-form-notice.is-error::before,
.bg-panel .bg-booking-notice.is-error::before,
.bg-panel .bg-onboarding-notice.is-error::before {
	background: #f43f5e;
	content: "!";
}

/* --------------------------------------------------------------------------
   Stay cards and forms
   -------------------------------------------------------------------------- */

.bg-stay-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 19px;
}

.bg-stay-layout--wizard {
	display: block;
}

.bg-stay-wizard-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding: 13px 16px;
	border: 1px solid rgba(199, 210, 254, .72);
	border-radius: 18px;
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
	backdrop-filter: blur(16px);
}

.bg-stay-wizard-toolbar > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 11px;
	color: #4338ca;
	border: 1px solid #c7d2fe;
	border-radius: 10px;
	background: #eef2ff;
	font-size: 9px;
	font-weight: 900;
	text-decoration: none !important;
	transition: background .2s ease, transform .2s ease;
}

.bg-stay-wizard-toolbar > a:hover {
	background: #e0e7ff;
	transform: translateX(2px);
}

.bg-stay-wizard-toolbar > a span {
	font-size: 14px;
	line-height: 1;
}

.bg-stay-wizard-toolbar > div {
	min-width: 0;
	text-align: left;
}

.bg-stay-wizard-toolbar small,
.bg-stay-wizard-toolbar strong {
	display: block;
}

.bg-stay-wizard-toolbar small {
	margin-bottom: 2px;
	color: var(--bg-slate-400);
	font-size: 7px;
}

.bg-stay-wizard-toolbar strong {
	overflow: hidden;
	color: var(--bg-slate-800);
	font-size: 11px;
	font-weight: 900;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-stay-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.bg-stay-list > .bg-empty-card {
	grid-column: 1 / -1;
	margin-top: 0;
}

.bg-real-stay {
	display: flex;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--bg-border);
	border-radius: 21px;
	background: rgba(255, 255, 255, .96);
	box-shadow: var(--bg-shadow-sm);
	flex-direction: column;
	transition: .25s ease;
}

.bg-real-stay:hover {
	border-color: rgba(99, 102, 241, .2);
	box-shadow: var(--bg-shadow);
	transform: translateY(-4px);
}

.bg-real-stay__image {
	position: relative;
	display: grid;
	height: 190px;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(145deg, #c7d2fe, #818cf8);
	font-size: 55px;
	place-items: center;
}

.bg-real-stay__image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, .22), transparent 45%);
	content: "";
	pointer-events: none;
}

.bg-real-stay__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.bg-real-stay:hover .bg-real-stay__image img {
	transform: scale(1.035);
}

.bg-real-stay__body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 17px;
}

.bg-real-stay__body h3 {
	margin: 7px 0 1px;
	color: var(--bg-slate-800);
	font-size: 13px;
	font-weight: 900;
}

.bg-real-stay__body p {
	margin: 0;
	color: var(--bg-slate-400);
	font-size: 8px;
}

.bg-real-stay__body > strong {
	color: var(--bg-slate-800);
	font-size: 12px;
	font-weight: 950;
	white-space: nowrap;
}

.bg-real-stay__body small {
	display: block;
	color: var(--bg-slate-400);
	font-size: 7px;
	font-weight: 500;
}

.bg-state {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	color: #b45309;
	border-radius: 999px;
	background: #fffbeb;
	font-size: 8px;
	font-style: normal;
	font-weight: 800;
}

.bg-state--publish {
	color: #047857;
	background: #ecfdf5;
}

.bg-state--draft {
	color: var(--bg-slate-500);
	background: var(--bg-slate-100);
}

.bg-real-stay__actions {
	display: flex;
	align-items: center;
	gap: 3px;
	margin-top: auto;
	padding: 9px 12px;
	border-top: 1px solid rgba(226, 232, 240, .75);
}

.bg-real-stay__actions a,
.bg-real-stay__actions button {
	margin: 0;
	padding: 5px 7px;
	color: #4f46e5;
	border: 0;
	border-radius: 7px;
	background: none;
	font-size: 8px;
	font-weight: 800;
	text-decoration: none !important;
}

.bg-real-stay__actions a:hover,
.bg-real-stay__actions button:hover {
	background: #eef2ff;
}

.bg-real-stay__actions form {
	margin: 0 0 0 auto;
}

.bg-real-stay__actions form button {
	color: #e11d48;
}

.bg-real-stay__actions form button:hover {
	background: #f8fafc;
}

.bg-stay-form {
	display: none;
	padding: clamp(19px, 3vw, 29px);
	border: 1px solid var(--bg-border);
	border-radius: 24px;
	background: rgba(255, 255, 255, .97);
	box-shadow: var(--bg-shadow);
	scroll-margin-top: 115px;
}

.bg-stay-form.is-open {
	display: block;
	animation: bg-view-in .35s ease both;
}

.bg-form-title {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 21px;
	padding-bottom: 17px;
	border-bottom: 1px solid var(--bg-border);
}

.bg-form-title h3 {
	margin: 0;
	color: var(--bg-slate-800);
	font-size: 17px;
	font-weight: 900;
}

.bg-form-title p {
	margin: 2px 0 0;
	color: var(--bg-slate-400);
	font-size: 9px;
}

.bg-form-title button {
	display: grid;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	color: var(--bg-slate-500);
	border: 0;
	border-radius: 10px;
	background: var(--bg-slate-100);
	font-size: 20px;
	place-items: center;
}

.bg-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.bg-form-grid label {
	display: grid;
	gap: 6px;
}

.bg-form-grid label.is-wide {
	grid-column: 1 / -1;
}

.bg-form-grid span,
.bg-calendar-form label > span {
	display: block;
	color: var(--bg-slate-600);
	font-size: 9px;
	font-weight: 800;
}

.bg-form-grid small {
	color: var(--bg-slate-400);
	font-size: 8px;
}

.bg-form-grid input,
.bg-form-grid select,
.bg-form-grid textarea,
.bg-calendar-form input,
.bg-calendar-form select,
.bg-panel .bg-onboarding-fields input,
.bg-panel .bg-onboarding-fields textarea {
	width: 100%;
	min-height: 47px;
	margin: 0;
	padding: 10px 12px;
	color: var(--bg-slate-800);
	border: 1px solid var(--bg-border-strong);
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, .02);
	font-size: 11px;
	outline: none;
	transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}

.bg-form-grid textarea,
.bg-panel .bg-onboarding-fields textarea {
	min-height: 110px;
	line-height: 1.9;
	resize: vertical;
}

.bg-form-grid input[type="file"] {
	padding: 8px;
	color: var(--bg-slate-500);
	background: var(--bg-slate-50);
}

.bg-form-grid input[type="file"]::file-selector-button {
	margin: 0 0 0 9px;
	padding: 7px 11px;
	color: #4338ca;
	border: 0;
	border-radius: 9px;
	background: #eef2ff;
	font-family: inherit;
	font-size: 9px;
	font-weight: 800;
	cursor: pointer;
}

.bg-form-grid input:focus,
.bg-form-grid select:focus,
.bg-form-grid textarea:focus,
.bg-calendar-form input:focus,
.bg-calendar-form select:focus,
.bg-panel .bg-onboarding-fields input:focus,
.bg-panel .bg-onboarding-fields textarea:focus {
	border-color: #6366f1;
	box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.bg-amenities {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
	margin: 18px 0;
	padding: 15px;
	border: 1px solid var(--bg-border);
	border-radius: 16px;
	background: var(--bg-slate-50);
}

.bg-amenities legend {
	padding: 0 7px;
	color: var(--bg-slate-600);
	font-size: 10px;
	font-weight: 900;
}

.bg-amenities label {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px;
	color: var(--bg-slate-600);
	border: 1px solid transparent;
	border-radius: 10px;
	background: #fff;
	font-size: 9px;
}

.bg-amenities label:has(input:checked) {
	color: #4338ca;
	border-color: rgba(99, 102, 241, .18);
	background: #eef2ff;
}

.bg-amenities input,
.bg-switch input,
.bg-onboarding-terms input {
	accent-color: #4f46e5;
}

.bg-switch {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 13px 0;
	color: var(--bg-slate-600);
	font-size: 9px;
}

.bg-submit {
	min-width: 190px;
}

.bg-gallery-manager {
	display: grid;
	gap: 12px;
	margin: 16px 0;
	padding: 15px;
	border: 1px solid var(--bg-border);
	border-radius: 16px;
	background: var(--bg-slate-50);
}

.bg-gallery-manager > strong {
	font-size: 10px;
}

.bg-gallery-manager > div {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}

.bg-gallery-manager label {
	display: grid;
	gap: 6px;
	padding: 7px;
	border-radius: 12px;
	background: #fff;
}

.bg-gallery-manager img {
	display: block;
	width: 100%;
	aspect-ratio: 1.3;
	border-radius: 9px;
	object-fit: cover;
}

.bg-gallery-manager span {
	color: var(--bg-slate-500);
	font-size: 8px;
}

/* --------------------------------------------------------------------------
   Calendar workspace
   -------------------------------------------------------------------------- */

.bg-calendar-workspace {
	display: grid;
	align-items: start;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: 18px;
}

.bg-calendar-form,
.bg-rate-table {
	padding: 21px;
	border: 1px solid var(--bg-border);
	border-radius: 21px;
	background: rgba(255, 255, 255, .96);
	box-shadow: var(--bg-shadow-sm);
}

.bg-calendar-form {
	position: sticky;
	top: 118px;
	display: flex;
	gap: 12px;
	flex-direction: column;
}

.bg-calendar-form label {
	display: grid;
	gap: 6px;
}

.bg-commission {
	padding: 11px 12px;
	border: 1px solid rgba(99, 102, 241, .1);
	border-radius: 12px;
	background: #eef2ff;
}

.bg-commission span,
.bg-commission strong {
	display: block;
}

.bg-commission span {
	color: var(--bg-slate-500);
	font-size: 8px;
}

.bg-commission strong {
	color: #4338ca;
	font-size: 10px;
}

.bg-rate-rows {
	max-height: 590px;
	overflow: auto;
	scrollbar-width: thin;
}

.bg-rate-rows > div {
	display: grid;
	align-items: center;
	grid-template-columns: 1fr .65fr 1fr;
	gap: 10px;
	padding: 12px 10px;
	border-top: 1px solid rgba(226, 232, 240, .75);
	color: var(--bg-slate-600);
	font-size: 9px;
}

.bg-rate-rows > div:hover {
	background: var(--bg-slate-50);
}

.bg-rate-rows strong {
	color: var(--bg-slate-700);
	text-align: left;
}

.bg-rate-rows .bg-state {
	justify-self: start;
	color: #047857;
	background: #ecfdf5;
}

.bg-rate-rows .bg-state.is-closed {
	color: #be123c;
	background: #fff1f2;
}

/* Persian availability calendar */

.bg-calendar-staybar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding: 16px 18px;
	border: 1px solid rgba(199, 210, 254, .7);
	border-radius: 19px;
	background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(238, 242, 255, .7));
	box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.bg-calendar-staybar label {
	display: flex;
	min-width: min(430px, 55%);
	align-items: center;
	gap: 12px;
}

.bg-calendar-staybar label > span,
.bg-calendar-staybar > div > span {
	color: var(--bg-slate-500);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.bg-calendar-staybar select {
	width: 100%;
	min-height: 46px;
	padding: 9px 12px;
	color: var(--bg-slate-800);
	border: 1px solid var(--bg-border-strong);
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	outline: none;
}

.bg-calendar-staybar > div {
	text-align: left;
}

.bg-calendar-staybar > div > strong {
	display: block;
	margin-top: 3px;
	color: #4338ca;
	font-size: 15px;
	font-weight: 900;
}

.bg-jalali-calendar-workspace {
	display: grid;
	align-items: start;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) 350px;
}

.bg-jalali-calendar-card,
.bg-calendar-editor {
	border: 1px solid var(--bg-border);
	border-radius: 23px;
	background: rgba(255, 255, 255, .97);
	box-shadow: var(--bg-shadow-sm);
}

.bg-jalali-calendar-card {
	min-width: 0;
	overflow: hidden;
	padding: 21px;
}

.bg-jalali-calendar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 19px;
}

.bg-jalali-calendar-head span {
	display: block;
	margin-bottom: 2px;
	color: #6366f1;
	font-size: 10px;
	font-weight: 900;
}

.bg-jalali-calendar-head h3 {
	margin: 0;
	color: var(--bg-slate-900);
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 950;
}

.bg-jalali-calendar-nav {
	display: flex;
	align-items: center;
	gap: 7px;
}

.bg-jalali-calendar-nav button {
	display: grid;
	min-width: 41px;
	height: 41px;
	margin: 0;
	padding: 0 12px;
	color: var(--bg-slate-600);
	border: 1px solid var(--bg-border);
	border-radius: 11px;
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
	place-items: center;
	transition: .2s ease;
}

.bg-jalali-calendar-nav button[data-calendar-today] {
	min-width: 63px;
	color: #4338ca;
	background: #eef2ff;
}

.bg-jalali-calendar-nav button:hover:not(:disabled) {
	color: #4338ca;
	border-color: #c7d2fe;
	background: #eef2ff;
	transform: translateY(-1px);
}

.bg-jalali-calendar-nav button:disabled {
	opacity: .35;
	cursor: default;
}

.bg-jalali-calendar-weekdays,
.bg-jalali-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.bg-jalali-calendar-weekdays {
	gap: 4px;
	margin-bottom: 7px;
	padding: 0 2px;
}

.bg-jalali-calendar-weekdays span {
	padding: 7px 2px;
	color: var(--bg-slate-500);
	font-size: 11px;
	font-weight: 900;
	text-align: center;
}

.bg-jalali-calendar-weekdays span:last-child {
	color: #e11d48;
}

.bg-jalali-calendar-grid {
	gap: 5px;
}

.bg-jalali-day,
.bg-jalali-day-blank {
	min-width: 0;
	min-height: 92px;
	border-radius: 14px;
}

.bg-jalali-day-blank {
	border: 1px dashed rgba(226, 232, 240, .62);
	background: rgba(248, 250, 252, .45);
}

.bg-jalali-day {
	position: relative;
	display: flex;
	align-items: stretch;
	margin: 0;
	overflow: hidden;
	padding: 9px 9px 8px;
	color: var(--bg-slate-700);
	border: 1px solid var(--bg-border);
	background: #fff;
	font-family: inherit;
	text-align: right;
	cursor: pointer;
	flex-direction: column;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.bg-jalali-day:hover:not(:disabled) {
	z-index: 2;
	border-color: #818cf8;
	box-shadow: 0 9px 22px rgba(79, 70, 229, .12);
	transform: translateY(-2px);
}

.bg-jalali-day > span {
	display: grid;
	width: 28px;
	height: 28px;
	color: var(--bg-slate-800);
	border-radius: 9px;
	font-size: 13px;
	font-weight: 950;
	place-items: center;
}

.bg-jalali-day > small {
	display: block;
	margin-top: auto;
	color: var(--bg-slate-600);
	font-size: 10px;
	font-weight: 850;
	white-space: nowrap;
}

.bg-jalali-day > em {
	display: block;
	margin-top: 2px;
	overflow: hidden;
	color: #059669;
	font-size: 8px;
	font-style: normal;
	font-weight: 900;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-jalali-day.is-friday > span {
	color: #e11d48;
}

.bg-jalali-day.is-today {
	border-color: #6366f1;
	box-shadow: inset 0 0 0 1px #6366f1;
}

.bg-jalali-day.is-today::before {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4f46e5;
	box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
	content: "";
}

.bg-jalali-day.is-custom {
	border-color: #a7f3d0;
	background: linear-gradient(145deg, #f0fdf4, #fff);
}

.bg-jalali-day.is-custom > em {
	color: #047857;
}

.bg-jalali-day.is-closed {
	border-color: #fecdd3;
	background: repeating-linear-gradient(135deg, #fff1f2, #fff1f2 8px, #fff7f8 8px, #fff7f8 16px);
}

.bg-jalali-day.is-closed > small,
.bg-jalali-day.is-closed > em {
	color: #be123c;
}

.bg-jalali-day.is-reserved,
.bg-jalali-day.is-hold {
	cursor: not-allowed;
}

.bg-jalali-day.is-reserved {
	border-color: #cbd5e1;
	background: linear-gradient(145deg, #e2e8f0, #f8fafc);
}

.bg-jalali-day.is-reserved > small,
.bg-jalali-day.is-reserved > em {
	color: #475569;
}

.bg-jalali-day.is-hold {
	border-color: #fde68a;
	background: linear-gradient(145deg, #fffbeb, #fff);
}

.bg-jalali-day.is-hold > small,
.bg-jalali-day.is-hold > em {
	color: #b45309;
}

.bg-jalali-day.is-past {
	filter: grayscale(.45);
	opacity: .42;
	cursor: not-allowed;
}

.bg-jalali-day.is-selected {
	color: #fff;
	border-color: #4f46e5;
	background: linear-gradient(145deg, #6366f1, #4338ca);
	box-shadow: 0 9px 22px rgba(79, 70, 229, .2);
	opacity: 1;
	filter: none;
}

.bg-jalali-day.is-selected > span,
.bg-jalali-day.is-selected > small,
.bg-jalali-day.is-selected > em,
.bg-jalali-day.is-selected.is-friday > span {
	color: #fff;
}

.bg-jalali-day.is-range-start::after,
.bg-jalali-day.is-range-end::after {
	position: absolute;
	right: 7px;
	bottom: 6px;
	width: 6px;
	height: 6px;
	border: 2px solid rgba(255, 255, 255, .8);
	border-radius: 50%;
	content: "";
}

.bg-jalali-calendar-legend {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 17px;
	padding-top: 14px;
	border-top: 1px solid var(--bg-border);
	flex-wrap: wrap;
}

.bg-jalali-calendar-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--bg-slate-500);
	font-size: 10px;
	font-weight: 800;
}

.bg-jalali-calendar-legend i {
	width: 9px;
	height: 9px;
	border-radius: 3px;
	background: #10b981;
}

.bg-jalali-calendar-legend i.is-custom { background: #34d399; box-shadow: 0 0 0 2px #d1fae5; }
.bg-jalali-calendar-legend i.is-closed { background: #fb7185; }
.bg-jalali-calendar-legend i.is-reserved { background: #94a3b8; }
.bg-jalali-calendar-legend i.is-hold { background: #f59e0b; }

.bg-calendar-editor {
	position: sticky;
	top: 112px;
	overflow: hidden;
	padding: 20px;
}

.bg-calendar-editor__head {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 16px;
}

.bg-calendar-editor__head > i {
	display: grid;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	color: #fff;
	border-radius: 13px;
	background: linear-gradient(145deg, #6366f1, #4338ca);
	box-shadow: 0 8px 19px rgba(79, 70, 229, .2);
	font-size: 15px;
	font-style: normal;
	place-items: center;
}

.bg-calendar-editor__head span,
.bg-calendar-editor__head h3 {
	display: block;
	margin: 0;
}

.bg-calendar-editor__head span {
	color: #6366f1;
	font-size: 10px;
	font-weight: 900;
}

.bg-calendar-editor__head h3 {
	margin-top: 2px;
	color: var(--bg-slate-800);
	font-size: 14px;
	font-weight: 900;
}

.bg-calendar-selection {
	margin-bottom: 15px;
	padding: 14px;
	border: 1px solid #c7d2fe;
	border-radius: 14px;
	background: linear-gradient(145deg, #eef2ff, #fff);
}

.bg-calendar-selection span,
.bg-calendar-selection strong,
.bg-calendar-selection small {
	display: block;
}

.bg-calendar-selection span {
	color: #6366f1;
	font-size: 10px;
	font-weight: 800;
}

.bg-calendar-selection strong {
	margin-top: 5px;
	color: #312e81;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.9;
}

.bg-calendar-selection small {
	margin-top: 3px;
	color: var(--bg-slate-500);
	font-size: 10px;
}

.bg-calendar-editor form {
	display: grid;
	gap: 14px;
}

.bg-calendar-status-picker {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-calendar-status-picker legend,
.bg-calendar-price-field > span {
	width: 100%;
	margin-bottom: 7px;
	color: var(--bg-slate-600);
	font-size: 11px;
	font-weight: 900;
	grid-column: 1 / -1;
}

.bg-calendar-status-picker label {
	position: relative;
	cursor: pointer;
}

.bg-calendar-status-picker input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.bg-calendar-status-picker label > span {
	display: block;
	min-height: 76px;
	padding: 12px;
	border: 1px solid var(--bg-border);
	border-radius: 13px;
	background: #fff;
	transition: .2s ease;
}

.bg-calendar-status-picker label > span > i {
	display: block;
	width: 9px;
	height: 9px;
	margin-bottom: 7px;
	border-radius: 50%;
	background: #10b981;
}

.bg-calendar-status-picker label:last-child > span > i {
	background: #f43f5e;
}

.bg-calendar-status-picker strong,
.bg-calendar-status-picker small {
	display: block;
}

.bg-calendar-status-picker strong {
	color: var(--bg-slate-700);
	font-size: 12px;
	font-weight: 900;
}

.bg-calendar-status-picker small {
	margin-top: 2px;
	color: var(--bg-slate-400);
	font-size: 9px;
	line-height: 1.6;
}

.bg-calendar-status-picker input:checked + span {
	color: #4338ca;
	border-color: #818cf8;
	background: #eef2ff;
	box-shadow: 0 7px 18px rgba(99, 102, 241, .1);
}

.bg-calendar-price-field {
	display: grid;
}

.bg-calendar-price-field > div {
	position: relative;
}

.bg-calendar-price-field input {
	width: 100%;
	min-height: 47px;
	padding: 10px 12px 10px 65px;
	color: var(--bg-slate-800);
	border: 1px solid var(--bg-border-strong);
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	outline: none;
}

.bg-calendar-price-field input:focus {
	border-color: #6366f1;
	box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.bg-calendar-price-field input:disabled {
	color: var(--bg-slate-400);
	background: var(--bg-slate-100);
	cursor: not-allowed;
}

.bg-calendar-price-field b {
	position: absolute;
	top: 50%;
	left: 11px;
	padding-right: 9px;
	color: var(--bg-slate-400);
	border-right: 1px solid var(--bg-border);
	font-size: 10px;
	transform: translateY(-50%);
}

.bg-calendar-price-field > small {
	margin-top: 5px;
	color: var(--bg-slate-400);
	font-size: 9px;
}

.bg-calendar-editor .bg-commission span {
	font-size: 10px;
	line-height: 1.7;
}

.bg-calendar-editor .bg-commission strong {
	margin-top: 3px;
	font-size: 13px;
}

.bg-calendar-apply {
	width: 100%;
	min-height: 46px;
	font-size: 12px;
}

.bg-calendar-apply:disabled {
	box-shadow: none;
	filter: grayscale(.3);
	opacity: .5;
	cursor: not-allowed;
	transform: none;
}

.bg-calendar-month-summary {
	display: grid;
	gap: 7px;
	margin-top: 17px;
	padding-top: 15px;
	border-top: 1px solid var(--bg-border);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bg-calendar-month-summary > div {
	padding: 9px 6px;
	border-radius: 11px;
	background: var(--bg-slate-50);
	text-align: center;
}

.bg-calendar-month-summary span,
.bg-calendar-month-summary strong {
	display: block;
}

.bg-calendar-month-summary span {
	color: var(--bg-slate-400);
	font-size: 8px;
}

.bg-calendar-month-summary strong {
	margin-top: 3px;
	color: var(--bg-slate-800);
	font-size: 15px;
	font-weight: 950;
}

.bg-jalali-calendar-workspace.has-calendar-error .bg-jalali-calendar-grid {
	display: grid;
	min-height: 330px;
	align-items: center;
	padding: 25px;
	color: #be123c;
	border: 1px solid #fecdd3;
	border-radius: 16px;
	background: #fff1f2;
	font-size: 13px;
	text-align: center;
	grid-template-columns: 1fr;
}

/* --------------------------------------------------------------------------
   Booking management overrides
   -------------------------------------------------------------------------- */

.bg-panel .bg-booking-list {
	display: grid;
	gap: 15px;
}

.bg-panel .bg-booking-card {
	padding: 0;
	overflow: hidden;
}

.bg-panel .bg-booking-card .bg-booking-row {
	padding: 17px 19px;
	border: 0;
}

.bg-panel .bg-booking-details {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 13px 19px;
	border-top: 1px solid rgba(226, 232, 240, .75);
	background: rgba(248, 250, 252, .72);
	flex-wrap: wrap;
}

.bg-panel .bg-booking-meta {
	display: flex;
	gap: 12px 18px;
	color: var(--bg-slate-500);
	font-size: 9px;
	flex-wrap: wrap;
}

.bg-panel .bg-booking-meta strong {
	color: var(--bg-slate-700);
}

.bg-panel .bg-booking-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.bg-panel .bg-booking-actions form {
	margin: 0;
}

.bg-panel .bg-booking-actions .bg-primary {
	min-height: 37px;
	padding: 7px 12px;
	font-size: 9px;
}

.bg-panel .bg-booking-actions .bg-danger {
	color: #be123c !important;
	border: 1px solid #fecdd3;
	background: #fff;
	box-shadow: none;
}

.bg-panel .bg-booking-actions .bg-danger:hover {
	color: #9f1239 !important;
	border-color: #e2e8f0;
	background: #f8fafc;
}

.bg-panel .bg-booking-hold {
	color: #b45309;
	font-size: 9px;
}

.bg-booking-summary {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Become-host onboarding
   -------------------------------------------------------------------------- */

.bg-panel .bg-onboarding-layout {
	display: grid;
	align-items: start;
	grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
	gap: 19px;
}

.bg-panel .bg-onboarding-intro,
.bg-panel .bg-onboarding-form,
.bg-panel .bg-host-ready {
	border: 1px solid var(--bg-border);
	border-radius: 24px;
	background: rgba(255, 255, 255, .97);
	box-shadow: var(--bg-shadow);
}

.bg-panel .bg-onboarding-intro {
	position: sticky;
	top: 118px;
	padding: 27px;
	overflow: hidden;
	color: #fff;
	border-color: rgba(255, 255, 255, .12);
	background:
		radial-gradient(circle at 10% 10%, rgba(255, 255, 255, .12), transparent 28%),
		linear-gradient(145deg, #312e81, #4f46e5 65%, #0891b2 140%);
	box-shadow: 0 22px 52px rgba(49, 46, 129, .18);
}

.bg-panel .bg-onboarding-intro > span {
	display: inline-flex;
	padding: 6px 10px;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	font-size: 9px;
}

.bg-panel .bg-onboarding-intro h3 {
	margin: 16px 0 24px;
	color: #fff;
	font-size: 23px;
	font-weight: 950;
	line-height: 1.85;
}

.bg-panel .bg-onboarding-intro ul {
	display: grid;
	gap: 17px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bg-panel .bg-onboarding-intro li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
}

.bg-panel .bg-onboarding-intro li > i {
	display: grid;
	width: 36px;
	height: 36px;
	color: #4338ca;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 7px 16px rgba(15, 23, 42, .13);
	font-size: 12px;
	font-style: normal;
	font-weight: 900;
	place-items: center;
}

.bg-panel .bg-onboarding-intro li > div {
	display: grid;
	gap: 2px;
}

.bg-panel .bg-onboarding-intro li strong {
	color: #fff;
	font-size: 11px;
}

.bg-panel .bg-onboarding-intro li small {
	color: rgba(255, 255, 255, .65);
	font-size: 9px;
	line-height: 1.8;
}

.bg-panel .bg-onboarding-form {
	padding: clamp(21px, 3vw, 29px);
}

.bg-panel .bg-onboarding-form__head {
	margin-bottom: 21px;
}

.bg-panel .bg-onboarding-form__head h3 {
	margin: 0 0 4px;
	color: var(--bg-slate-800);
	font-size: 18px;
	font-weight: 900;
}

.bg-panel .bg-onboarding-form__head p {
	margin: 0;
	color: var(--bg-slate-500);
	font-size: 10px;
}

.bg-panel .bg-onboarding-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.bg-panel .bg-onboarding-fields label {
	display: grid;
	gap: 6px;
}

.bg-panel .bg-onboarding-fields label.is-wide {
	grid-column: 1 / -1;
}

.bg-panel .bg-onboarding-fields span {
	color: var(--bg-slate-600);
	font-size: 9px;
	font-weight: 800;
}

.bg-panel .bg-onboarding-terms {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 18px 0;
	padding: 12px;
	color: var(--bg-slate-500);
	border-radius: 13px;
	background: var(--bg-slate-50);
	font-size: 9px;
	line-height: 1.9;
}

.bg-panel .bg-onboarding-terms input {
	margin-top: 4px;
}

.bg-panel .bg-onboarding-submit {
	width: 100%;
}

.bg-panel .bg-host-ready {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 27px;
}

.bg-panel .bg-host-ready__icon {
	display: grid;
	width: 60px;
	height: 60px;
	color: #059669;
	border: 1px solid #a7f3d0;
	border-radius: 19px;
	background: #ecfdf5;
	font-size: 25px;
	font-weight: 900;
	place-items: center;
}

.bg-panel .bg-host-ready > div:last-child {
	display: grid;
	gap: 12px;
}

.bg-panel .bg-host-ready h3,
.bg-panel .bg-host-ready p {
	margin: 0;
}

.bg-panel .bg-host-ready h3 {
	font-size: 17px;
}

.bg-panel .bg-host-ready p {
	color: var(--bg-slate-500);
	font-size: 10px;
}

.bg-panel .bg-host-ready__status {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.bg-panel .bg-host-ready__status span {
	padding: 7px 9px;
	color: var(--bg-slate-500);
	border-radius: 10px;
	background: var(--bg-slate-100);
	font-size: 8px;
}

.bg-panel .bg-host-ready__status strong {
	color: #4338ca;
}

/* --------------------------------------------------------------------------
   Login
   -------------------------------------------------------------------------- */

.bg-login {
	width: min(440px, calc(100% - 28px));
	margin: 80px auto;
	padding: 45px;
	color: var(--bg-slate-800);
	border: 1px solid var(--bg-border);
	border-radius: 27px;
	background: rgba(255, 255, 255, .96);
	box-shadow: var(--bg-shadow-lg);
	font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif;
	text-align: center;
	direction: rtl;
}

.bg-login__mark {
	display: grid;
	width: 66px;
	height: 66px;
	margin: auto;
	color: #fff;
	border-radius: 21px 21px 9px 21px;
	background: linear-gradient(145deg, #6366f1, #3730a3);
	box-shadow: 0 13px 28px rgba(67, 56, 202, .24);
	font-size: 31px;
	font-weight: 950;
	place-items: center;
}

.bg-login h2 {
	margin: 22px 0 6px;
	font-size: 20px;
}

.bg-login p {
	margin: 0 0 22px;
	color: var(--bg-slate-500);
	font-size: 11px;
}

.bg-login a {
	display: inline-flex;
	min-height: 43px;
	align-items: center;
	padding: 9px 22px;
	color: #fff;
	border-radius: 13px;
	background: linear-gradient(135deg, #4f46e5, #3730a3);
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   Toast and custom confirmation modal
   -------------------------------------------------------------------------- */

.bg-toast {
	position: fixed;
	z-index: 1000;
	top: 22px;
	left: 50%;
	display: grid;
	min-width: min(390px, calc(100vw - 28px));
	max-width: 520px;
	align-items: center;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 10px;
	padding: 10px 12px;
	overflow: hidden;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 16px;
	background: rgba(15, 23, 42, .94);
	box-shadow: 0 20px 50px rgba(15, 23, 42, .24);
	font-size: 10px;
	pointer-events: none;
	opacity: 0;
	backdrop-filter: blur(16px);
	transform: translate(-50%, -18px);
	transition: opacity .25s ease, transform .25s ease;
}

.bg-toast > i {
	display: grid;
	width: 35px;
	height: 35px;
	color: #fff;
	border-radius: 11px;
	background: #10b981;
	font-style: normal;
	place-items: center;
}

.bg-toast > i svg {
	width: 17px;
	height: 17px;
}

.bg-toast > b {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: #10b981;
	transform-origin: right;
}

.bg-toast.is-visible {
	pointer-events: auto;
	opacity: 1;
	transform: translate(-50%, 0);
}

.bg-toast.is-visible > b {
	animation: bg-toast-progress 3.2s linear both;
}

.bg-toast.is-error > i,
.bg-toast.is-error > b {
	background: #f43f5e;
}

@keyframes bg-toast-progress {
	from { transform: scaleX(1); }
	to { transform: scaleX(0); }
}

.bg-confirm-modal {
	position: fixed;
	z-index: 1100;
	inset: 0;
	display: grid;
	padding: 18px;
	visibility: hidden;
	opacity: 0;
	place-items: center;
	transition: .22s ease;
}

.bg-confirm-modal.is-open {
	visibility: visible;
	opacity: 1;
}

.bg-confirm-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .56);
	backdrop-filter: blur(8px);
}

.bg-confirm-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(420px, 100%);
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, .65);
	border-radius: 25px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 28px 80px rgba(15, 23, 42, .25);
	text-align: center;
	transform: translateY(12px) scale(.98);
	transition: .24s ease;
}

.bg-confirm-modal.is-open .bg-confirm-modal__dialog {
	transform: none;
}

.bg-confirm-modal__icon {
	display: grid;
	width: 61px;
	height: 61px;
	margin: 0 auto 15px;
	color: #e11d48;
	border-radius: 20px;
	background: #fff1f2;
	font-size: 25px;
	font-weight: 950;
	place-items: center;
}

.bg-confirm-modal h3 {
	margin: 0 0 7px;
	color: var(--bg-slate-900);
	font-size: 17px;
	font-weight: 950;
}

.bg-confirm-modal p {
	margin: 0;
	color: var(--bg-slate-500);
	font-size: 10px;
	line-height: 1.9;
}

.bg-confirm-modal__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin-top: 21px;
}

.bg-confirm-modal__actions button {
	min-height: 42px;
	margin: 0;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 900;
}

.bg-confirm-modal__cancel {
	color: var(--bg-slate-600);
	border: 1px solid var(--bg-border);
	background: #fff;
}

.bg-confirm-modal__accept {
	color: #fff;
	border: 0;
	background: linear-gradient(135deg, #f43f5e, #be123c);
	box-shadow: 0 9px 20px rgba(225, 29, 72, .18);
}

/* --------------------------------------------------------------------------
   Mobile shell
   -------------------------------------------------------------------------- */

.bg-mobile-head,
.bg-mobile-dock,
.bg-overlay {
	display: none;
}

.bg-mobile-brand {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bg-mobile-brand > span {
	display: grid;
	width: 34px;
	height: 34px;
	color: #fff;
	border-radius: 11px 11px 5px 11px;
	background: linear-gradient(145deg, #6366f1, #3730a3);
	font-size: 17px;
	font-weight: 900;
	place-items: center;
}

.bg-mobile-brand strong {
	color: var(--bg-slate-800);
	font-size: 14px;
	font-style: normal;
	font-weight: 900;
}

.bg-mobile-brand em {
	color: #4f46e5;
	font-style: normal;
}

/* --------------------------------------------------------------------------
   Stay registration wizard
   -------------------------------------------------------------------------- */

.bg-stay-wizard-form {
	overflow: hidden;
	padding: 0;
	border-color: rgba(199, 210, 254, .78);
	border-radius: 29px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(248, 250, 252, .96)),
		#fff;
	box-shadow:
		0 28px 80px rgba(30, 41, 59, .12),
		0 2px 8px rgba(79, 70, 229, .05);
}

.bg-stay-wizard-form [hidden] {
	display: none !important;
}

.bg-wizard-shell {
	display: grid;
	min-height: 710px;
	grid-template-columns: 238px minmax(0, 1fr);
}

.bg-wizard-sidebar {
	position: relative;
	overflow: hidden;
	padding: 23px 15px;
	color: #fff;
	background:
		radial-gradient(circle at 15% 8%, rgba(165, 180, 252, .36), transparent 31%),
		radial-gradient(circle at 85% 88%, rgba(56, 189, 248, .18), transparent 35%),
		linear-gradient(165deg, #312e81 0%, #4338ca 48%, #3730a3 100%);
}

.bg-wizard-sidebar::before,
.bg-wizard-sidebar::after {
	position: absolute;
	width: 150px;
	height: 150px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.bg-wizard-sidebar::before {
	top: -94px;
	left: -71px;
	box-shadow:
		0 0 0 24px rgba(255, 255, 255, .025),
		0 0 0 53px rgba(255, 255, 255, .018);
}

.bg-wizard-sidebar::after {
	right: -105px;
	bottom: -92px;
	box-shadow:
		0 0 0 28px rgba(255, 255, 255, .025),
		0 0 0 59px rgba(255, 255, 255, .018);
}

.bg-wizard-sidebar__head {
	position: relative;
	z-index: 1;
	margin: 0 2px 18px;
	padding: 4px 3px 17px;
	border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.bg-wizard-sidebar__head > span {
	display: inline-flex;
	margin-bottom: 9px;
	padding: 5px 9px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 99px;
	background: rgba(255, 255, 255, .11);
	font-size: 7px;
	font-weight: 800;
	backdrop-filter: blur(8px);
}

.bg-wizard-sidebar__head strong {
	display: block;
	margin-bottom: 5px;
	font-size: 15px;
	font-weight: 900;
}

.bg-wizard-sidebar__head small {
	display: block;
	color: rgba(238, 242, 255, .7);
	font-size: 7px;
	line-height: 1.8;
}

.bg-wizard-sidebar ol {
	position: relative;
	z-index: 1;
	display: grid;
	max-height: 548px;
	margin: 0;
	padding: 0 0 0 3px;
	list-style: none;
	scrollbar-color: rgba(255, 255, 255, .25) transparent;
	scrollbar-width: thin;
	overflow-y: auto;
}

.bg-wizard-sidebar li {
	position: relative;
	margin: 0;
	padding: 0;
}

.bg-wizard-sidebar li:not(:last-child)::after {
	position: absolute;
	z-index: -1;
	top: 34px;
	right: 15px;
	width: 1px;
	height: 17px;
	background: rgba(255, 255, 255, .14);
	content: "";
}

.bg-wizard-sidebar li.is-complete:not(:last-child)::after {
	background: rgba(199, 210, 254, .72);
}

.bg-wizard-sidebar button {
	display: grid;
	width: 100%;
	min-height: 49px;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 7px;
	color: rgba(238, 242, 255, .58);
	border: 0;
	border-radius: 13px;
	background: transparent;
	font-family: inherit;
	text-align: right;
	cursor: pointer;
	grid-template-columns: 29px minmax(0, 1fr) 15px;
	transition: color .2s ease, background .2s ease, transform .2s ease;
}

.bg-wizard-sidebar button:not(:disabled):hover {
	color: #fff;
	background: rgba(255, 255, 255, .09);
	transform: translateX(-2px);
}

.bg-wizard-sidebar button:disabled {
	cursor: default;
}

.bg-wizard-sidebar button > i {
	display: grid;
	width: 29px;
	height: 29px;
	color: rgba(238, 242, 255, .72);
	border: 1px solid rgba(255, 255, 255, .17);
	border-radius: 9px;
	background: rgba(255, 255, 255, .06);
	font-size: 8px;
	font-style: normal;
	font-weight: 900;
	place-items: center;
}

.bg-wizard-sidebar button span {
	min-width: 0;
}

.bg-wizard-sidebar button strong,
.bg-wizard-sidebar button small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-wizard-sidebar button strong {
	font-size: 8px;
	font-weight: 800;
}

.bg-wizard-sidebar button small {
	margin-top: 1px;
	color: inherit;
	opacity: .58;
	font-size: 6px;
}

.bg-wizard-sidebar button > b {
	color: #a5b4fc;
	font-size: 10px;
	opacity: 0;
}

.bg-wizard-sidebar li.is-active button {
	color: #fff;
	background: rgba(255, 255, 255, .13);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.bg-wizard-sidebar li.is-active button > i {
	color: #4338ca;
	border-color: #fff;
	background: #fff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, .19);
}

.bg-wizard-sidebar li.is-complete button {
	color: rgba(255, 255, 255, .82);
}

.bg-wizard-sidebar li.is-complete button > i {
	color: #fff;
	border-color: rgba(165, 180, 252, .7);
	background: rgba(165, 180, 252, .23);
}

.bg-wizard-sidebar li.is-complete button > b {
	opacity: 1;
}

.bg-wizard-main {
	display: flex;
	min-width: 0;
	flex-direction: column;
	background:
		radial-gradient(circle at 100% 0, rgba(224, 231, 255, .38), transparent 22%),
		rgba(255, 255, 255, .86);
}

.bg-wizard-title {
	margin: 0;
	padding: 22px clamp(19px, 3vw, 33px) 17px;
	border-bottom: 0;
}

.bg-wizard-title > div > span {
	display: block;
	margin-bottom: 4px;
	color: #6366f1;
	font-size: 7px;
	font-weight: 900;
}

.bg-wizard-title h3 {
	font-size: clamp(17px, 2vw, 21px);
}

.bg-wizard-title p {
	font-size: 8px;
}

.bg-wizard-title > button,
.bg-wizard-title > .bg-wizard-close {
	display: grid;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	color: var(--bg-slate-500);
	border: 1px solid var(--bg-border);
	border-radius: 10px;
	background: rgba(255, 255, 255, .85);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none !important;
}

.bg-wizard-title > button:hover,
.bg-wizard-title > .bg-wizard-close:hover {
	color: #4338ca;
	border-color: #c7d2fe;
	background: #eef2ff;
}

.bg-wizard-progress {
	height: 4px;
	margin: 0 clamp(19px, 3vw, 33px);
	overflow: hidden;
	border-radius: 99px;
	background: #eef2ff;
}

.bg-wizard-progress i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #6366f1, #4f46e5, #38bdf8);
	box-shadow: 0 0 12px rgba(99, 102, 241, .36);
	transition: width .35s cubic-bezier(.22, .7, .28, 1);
}

.bg-wizard-panels {
	flex: 1;
	padding: clamp(22px, 4vw, 40px) clamp(19px, 4vw, 45px);
}

.bg-wizard-step {
	display: none;
	max-width: 830px;
	margin: 0 auto;
}

.bg-wizard-step.is-active {
	display: block;
	animation: bg-wizard-step-in .32s ease both;
}

@keyframes bg-wizard-step-in {
	from {
		opacity: 0;
		transform: translateY(9px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.bg-wizard-step__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 25px;
}

.bg-wizard-step__head > i {
	display: grid;
	width: 43px;
	height: 43px;
	flex: 0 0 43px;
	color: #4f46e5;
	border: 1px solid rgba(129, 140, 248, .16);
	border-radius: 14px;
	background: linear-gradient(145deg, #eef2ff, #fff);
	box-shadow: 0 9px 23px rgba(99, 102, 241, .11);
	font-size: 17px;
	font-style: normal;
	font-weight: 900;
	place-items: center;
}

.bg-wizard-step__head h4 {
	margin: 1px 0 4px;
	color: var(--bg-slate-800);
	font-size: clamp(15px, 2vw, 18px);
	font-weight: 900;
}

.bg-wizard-step__head p {
	max-width: 650px;
	margin: 0;
	color: var(--bg-slate-400);
	font-size: 8px;
	line-height: 1.9;
}

.bg-wizard-map-wrap {
	position: relative;
	margin-top: 17px;
}

.bg-wizard-map {
	z-index: 1;
	width: 100%;
	height: 350px;
	overflow: hidden;
	border: 5px solid #fff;
	border-radius: 22px;
	background:
		linear-gradient(45deg, #eef2f7 25%, transparent 25%),
		linear-gradient(-45deg, #eef2f7 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #eef2f7 75%),
		linear-gradient(-45deg, transparent 75%, #eef2f7 75%),
		#f8fafc;
	background-position: 0 0, 0 10px, 10px -10px, -10px 0;
	background-size: 20px 20px;
	box-shadow:
		0 0 0 1px var(--bg-border),
		0 16px 38px rgba(15, 23, 42, .09);
}

.bg-wizard-map.is-unavailable {
	display: grid;
	padding: 25px;
	color: var(--bg-slate-500);
	font-size: 10px;
	text-align: center;
	place-items: center;
}

.bg-wizard-map .leaflet-control-attribution {
	font-family: Arial, sans-serif;
	font-size: 7px;
	direction: ltr;
}

.bg-wizard-map .leaflet-control-container {
	direction: ltr;
}

.bg-wizard-location-button {
	position: absolute;
	z-index: 3;
	right: 13px;
	bottom: 14px;
	margin: 0;
	padding: 9px 12px;
	color: #3730a3;
	border: 1px solid rgba(199, 210, 254, .8);
	border-radius: 11px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 8px 23px rgba(15, 23, 42, .15);
	font-family: inherit;
	font-size: 8px;
	font-weight: 900;
	cursor: pointer;
	backdrop-filter: blur(10px);
}

.bg-wizard-location-button:hover {
	background: #eef2ff;
}

.bg-wizard-coordinates {
	display: grid;
	margin-top: 12px;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-wizard-coordinates label {
	display: grid;
	gap: 5px;
}

.bg-wizard-coordinates span {
	color: var(--bg-slate-400);
	font-size: 7px;
	font-weight: 800;
}

.bg-wizard-coordinates input {
	width: 100%;
	min-height: 39px;
	padding: 7px 10px;
	color: var(--bg-slate-600);
	border: 1px solid var(--bg-border);
	border-radius: 10px;
	background: var(--bg-slate-50);
	font-size: 9px;
	direction: ltr;
}

.bg-wizard-tip,
.bg-wizard-security,
.bg-wizard-finish-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 18px;
	padding: 13px 14px;
	border: 1px solid rgba(129, 140, 248, .13);
	border-radius: 14px;
	background: linear-gradient(145deg, rgba(238, 242, 255, .8), rgba(255, 255, 255, .9));
}

.bg-wizard-tip > i,
.bg-wizard-security > i,
.bg-wizard-finish-note > i {
	display: grid;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	color: #4f46e5;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 5px 13px rgba(79, 70, 229, .1);
	font-size: 9px;
	font-style: normal;
	font-weight: 900;
	place-items: center;
}

.bg-wizard-tip p,
.bg-wizard-security p,
.bg-wizard-finish-note p {
	margin: 1px 0 0;
	color: var(--bg-slate-500);
	font-size: 8px;
	line-height: 1.9;
}

.bg-wizard-upload-grid {
	display: grid;
	gap: 13px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-wizard-upload {
	position: relative;
	display: flex;
	min-height: 156px;
	align-items: center;
	justify-content: center;
	padding: 20px;
	color: var(--bg-slate-500);
	border: 1.5px dashed #c7d2fe;
	border-radius: 20px;
	background:
		linear-gradient(145deg, rgba(238, 242, 255, .7), rgba(255, 255, 255, .95));
	text-align: center;
	cursor: pointer;
	flex-direction: column;
	transition: border .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bg-wizard-upload:hover {
	border-color: #6366f1;
	box-shadow: 0 14px 32px rgba(99, 102, 241, .1);
	transform: translateY(-2px);
}

.bg-wizard-upload input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.bg-wizard-upload > i {
	display: grid;
	width: 40px;
	height: 40px;
	margin-bottom: 9px;
	color: #4f46e5;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(79, 70, 229, .13);
	font-size: 20px;
	font-style: normal;
	place-items: center;
}

.bg-wizard-upload strong {
	color: var(--bg-slate-700);
	font-size: 10px;
	font-weight: 900;
}

.bg-wizard-upload small {
	margin-top: 4px;
	color: var(--bg-slate-400);
	font-size: 7px;
	line-height: 1.7;
}

.bg-wizard-upload-preview {
	display: grid;
	gap: 9px;
	margin-top: 13px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bg-wizard-upload-preview:empty {
	display: none;
}

.bg-wizard-upload-preview figure {
	position: relative;
	overflow: hidden;
	min-height: 96px;
	margin: 0;
	border: 3px solid #fff;
	border-radius: 13px;
	background: var(--bg-slate-100);
	box-shadow: 0 7px 17px rgba(15, 23, 42, .1);
}

.bg-wizard-upload-preview img {
	width: 100%;
	height: 96px;
	object-fit: cover;
}

.bg-wizard-upload-preview figcaption {
	position: absolute;
	right: 5px;
	bottom: 5px;
	left: 5px;
	overflow: hidden;
	padding: 4px 5px;
	color: #fff;
	border-radius: 6px;
	background: rgba(15, 23, 42, .7);
	font-size: 6px;
	text-overflow: ellipsis;
	white-space: nowrap;
	backdrop-filter: blur(5px);
}

.bg-wizard-choice-grid {
	display: grid;
	gap: 11px;
	margin-bottom: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-wizard-choice-grid > label {
	position: relative;
	cursor: pointer;
}

.bg-wizard-choice-grid > label > input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.bg-wizard-choice-grid > label > span {
	display: grid;
	min-height: 112px;
	align-content: center;
	padding: 16px 55px 16px 15px;
	border: 1px solid var(--bg-border);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 7px 19px rgba(15, 23, 42, .04);
	transition: border .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bg-wizard-choice-grid > label > span > i {
	position: absolute;
	top: 50%;
	right: 15px;
	display: grid;
	width: 31px;
	height: 31px;
	color: var(--bg-slate-400);
	border-radius: 10px;
	background: var(--bg-slate-100);
	font-style: normal;
	place-items: center;
	transform: translateY(-50%);
}

.bg-wizard-choice-grid strong {
	color: var(--bg-slate-700);
	font-size: 10px;
	font-weight: 900;
}

.bg-wizard-choice-grid small {
	margin-top: 4px;
	color: var(--bg-slate-400);
	font-size: 7px;
	line-height: 1.8;
}

.bg-wizard-choice-grid input:checked + span {
	border-color: #818cf8;
	background: linear-gradient(145deg, #eef2ff, #fff);
	box-shadow: 0 10px 28px rgba(99, 102, 241, .13);
	transform: translateY(-1px);
}

.bg-wizard-choice-grid input:checked + span > i {
	color: #fff;
	background: linear-gradient(145deg, #6366f1, #4338ca);
}

.bg-wizard-metrics {
	padding-top: 19px;
	border-top: 1px solid var(--bg-border);
}

.bg-input-suffix {
	position: relative;
}

.bg-input-suffix input {
	padding-left: 60px !important;
}

.bg-input-suffix > b {
	position: absolute;
	top: 50%;
	left: 10px;
	padding-right: 9px;
	color: var(--bg-slate-400);
	border-right: 1px solid var(--bg-border);
	font-size: 7px;
	font-weight: 800;
	pointer-events: none;
	transform: translateY(-50%);
}

.bg-wizard-counter-grid {
	display: grid;
	gap: 11px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-wizard-counter-grid > label {
	display: grid;
	min-height: 104px;
	align-items: center;
	gap: 14px;
	padding: 15px;
	border: 1px solid var(--bg-border);
	border-radius: 17px;
	background: linear-gradient(145deg, #fff, var(--bg-slate-50));
	box-shadow: 0 7px 19px rgba(15, 23, 42, .035);
	grid-template-columns: minmax(0, 1fr) 86px;
}

.bg-wizard-counter-grid > label > span strong,
.bg-wizard-counter-grid > label > span small {
	display: block;
}

.bg-wizard-counter-grid > label > span strong {
	color: var(--bg-slate-700);
	font-size: 10px;
	font-weight: 900;
}

.bg-wizard-counter-grid > label > span small {
	margin-top: 3px;
	color: var(--bg-slate-400);
	font-size: 7px;
	line-height: 1.7;
}

.bg-wizard-counter-grid input {
	width: 100%;
	height: 44px;
	padding: 7px;
	color: #4338ca;
	border: 1px solid #c7d2fe;
	border-radius: 12px;
	background: #eef2ff;
	font-size: 14px;
	font-weight: 900;
	text-align: center;
	outline: none;
}

.bg-wizard-check-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bg-wizard-check-grid label {
	min-height: 48px;
	padding: 10px;
	border-color: rgba(226, 232, 240, .7);
}

.bg-wizard-check-grid input {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
}

.bg-wizard-time-grid {
	display: grid;
	gap: 13px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-wizard-time-grid > label {
	display: grid;
	min-height: 126px;
	align-items: center;
	gap: 12px;
	padding: 17px;
	border: 1px solid var(--bg-border);
	border-radius: 19px;
	background: linear-gradient(145deg, #fff, #f8fafc);
	box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
	grid-template-columns: 40px minmax(0, 1fr);
}

.bg-wizard-time-grid > label > i {
	display: grid;
	width: 40px;
	height: 40px;
	color: #4f46e5;
	border-radius: 13px;
	background: #eef2ff;
	font-size: 8px;
	font-style: normal;
	font-weight: 900;
	place-items: center;
}

.bg-wizard-time-grid > label > span strong,
.bg-wizard-time-grid > label > span small {
	display: block;
}

.bg-wizard-time-grid strong {
	color: var(--bg-slate-700);
	font-size: 9px;
}

.bg-wizard-time-grid small {
	margin-top: 3px;
	color: var(--bg-slate-400);
	font-size: 7px;
}

.bg-wizard-time-grid input {
	width: 100%;
	height: 43px;
	padding: 8px 10px;
	color: var(--bg-slate-700);
	border: 1px solid var(--bg-border-strong);
	border-radius: 11px;
	background: #fff;
	font-family: inherit;
	font-size: 11px;
	direction: ltr;
	grid-column: 1 / -1;
	outline: none;
}

.bg-wizard-price-grid {
	display: grid;
	gap: 11px;
	margin-bottom: 15px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-wizard-price-grid > label,
.bg-wizard-discount-grid label {
	display: grid;
	gap: 6px;
}

.bg-wizard-price-grid > label {
	padding: 14px;
	border: 1px solid var(--bg-border);
	border-radius: 15px;
	background: #fff;
}

.bg-wizard-price-grid > label > span,
.bg-wizard-discount-grid label > span {
	color: var(--bg-slate-500);
	font-size: 8px;
	font-weight: 800;
}

.bg-wizard-price-grid input,
.bg-wizard-discount-grid input {
	width: 100%;
	min-height: 45px;
	padding: 9px 11px;
	color: var(--bg-slate-800);
	border: 1px solid var(--bg-border-strong);
	border-radius: 11px;
	background: var(--bg-slate-50);
	font-size: 11px;
	outline: none;
}

.bg-wizard-discount-grid {
	display: grid;
	gap: 13px;
	margin-top: 17px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-wizard-discount-grid > div {
	display: grid;
	gap: 12px;
	padding: 17px;
	border: 1px solid var(--bg-border);
	border-radius: 18px;
	background: linear-gradient(145deg, #fff, #f8fafc);
	box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-wizard-discount-grid > div > strong {
	color: #4338ca;
	font-size: 10px;
	font-weight: 900;
	grid-column: 1 / -1;
}

.bg-wizard-switch {
	align-items: flex-start;
	gap: 11px;
	margin-top: 17px;
	padding: 16px;
	border: 1px solid var(--bg-border);
	border-radius: 15px;
	background: var(--bg-slate-50);
}

.bg-wizard-switch input {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	flex: 0 0 17px;
}

.bg-wizard-switch strong,
.bg-wizard-switch small {
	display: block;
}

.bg-wizard-switch strong {
	color: var(--bg-slate-700);
	font-size: 9px;
}

.bg-wizard-switch small {
	margin-top: 4px;
	color: var(--bg-slate-400);
	font-size: 7px;
	line-height: 1.8;
}

.bg-wizard-policy-list {
	display: grid;
	gap: 11px;
}

.bg-wizard-policy-list > label {
	position: relative;
	cursor: pointer;
}

.bg-wizard-policy-list > label > input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.bg-wizard-policy-list > label > span {
	display: block;
	min-height: 85px;
	padding: 17px 17px 17px 53px;
	border: 1px solid var(--bg-border);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 7px 19px rgba(15, 23, 42, .035);
	transition: border .2s ease, background .2s ease, transform .2s ease;
}

.bg-wizard-policy-list strong,
.bg-wizard-policy-list small {
	display: block;
}

.bg-wizard-policy-list strong {
	color: var(--bg-slate-700);
	font-size: 10px;
	font-weight: 900;
}

.bg-wizard-policy-list strong em {
	display: inline-flex;
	margin-right: 5px;
	padding: 3px 7px;
	color: #047857;
	border-radius: 99px;
	background: #ecfdf5;
	font-size: 6px;
	font-style: normal;
}

.bg-wizard-policy-list small {
	margin-top: 5px;
	color: var(--bg-slate-400);
	font-size: 8px;
	line-height: 1.8;
}

.bg-wizard-policy-list > label > i {
	position: absolute;
	top: 50%;
	left: 17px;
	display: grid;
	width: 23px;
	height: 23px;
	color: var(--bg-slate-300);
	border: 1px solid var(--bg-border);
	border-radius: 50%;
	background: #fff;
	font-size: 10px;
	font-style: normal;
	place-items: center;
	transform: translateY(-50%);
}

.bg-wizard-policy-list input:checked + span {
	border-color: #818cf8;
	background: linear-gradient(145deg, #eef2ff, #fff);
	transform: translateX(-2px);
}

.bg-wizard-policy-list input:checked ~ i {
	color: #fff;
	border-color: #4f46e5;
	background: #4f46e5;
}

.bg-private-documents {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 14px;
	padding: 13px;
	border: 1px solid #bbf7d0;
	border-radius: 14px;
	background: #f0fdf4;
}

.bg-private-documents > strong {
	width: 100%;
	color: #166534;
	font-size: 9px;
}

.bg-private-documents > span {
	padding: 5px 8px;
	color: #15803d;
	border-radius: 8px;
	background: #fff;
	font-size: 7px;
	font-weight: 800;
}

.bg-wizard-security {
	border-color: #bae6fd;
	background: linear-gradient(145deg, #f0f9ff, #fff);
}

.bg-wizard-security strong,
.bg-wizard-finish-note strong {
	display: block;
	color: var(--bg-slate-700);
	font-size: 9px;
	font-weight: 900;
}

.bg-wizard-security > i {
	color: #0369a1;
}

.bg-wizard-review {
	display: grid;
	gap: 10px;
	margin-bottom: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-wizard-review > div {
	padding: 15px;
	border: 1px solid var(--bg-border);
	border-radius: 15px;
	background: linear-gradient(145deg, #fff, #f8fafc);
}

.bg-wizard-review span,
.bg-wizard-review strong {
	display: block;
}

.bg-wizard-review span {
	margin-bottom: 5px;
	color: var(--bg-slate-400);
	font-size: 7px;
}

.bg-wizard-review strong {
	overflow: hidden;
	color: var(--bg-slate-800);
	font-size: 11px;
	font-weight: 900;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-wizard-accept {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 17px;
	border: 1px solid #c7d2fe;
	border-radius: 16px;
	background: #eef2ff;
	cursor: pointer;
}

.bg-wizard-accept input {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	flex: 0 0 18px;
	accent-color: #4f46e5;
}

.bg-wizard-accept strong,
.bg-wizard-accept small {
	display: block;
}

.bg-wizard-accept strong {
	color: #3730a3;
	font-size: 9px;
	font-weight: 900;
}

.bg-wizard-accept small {
	margin-top: 4px;
	color: #6366f1;
	font-size: 7px;
	line-height: 1.8;
}

.bg-wizard-finish-note {
	border-color: #fde68a;
	background: linear-gradient(145deg, #fffbeb, #fff);
}

.bg-wizard-finish-note > i {
	color: #b45309;
}

.bg-wizard-footer {
	position: sticky;
	z-index: 4;
	bottom: 0;
	display: flex;
	min-height: 77px;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 13px clamp(19px, 3vw, 33px);
	border-top: 1px solid rgba(226, 232, 240, .88);
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 -12px 32px rgba(15, 23, 42, .045);
	backdrop-filter: blur(18px);
}

.bg-wizard-save-state {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--bg-slate-400);
	font-size: 7px;
	font-weight: 700;
}

.bg-wizard-save-state > i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, .1);
}

.bg-wizard-footer > div:last-child {
	display: flex;
	gap: 8px;
}

.bg-wizard-footer button {
	min-width: 91px;
	min-height: 42px;
	margin: 0;
	padding: 9px 16px;
	border-radius: 11px;
	font-family: inherit;
	font-size: 9px;
	font-weight: 900;
	cursor: pointer;
}

.bg-wizard-prev {
	color: var(--bg-slate-600);
	border: 1px solid var(--bg-border);
	background: #fff;
}

.bg-wizard-prev:hover:not(:disabled) {
	color: #4338ca;
	border-color: #c7d2fe;
	background: #eef2ff;
}

.bg-wizard-prev:disabled {
	opacity: .45;
	cursor: default;
}

.bg-wizard-next,
.bg-wizard-submit {
	border: 0;
}

.bg-wizard-submit {
	min-width: 190px !important;
	background: linear-gradient(135deg, #4338ca, #4f46e5 55%, #2563eb) !important;
	box-shadow: 0 10px 23px rgba(79, 70, 229, .22) !important;
}

/* --------------------------------------------------------------------------
   Readability baseline
   Keep helper text readable on desktop, mobile and high-density displays.
   -------------------------------------------------------------------------- */

.bg-panel .bg-panel-switch {
	min-height: 66px;
	gap: 12px;
	padding: 11px 12px;
}

.bg-panel .bg-panel-switch > i {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	font-size: 19px;
}

.bg-panel .bg-panel-switch > span {
	gap: 3px;
}

.bg-panel .bg-panel-switch strong {
	font-size: 14px;
	line-height: 1.55;
}

.bg-panel .bg-panel-switch small {
	font-size: 11px;
	line-height: 1.65;
}

.bg-stay-wizard-toolbar > a {
	font-size: 11px;
}

.bg-stay-wizard-toolbar small {
	font-size: 10px;
}

.bg-stay-wizard-toolbar strong {
	font-size: 13px;
}

.bg-wizard-shell {
	grid-template-columns: 268px minmax(0, 1fr);
}

.bg-wizard-sidebar__head > span {
	font-size: 10px;
}

.bg-wizard-sidebar__head strong {
	font-size: 18px;
	line-height: 1.65;
}

.bg-wizard-sidebar__head small {
	color: rgba(238, 242, 255, .86);
	font-size: 10px;
	line-height: 1.9;
}

.bg-wizard-sidebar button {
	min-height: 57px;
	gap: 10px;
	color: rgba(238, 242, 255, .8);
	grid-template-columns: 34px minmax(0, 1fr) 16px;
}

.bg-wizard-sidebar button > i {
	width: 34px;
	height: 34px;
	font-size: 11px;
}

.bg-wizard-sidebar button strong {
	font-size: 11px;
	line-height: 1.7;
}

.bg-wizard-sidebar button small {
	margin-top: 2px;
	font-size: 9px;
	line-height: 1.55;
	opacity: .72;
}

.bg-wizard-sidebar button > b {
	font-size: 12px;
}

.bg-wizard-title > div > span {
	font-size: 11px;
}

.bg-wizard-title p,
.bg-wizard-step__head p {
	font-size: 12px;
	line-height: 1.9;
}

.bg-stay-wizard-form .bg-form-grid span,
.bg-stay-wizard-form .bg-calendar-form label > span {
	font-size: 12px;
	line-height: 1.7;
}

.bg-stay-wizard-form .bg-form-grid small {
	font-size: 10px;
	line-height: 1.8;
}

.bg-stay-wizard-form .bg-form-grid input,
.bg-stay-wizard-form .bg-form-grid select,
.bg-stay-wizard-form .bg-form-grid textarea {
	font-size: 13px;
	line-height: 1.8;
}

.bg-wizard-map.is-unavailable,
.bg-wizard-location-button {
	font-size: 11px;
}

.bg-wizard-coordinates span {
	font-size: 10px;
}

.bg-wizard-coordinates input {
	font-size: 12px;
}

.bg-wizard-tip > i,
.bg-wizard-security > i,
.bg-wizard-finish-note > i {
	font-size: 11px;
}

.bg-wizard-tip p,
.bg-wizard-security p,
.bg-wizard-finish-note p {
	font-size: 11px;
	line-height: 1.9;
}

.bg-wizard-upload strong {
	font-size: 13px;
}

.bg-wizard-upload small {
	font-size: 10px;
	line-height: 1.8;
}

.bg-wizard-upload-preview figcaption {
	font-size: 9px;
}

.bg-wizard-choice-grid strong {
	font-size: 13px;
}

.bg-wizard-choice-grid small {
	font-size: 11px;
	line-height: 1.85;
}

.bg-input-suffix > b {
	font-size: 10px;
}

.bg-wizard-counter-grid > label > span strong {
	font-size: 12px;
}

.bg-wizard-counter-grid > label > span small {
	font-size: 10px;
	line-height: 1.75;
}

.bg-wizard-check-grid legend {
	font-size: 12px;
}

.bg-wizard-check-grid label {
	font-size: 11px;
	line-height: 1.7;
}

.bg-wizard-time-grid > label > i {
	font-size: 11px;
}

.bg-wizard-time-grid strong {
	font-size: 12px;
}

.bg-wizard-time-grid small {
	font-size: 10px;
}

.bg-wizard-time-grid input {
	font-size: 13px;
}

.bg-wizard-price-grid > label > span,
.bg-wizard-discount-grid label > span {
	font-size: 11px;
	line-height: 1.7;
}

.bg-wizard-price-grid input,
.bg-wizard-discount-grid input {
	font-size: 13px;
}

.bg-wizard-discount-grid > div > strong {
	font-size: 13px;
}

.bg-wizard-switch strong {
	font-size: 12px;
}

.bg-wizard-switch small {
	font-size: 10px;
	line-height: 1.8;
}

.bg-wizard-policy-list strong {
	font-size: 13px;
}

.bg-wizard-policy-list strong em {
	font-size: 9px;
}

.bg-wizard-policy-list small {
	font-size: 11px;
	line-height: 1.85;
}

.bg-private-documents > strong,
.bg-wizard-security strong,
.bg-wizard-finish-note strong,
.bg-wizard-accept strong {
	font-size: 12px;
}

.bg-private-documents > span {
	font-size: 10px;
}

.bg-wizard-review span {
	font-size: 10px;
}

.bg-wizard-review strong {
	font-size: 13px;
}

.bg-wizard-accept small {
	font-size: 10px;
	line-height: 1.85;
}

.bg-wizard-save-state {
	font-size: 10px;
}

.bg-wizard-footer button {
	font-size: 12px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1250px) {
	.bg-jalali-calendar-workspace {
		grid-template-columns: 1fr;
	}

	.bg-calendar-editor {
		position: static;
	}

	.bg-stay-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bg-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bg-listing-health {
		grid-column: 1 / -1;
	}

	.bg-guest-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bg-booking-row {
		grid-template-columns: 52px minmax(140px, 1.3fr) minmax(120px, 1fr) auto;
	}

	.bg-booking-row > div:nth-child(4) {
		display: none;
	}
}

@media (max-width: 1000px) {
	.bg-sidebar {
		width: 275px;
	}

	.bg-main {
		margin-right: 275px;
	}

	.bg-grid-2 {
		grid-template-columns: 1fr;
	}

	.bg-calendar-workspace {
		grid-template-columns: 1fr;
	}

	.bg-calendar-form {
		position: static;
	}

	.bg-amenities {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bg-panel .bg-onboarding-layout {
		grid-template-columns: 1fr;
	}

	.bg-panel .bg-onboarding-intro {
		position: static;
	}

	.bg-wizard-shell {
		grid-template-columns: 224px minmax(0, 1fr);
	}

	.bg-wizard-sidebar {
		padding-inline: 11px;
	}

	.bg-wizard-sidebar button {
		grid-template-columns: 31px minmax(0, 1fr) 12px;
	}

	.bg-wizard-sidebar button > i {
		width: 31px;
		height: 31px;
	}

	.bg-wizard-check-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	body:has(.bg-panel.is-menu-open) {
		overflow: hidden;
	}

	.bg-mobile-head {
		position: sticky;
		z-index: 50;
		top: 0;
		display: flex;
		height: 68px;
		align-items: center;
		justify-content: space-between;
		padding: 0 15px;
		border-bottom: 1px solid rgba(226, 232, 240, .8);
		background: rgba(255, 255, 255, .9);
		backdrop-filter: blur(18px);
	}

	.bg-mobile-head .bg-icon-btn {
		width: 40px;
		height: 40px;
	}

	.bg-sidebar {
		width: min(290px, calc(100vw - 48px));
		box-shadow: -25px 0 70px rgba(15, 23, 42, .18);
		transform: translateX(110%);
		transition: transform .3s cubic-bezier(.22, .72, .23, 1);
	}

	.bg-panel.is-menu-open .bg-sidebar {
		transform: none;
	}

	.bg-overlay {
		position: fixed;
		z-index: 55;
		inset: 0;
		display: block;
		visibility: hidden;
		background: rgba(15, 23, 42, .48);
		opacity: 0;
		backdrop-filter: blur(5px);
		transition: .25s ease;
	}

	.bg-panel.is-menu-open .bg-overlay {
		visibility: visible;
		opacity: 1;
	}

	.bg-main {
		margin-right: 0;
		padding-bottom: 74px;
	}

	.bg-topbar {
		position: relative;
		min-height: 78px;
		padding: 14px 18px;
	}

	.bg-topbar__actions .bg-icon-btn {
		display: none;
	}

	.bg-view {
		padding: 20px 16px 35px;
	}

	.bg-mobile-dock {
		position: fixed;
		z-index: 45;
		right: 12px;
		bottom: 10px;
		left: 12px;
		display: grid;
		height: 64px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: 6px;
		border: 1px solid rgba(255, 255, 255, .7);
		border-radius: 20px;
		background: rgba(255, 255, 255, .91);
		box-shadow: 0 18px 45px rgba(15, 23, 42, .15);
		backdrop-filter: blur(20px);
	}

	.bg-mobile-dock button {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 2px;
		margin: 0;
		padding: 5px;
		color: var(--bg-slate-400);
		border: 0;
		border-radius: 15px;
		background: transparent;
		font-size: 7px;
		flex-direction: column;
	}

	.bg-mobile-dock button svg {
		width: 19px;
		height: 19px;
	}

	.bg-mobile-dock button.is-active {
		color: #4338ca;
		background: #eef2ff;
		font-weight: 900;
	}

	.bg-welcome {
		min-height: 215px;
		padding: 27px;
	}

	.bg-welcome__art {
		display: none;
	}

	.bg-booking-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bg-stay-wizard-form {
		border-radius: 22px;
	}

	.bg-wizard-shell {
		display: block;
		min-height: 0;
	}

	.bg-wizard-sidebar {
		padding: 15px;
	}

	.bg-wizard-sidebar::after {
		display: none;
	}

	.bg-wizard-sidebar__head {
		margin-bottom: 10px;
		padding-bottom: 11px;
	}

	.bg-wizard-sidebar__head small {
		display: none;
	}

	.bg-wizard-sidebar ol {
		display: flex;
		max-height: none;
		gap: 6px;
		padding: 1px 0 5px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
	}

	.bg-wizard-sidebar li {
		min-width: 130px;
		scroll-snap-align: start;
	}

	.bg-wizard-sidebar li:not(:last-child)::after,
	.bg-wizard-sidebar button > b {
		display: none;
	}

	.bg-wizard-sidebar button {
		min-height: 43px;
		padding: 5px;
		grid-template-columns: 27px minmax(0, 1fr);
	}

	.bg-wizard-sidebar button small {
		display: none;
	}

	.bg-wizard-title {
		padding-top: 18px;
	}

	.bg-wizard-panels {
		min-height: 530px;
	}
}

@media (max-width: 680px) {
	.bg-topbar__title > span,
	.bg-topbar p {
		display: none;
	}

	.bg-topbar__actions .bg-primary {
		min-width: 43px;
		padding: 9px 12px;
	}

	.bg-topbar__actions .bg-primary span {
		display: none;
	}

	.bg-grid-3,
	.bg-stay-list,
	.bg-form-grid,
	.bg-panel .bg-onboarding-fields {
		grid-template-columns: 1fr;
	}

	.bg-listing-health,
	.bg-form-grid label.is-wide,
	.bg-panel .bg-onboarding-fields label.is-wide {
		grid-column: auto;
	}

	.bg-amenities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bg-gallery-manager > div {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bg-section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.bg-section-head .bg-primary {
		width: 100%;
	}

	.bg-real-stay__image {
		height: 220px;
	}

	.bg-panel .bg-booking-card .bg-booking-row {
		grid-template-columns: 48px minmax(0, 1fr) auto;
		gap: 10px;
	}

	.bg-panel .bg-booking-card .bg-booking-row > div:nth-child(3),
	.bg-panel .bg-booking-card .bg-booking-row > div:nth-child(4) {
		display: none;
	}

	.bg-panel .bg-booking-details {
		align-items: stretch;
		flex-direction: column;
	}

	.bg-panel .bg-booking-actions {
		width: 100%;
	}

	.bg-panel .bg-booking-actions form {
		flex: 1;
	}

	.bg-panel .bg-booking-actions .bg-primary {
		width: 100%;
	}

	.bg-calendar-staybar {
		align-items: stretch;
		padding: 13px;
		flex-direction: column;
	}

	.bg-calendar-staybar label {
		min-width: 0;
		align-items: stretch;
		flex-direction: column;
		gap: 6px;
	}

	.bg-calendar-staybar > div {
		padding-top: 10px;
		border-top: 1px solid var(--bg-border);
		text-align: right;
	}

	.bg-jalali-calendar-card,
	.bg-calendar-editor {
		border-radius: 18px;
	}

	.bg-jalali-calendar-card {
		padding: 13px;
	}

	.bg-jalali-calendar-head {
		align-items: stretch;
		flex-direction: column;
	}

	.bg-jalali-calendar-nav {
		width: 100%;
	}

	.bg-jalali-calendar-nav button[data-calendar-today] {
		flex: 1;
	}

	.bg-jalali-calendar-weekdays,
	.bg-jalali-calendar-grid {
		gap: 3px;
	}

	.bg-jalali-calendar-weekdays span {
		font-size: 9px;
	}

	.bg-jalali-day,
	.bg-jalali-day-blank {
		min-height: 74px;
		border-radius: 10px;
	}

	.bg-jalali-day {
		padding: 6px;
	}

	.bg-jalali-day > span {
		width: 23px;
		height: 23px;
		font-size: 11px;
	}

	.bg-jalali-day > small {
		font-size: 8px;
	}

	.bg-jalali-day > em {
		font-size: 7px;
	}

	.bg-jalali-calendar-legend {
		gap: 10px;
	}

	.bg-calendar-editor {
		padding: 16px;
	}

	.bg-stay-wizard-toolbar {
		align-items: stretch;
		padding: 12px;
		flex-direction: column-reverse;
	}

	.bg-stay-wizard-toolbar > div {
		text-align: right;
	}

	.bg-stay-wizard-toolbar > a {
		justify-content: center;
	}

	.bg-wizard-panels {
		min-height: 0;
		padding: 23px 16px 28px;
	}

	.bg-wizard-title {
		padding: 17px 16px 14px;
	}

	.bg-wizard-progress {
		margin-inline: 16px;
	}

	.bg-wizard-step__head {
		gap: 10px;
		margin-bottom: 20px;
	}

	.bg-wizard-step__head > i {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
		border-radius: 12px;
		font-size: 14px;
	}

	.bg-wizard-map {
		height: 300px;
	}

	.bg-wizard-upload-grid,
	.bg-wizard-choice-grid,
	.bg-wizard-counter-grid,
	.bg-wizard-time-grid,
	.bg-wizard-price-grid,
	.bg-wizard-discount-grid {
		grid-template-columns: 1fr;
	}

	.bg-wizard-upload {
		min-height: 135px;
	}

	.bg-wizard-upload-preview {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bg-wizard-discount-grid > div {
		grid-template-columns: 1fr;
	}

	.bg-wizard-discount-grid > div > strong {
		grid-column: auto;
	}

	.bg-wizard-footer {
		align-items: stretch;
		padding: 12px 14px;
		flex-direction: column;
	}

	.bg-wizard-save-state {
		justify-content: center;
	}

	.bg-wizard-footer > div:last-child {
		width: 100%;
	}

	.bg-wizard-footer button {
		flex: 1;
	}

	.bg-wizard-submit {
		min-width: 0 !important;
	}
}

@media (max-width: 480px) {
	.bg-topbar {
		padding: 12px 14px;
	}

	.bg-topbar h1 {
		font-size: 17px;
	}

	.bg-view {
		padding: 15px 12px 28px;
	}

	.bg-welcome {
		min-height: 225px;
		padding: 23px 20px;
		border-radius: 24px;
	}

	.bg-welcome h2 {
		font-size: 23px;
	}

	.bg-welcome p {
		font-size: 10px;
	}

	.bg-welcome__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.bg-welcome__actions a,
	.bg-welcome__actions button {
		width: 100%;
	}

	.bg-status-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.bg-status {
		min-height: 108px;
		padding: 14px;
		border-radius: 16px;
	}

	.bg-status > i {
		top: 15px;
		left: 14px;
	}

	.bg-status strong {
		font-size: 22px;
	}

	.bg-guest-stats {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.bg-card,
	.bg-calendar-form,
	.bg-rate-table {
		padding: 16px;
		border-radius: 17px;
	}

	.bg-booking-row {
		grid-template-columns: 45px minmax(0, 1fr) auto;
		gap: 8px;
	}

	.bg-booking-row > div:nth-child(3),
	.bg-booking-row > div:nth-child(4) {
		display: none;
	}

	.bg-booking-row > em {
		font-size: 7px;
	}

	.bg-real-stay__body {
		align-items: flex-start;
		flex-direction: column;
	}

	.bg-amenities {
		grid-template-columns: 1fr;
	}

	.bg-gallery-manager > div {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bg-rate-rows > div {
		grid-template-columns: 1fr auto;
	}

	.bg-rate-rows strong {
		grid-column: 1 / -1;
		text-align: right;
	}

	.bg-panel .bg-onboarding-intro,
	.bg-panel .bg-onboarding-form,
	.bg-panel .bg-host-ready {
		border-radius: 19px;
	}

	.bg-panel .bg-host-ready {
		flex-direction: column;
	}

	.bg-login {
		margin: 35px auto;
		padding: 31px 22px;
	}

	.bg-confirm-modal__actions {
		grid-template-columns: 1fr;
	}

	.bg-jalali-calendar-card {
		padding: 10px 7px 12px;
	}

	.bg-jalali-calendar-head {
		padding-inline: 4px;
	}

	.bg-jalali-calendar-weekdays span {
		overflow: hidden;
		font-size: 8px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.bg-jalali-day,
	.bg-jalali-day-blank {
		min-height: 68px;
	}

	.bg-jalali-day {
		padding: 5px 4px;
	}

	.bg-jalali-day > small {
		font-size: 7px;
	}

	.bg-jalali-day > em {
		font-size: 6px;
	}

	.bg-jalali-calendar-legend span {
		font-size: 9px;
	}

	.bg-calendar-status-picker {
		grid-template-columns: 1fr;
	}

	.bg-wizard-sidebar {
		padding: 13px 11px;
	}

	.bg-wizard-sidebar__head > span {
		display: none;
	}

	.bg-wizard-sidebar__head strong {
		margin: 0;
		font-size: 16px;
	}

	.bg-wizard-sidebar li {
		min-width: 115px;
	}

	.bg-wizard-title p {
		display: none;
	}

	.bg-wizard-map {
		height: 260px;
	}

	.bg-wizard-location-button {
		right: 9px;
		bottom: 10px;
	}

	.bg-wizard-coordinates,
	.bg-wizard-review {
		grid-template-columns: 1fr;
	}

	.bg-wizard-check-grid {
		grid-template-columns: 1fr;
	}

	.bg-wizard-upload-preview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bg-wizard-choice-grid > label > span {
		min-height: 103px;
	}

	.bg-wizard-counter-grid > label {
		grid-template-columns: minmax(0, 1fr) 75px;
	}

	.bg-wizard-footer {
		position: static;
	}
}

/* Jajiga-inspired calendar day editor */
.bg-calendar-edit-trigger {
	display: grid;
	width: 100%;
	min-height: 68px;
	margin-top: 16px;
	padding: 13px 18px;
	border: 0;
	border-radius: 18px;
	text-align: right;
	cursor: pointer;
}

.bg-calendar-edit-trigger span,
.bg-calendar-edit-trigger small {
	display: block;
}

.bg-calendar-edit-trigger span {
	font-size: 14px;
	font-weight: 900;
}

.bg-calendar-edit-trigger small {
	margin-top: 3px;
	color: rgba(255, 255, 255, .76);
	font-size: 11px;
}

.bg-calendar-edit-trigger:disabled {
	background: #e9edf5;
	box-shadow: none;
	color: #8c96aa;
	cursor: not-allowed;
}

.bg-calendar-edit-trigger:disabled small {
	color: #a2aabd;
}

.bg-calendar-edit-hint {
	margin: 12px 3px 2px;
	color: #7b859b;
	font-size: 11px;
	line-height: 1.9;
}

.bg-calendar-edit-modal[hidden],
.bg-calendar-option__body[hidden],
[data-action-fields][hidden] {
	display: none !important;
}

html.bg-calendar-modal-open,
html.bg-calendar-modal-open body {
	overflow: hidden !important;
}

.bg-calendar-edit-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 22px;
	direction: rtl;
	animation: bgCalendarFade .2s ease both;
}

.bg-calendar-edit-modal__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(15, 23, 42, .63);
	backdrop-filter: blur(7px);
	cursor: default;
}

.bg-calendar-edit-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: min(880px, calc(100vh - 44px));
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 28px;
	background: #f6f7fb;
	box-shadow: 0 30px 90px rgba(15, 23, 42, .28);
	animation: bgCalendarSlide .25s ease both;
	scrollbar-width: thin;
}

.bg-calendar-edit-modal__head {
	position: sticky;
	top: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	border-bottom: 1px solid #e7eaf1;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(14px);
}

.bg-calendar-edit-modal__head span,
.bg-calendar-edit-modal__head h3 {
	display: block;
	margin: 0;
}

.bg-calendar-edit-modal__head span {
	margin-bottom: 5px;
	color: #69748d;
	font-size: 11px;
}

.bg-calendar-edit-modal__head h3 {
	color: #182138;
	font-size: 17px;
	font-weight: 900;
}

.bg-calendar-edit-modal__head > button {
	display: grid;
	place-items: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #e1e5ee;
	border-radius: 13px;
	background: #fff;
	color: #68738a;
	font: 400 26px/1 Arial, sans-serif;
	cursor: pointer;
}

.bg-calendar-modal-selection {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 16px 18px 10px;
	padding: 13px 16px;
	border: 1px solid #dfe4ff;
	border-radius: 15px;
	background: linear-gradient(135deg, #eef1ff, #fff);
}

.bg-calendar-modal-selection strong {
	color: #29389e;
	font-size: 13px;
}

.bg-calendar-modal-selection span {
	flex: 0 0 auto;
	padding: 6px 10px;
	border-radius: 999px;
	background: #fff;
	color: #65708a;
	font-size: 10px;
	box-shadow: 0 4px 15px rgba(71, 83, 202, .1);
}

.bg-calendar-accordion {
	display: grid;
	gap: 9px;
	padding: 4px 18px 18px;
}

.bg-calendar-option {
	overflow: hidden;
	border: 1px solid #e1e5ed;
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(42, 51, 75, .045);
}

.bg-calendar-option.is-open {
	border-color: #cfd5ff;
	box-shadow: 0 9px 28px rgba(70, 81, 196, .09);
}

.bg-calendar-option__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 62px;
	padding: 12px 15px;
	border: 0;
	background: #fff;
	color: #242d43;
	font-family: inherit;
	cursor: pointer;
}

.bg-calendar-option__toggle > span {
	display: flex;
	align-items: center;
	gap: 11px;
}

.bg-calendar-option__toggle i {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 11px;
	background: #eff1ff;
	color: #4b55c7;
	font-size: 11px;
	font-style: normal;
	font-weight: 900;
}

.bg-calendar-option__toggle strong {
	font-size: 14px;
	font-weight: 900;
}

.bg-calendar-option__toggle > b {
	color: #8a94a8;
	font-size: 18px;
	transition: transform .2s ease;
}

.bg-calendar-option.is-open .bg-calendar-option__toggle > b {
	transform: rotate(180deg);
}

.bg-calendar-option__body {
	padding: 0 15px 16px;
	border-top: 1px solid #f0f2f6;
}

.bg-calendar-option__body > p {
	margin: 11px 3px 0;
	color: #778198;
	font-size: 11px;
	line-height: 1.9;
}

.bg-calendar-choice-row {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding-top: 14px;
}

.bg-calendar-choice-row label {
	position: relative;
	cursor: pointer;
}

.bg-calendar-choice-row input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bg-calendar-choice-row span {
	display: block;
	padding: 9px 12px;
	border: 1px solid #e0e4ec;
	border-radius: 11px;
	background: #fafbfc;
	color: #626d83;
	font-size: 11px;
	font-weight: 700;
	transition: .18s ease;
}

.bg-calendar-choice-row input:checked + span {
	border-color: #4b55d5;
	background: #eef0ff;
	color: #343fb3;
	box-shadow: 0 0 0 3px rgba(75, 85, 213, .08);
}

.bg-calendar-modal-field {
	display: grid;
	gap: 8px;
	margin-top: 13px;
}

.bg-calendar-modal-field > span {
	color: #424c63;
	font-size: 12px;
	font-weight: 800;
}

.bg-calendar-modal-field > div {
	display: flex;
	align-items: center;
	min-height: 50px;
	padding: 0 14px;
	border: 1px solid #dce1ea;
	border-radius: 13px;
	background: #fff;
}

.bg-calendar-modal-field input {
	min-width: 0;
	flex: 1;
	padding: 12px 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #1d2840;
	font: 800 15px/1.4 inherit;
	direction: ltr;
	text-align: right;
}

.bg-calendar-modal-field b {
	color: #7f899d;
	font-size: 11px;
}

.bg-calendar-dual-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.bg-calendar-stepper {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
}

.bg-calendar-stepper > button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #dfe3eb;
	border-radius: 13px;
	background: #f8f9fb;
	color: #3541b4;
	font: 700 22px/1 Arial, sans-serif;
	cursor: pointer;
}

.bg-calendar-stepper label {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 6px;
	min-height: 52px;
	padding: 7px 14px;
	border: 1px solid #dfe3eb;
	border-radius: 13px;
	background: #fff;
}

.bg-calendar-stepper label span {
	color: #69748a;
	font-size: 11px;
}

.bg-calendar-stepper input {
	width: 48px;
	padding: 5px;
	border: 0;
	outline: 0;
	background: transparent;
	font: 900 15px/1 inherit;
	text-align: center;
}

.bg-calendar-stepper label b {
	color: #657087;
	font-size: 11px;
}

.bg-calendar-edit-modal .bg-commission {
	margin-top: 10px;
}

.bg-calendar-edit-modal__footer {
	position: sticky;
	bottom: 0;
	z-index: 4;
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 10px;
	padding: 14px 18px 18px;
	border-top: 1px solid #e3e6ed;
	background: rgba(255, 255, 255, .95);
	backdrop-filter: blur(14px);
}

.bg-calendar-edit-modal__footer button {
	min-height: 48px;
	border: 0;
	border-radius: 14px;
	background: #eef0f4;
	color: #4e586e;
	font: 800 13px/1 inherit;
	cursor: pointer;
}

.bg-calendar-edit-modal__footer .bg-primary {
	background: linear-gradient(135deg, #4855dc, #303bb5);
	color: #fff;
	box-shadow: 0 10px 24px rgba(62, 74, 201, .24);
}

.bg-jalali-day.has-discount > em {
	background: #ecfdf5;
	color: #07815f;
}

.bg-jalali-day.has-calendar-rule:not(.is-closed):not(.is-reserved):not(.is-hold) {
	box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .16);
}

@keyframes bgCalendarFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes bgCalendarSlide {
	from { opacity: 0; transform: translateY(18px) scale(.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
	.bg-calendar-edit-modal {
		place-items: end center;
		padding: 0;
	}

	.bg-calendar-edit-modal__dialog {
		width: 100%;
		max-height: 94vh;
		border-radius: 25px 25px 0 0;
	}

	.bg-calendar-edit-modal__head {
		padding: 16px;
	}

	.bg-calendar-edit-modal__head h3 {
		font-size: 15px;
	}

	.bg-calendar-modal-selection {
		align-items: flex-start;
		flex-direction: column;
		margin: 12px 12px 8px;
	}

	.bg-calendar-accordion {
		padding: 4px 12px 14px;
	}

	.bg-calendar-choice-row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bg-calendar-choice-row span {
		height: 100%;
		text-align: center;
	}

	.bg-calendar-dual-fields {
		grid-template-columns: 1fr;
	}

	.bg-calendar-stepper {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
	}

	.bg-calendar-stepper > button {
		width: 40px;
		height: 40px;
	}

	.bg-calendar-stepper label {
		grid-template-columns: 1fr auto;
	}

	.bg-calendar-stepper label span {
		grid-column: 1 / -1;
	}

	.bg-calendar-edit-modal__footer {
		padding: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bg-panel *,
	.bg-panel *::before,
	.bg-panel *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* Exact calendar editor flow based on the supplied Jajiga recording */
.bg-jalali-calendar-workspace {
	display: block;
}

.bg-jalali-calendar-card {
	width: min(100%, 980px);
	margin-inline: auto;
}

.bg-calendar-month-summary--inline {
	width: min(100%, 980px);
	margin: 14px auto 0;
}

.bg-calendar-selection-dock[hidden] {
	display: none !important;
}

.bg-calendar-selection-dock {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 9990;
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: 14px;
	width: min(520px, calc(100vw - 32px));
	padding: 12px;
	border-radius: 11px;
	background: #626262;
	box-shadow: 0 18px 50px rgba(15, 23, 42, .28);
	transform: translateX(-50%);
	animation: bgCalendarDockUp .18s ease both;
	font-family: Vazirmatn, Tahoma, sans-serif;
}

.bg-calendar-selection-dock *,
.bg-calendar-edit-modal,
.bg-calendar-edit-modal * {
	box-sizing: border-box;
}

.bg-calendar-selection-dock button {
	min-height: 52px;
	padding: 10px 18px;
	border: 0;
	border-radius: 9px;
	font: 800 14px/1.3 inherit;
	cursor: pointer;
}

.bg-calendar-selection-cancel {
	background: #f4f4f4;
	color: #242424;
}

.bg-calendar-selection-edit {
	background: #f1d900;
	color: #222;
}

.bg-calendar-selection-edit:hover {
	background: #e6cf00;
}

.bg-calendar-selection-edit:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.bg-calendar-edit-modal {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	padding: 74px 0 0;
	direction: ltr;
	font-family: Vazirmatn, Tahoma, sans-serif;
}

.bg-calendar-edit-modal__backdrop {
	background: rgba(20, 20, 20, .62);
	backdrop-filter: none;
}

.bg-calendar-edit-modal__dialog {
	width: min(665px, calc(100vw - 24px));
	max-height: none;
	height: calc(100vh - 74px);
	margin: 0;
	border: 0;
	border-radius: 0 13px 0 0;
	background: #f3f4f7;
	box-shadow: 18px 0 55px rgba(0, 0, 0, .2);
	direction: rtl;
	animation: bgCalendarDrawerIn .22s ease both;
}

.bg-calendar-edit-modal__head {
	position: static;
	display: block;
	min-height: 148px;
	padding: 38px 52px 24px;
	border: 0;
	background: #f3f4f7;
	backdrop-filter: none;
}

.bg-calendar-edit-modal__head h3 {
	margin: 0 0 24px;
	color: #242424;
	font-size: 19px;
	font-weight: 900;
}

.bg-calendar-edit-modal__head > strong {
	display: block;
	color: #e1394f;
	font-size: 12px;
	font-weight: 800;
}

.bg-calendar-accordion {
	display: grid;
	gap: 10px;
	padding: 0 48px 116px;
}

.bg-calendar-option,
.bg-calendar-option.is-open {
	border: 0;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .09);
}

.bg-calendar-option__toggle {
	min-height: 78px;
	padding: 18px 24px;
	background: #fff;
	color: #272727;
	outline: 0;
}

.bg-calendar-option__toggle:focus-visible {
	box-shadow: inset 0 0 0 2px #f1d900;
}

.bg-calendar-option__toggle strong {
	font-size: 16px;
	font-weight: 900;
}

.bg-calendar-option__toggle > b {
	color: #898989;
	font-size: 18px;
}

.bg-calendar-option__body {
	padding: 5px 24px 22px;
	border-top: 1px solid #f0f0f0;
}

.bg-calendar-option__body > p {
	margin: 14px 0 0;
	color: #686868;
	font-size: 11px;
	line-height: 2;
}

.bg-calendar-option__body > p b {
	color: #e33b4f;
}

.bg-calendar-choice-row {
	display: flex;
	justify-content: center;
	gap: 0;
	padding-top: 17px;
}

.bg-calendar-choice-row label + label span {
	border-right: 0;
}

.bg-calendar-choice-row span {
	min-width: 98px;
	padding: 10px 14px;
	border: 1px solid #ececec;
	border-radius: 0;
	background: #f7f7f7;
	color: #383838;
	font-size: 11px;
	font-weight: 700;
	box-shadow: none;
}

.bg-calendar-choice-row label:first-child span {
	border-radius: 0 18px 18px 0;
}

.bg-calendar-choice-row label:last-child span {
	border-radius: 18px 0 0 18px;
}

.bg-calendar-choice-row input:checked + span {
	border-color: #f1d900;
	background: #f1d900;
	color: #1f1f1f;
	box-shadow: none;
}

.bg-calendar-choice-row--instant {
	flex-wrap: wrap;
}

.bg-calendar-choice-row--instant span {
	min-width: 120px;
	border-radius: 18px !important;
	margin: 3px;
}

.bg-calendar-simple-field {
	display: grid;
	gap: 8px;
	margin-top: 17px;
}

.bg-calendar-simple-field > span {
	color: #363636;
	font-size: 12px;
	font-weight: 800;
}

.bg-calendar-simple-field > div {
	display: flex;
	align-items: center;
	min-height: 53px;
	padding: 0 15px;
	border: 1px solid #d4d4d4;
	border-radius: 6px;
	background: #fff;
}

.bg-calendar-simple-field input {
	min-width: 0;
	flex: 1;
	padding: 14px 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #222;
	font: 800 14px/1.4 inherit;
	direction: ltr;
	text-align: right;
}

.bg-calendar-simple-field input::placeholder {
	color: #969696;
	font-weight: 500;
}

.bg-calendar-simple-field b {
	color: #777;
	font-size: 11px;
}

.bg-calendar-edit-modal .bg-commission {
	display: none;
}

.bg-calendar-delete-rule,
.bg-calendar-reset-rule {
	min-height: 40px;
	margin-top: 16px;
	padding: 8px 15px;
	border: 1px dashed #5369c9;
	border-radius: 6px;
	background: #fff;
	color: #263eab;
	font: 700 11px/1.5 inherit;
	cursor: pointer;
}

.bg-calendar-delete-rule.is-selected {
	border-color: #df3a4f;
	background: #fff1f3;
	color: #c8233b;
}

.bg-calendar-reset-rule {
	border-color: #d3d3d3;
	color: #6c6c6c;
}

.bg-calendar-jajiga-stepper {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 12px;
	padding-top: 17px;
}

.bg-calendar-jajiga-stepper > button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #ebebeb;
	border-radius: 6px;
	background: #fff;
	color: #222;
	font: 500 26px/1 Arial, sans-serif;
	cursor: pointer;
}

.bg-calendar-jajiga-stepper > button:disabled {
	color: #d1d1d1;
	cursor: not-allowed;
}

.bg-calendar-jajiga-stepper > div {
	display: grid;
	gap: 7px;
	text-align: center;
}

.bg-calendar-jajiga-stepper strong {
	color: #333;
	font-size: 13px;
}

.bg-calendar-jajiga-stepper small {
	color: #777;
	font-size: 10px;
}

.bg-calendar-last-minute-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.bg-calendar-save-help {
	margin: -92px 48px 74px;
	color: #535353;
	font-size: 12px;
}

.bg-calendar-edit-modal__footer {
	position: sticky;
	bottom: 0;
	display: grid;
	grid-template-columns: 1fr 1.45fr;
	gap: 18px;
	padding: 16px 48px 20px;
	border-top: 1px solid #e3e3e3;
	background: #fff;
	backdrop-filter: none;
}

.bg-calendar-edit-modal__footer button {
	min-height: 50px;
	border-radius: 7px;
	background: #f4f4f4;
	color: #292929;
	font-size: 13px;
}

.bg-calendar-edit-modal__footer button[type="submit"] {
	background: #f1d900;
	color: #222;
	box-shadow: none;
}

.bg-calendar-edit-modal__footer button[type="submit"]:disabled {
	background: #f9efaa;
	color: #9d9352;
	cursor: not-allowed;
}

@keyframes bgCalendarDockUp {
	from { opacity: 0; transform: translate(-50%, 12px); }
	to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes bgCalendarDrawerIn {
	from { opacity: 0; transform: translateX(-24px); }
	to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 700px) {
	.bg-calendar-selection-dock {
		bottom: 76px;
		gap: 9px;
		padding: 9px;
	}

	.bg-calendar-selection-dock button {
		min-height: 46px;
		font-size: 12px;
	}

	.bg-calendar-edit-modal {
		padding-top: 0;
	}

	.bg-calendar-edit-modal__dialog {
		width: 100%;
		height: 100vh;
		max-height: 100vh;
		border-radius: 0;
	}

	.bg-calendar-edit-modal__head {
		min-height: 126px;
		padding: 28px 20px 18px;
	}

	.bg-calendar-edit-modal__head h3 {
		font-size: 17px;
	}

	.bg-calendar-accordion {
		padding: 0 12px 112px;
	}

	.bg-calendar-option__toggle {
		min-height: 66px;
		padding: 15px 17px;
	}

	.bg-calendar-option__toggle strong {
		font-size: 14px;
	}

	.bg-calendar-option__body {
		padding: 4px 16px 18px;
	}

	.bg-calendar-choice-row {
		overflow-x: auto;
		justify-content: flex-start;
		grid-template-columns: none;
	}

	.bg-calendar-choice-row span {
		min-width: 88px;
		white-space: nowrap;
	}

	.bg-calendar-last-minute-fields {
		grid-template-columns: 1fr;
	}

	.bg-calendar-save-help {
		margin: -88px 20px 72px;
	}

	.bg-calendar-edit-modal__footer {
		gap: 10px;
		padding: 12px;
	}
}

/* --------------------------------------------------------------------------
   Stay wizard: custom option groups, 40-image gallery and Persian prices
   -------------------------------------------------------------------------- */

.bg-wizard-upload-count {
	display: flex;
	align-items: center;
	min-height: 38px;
	margin: 11px 0 0;
	padding: 7px 12px;
	border: 1px solid rgba(99, 102, 241, .14);
	border-radius: 12px;
	background: #f8f9ff;
	color: #5f6b82;
	font-size: 10px;
	font-weight: 700;
}

.bg-wizard-kitchen-features {
	margin-top: 22px;
}

.bg-wizard-custom-features {
	margin: 12px 0 22px;
	padding: 13px;
	border: 1px solid rgba(148, 163, 184, .2);
	border-radius: 16px;
	background: linear-gradient(145deg, #fff, #fafbff);
}

.bg-wizard-custom-feature-list {
	display: grid;
	gap: 8px;
	margin-bottom: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bg-wizard-custom-feature-list:empty {
	display: none;
}

.bg-wizard-custom-feature {
	display: grid;
	min-height: 43px;
	align-items: center;
	gap: 6px;
	padding: 5px 7px 5px 5px;
	border: 1px solid #dfe4f2;
	border-radius: 12px;
	background: #fff;
	grid-template-columns: minmax(0, 1fr) 30px;
}

.bg-wizard-custom-feature label {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 7px;
	margin: 0;
	cursor: pointer;
}

.bg-wizard-custom-feature label input {
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: #4f46e5;
	flex: 0 0 15px;
}

.bg-wizard-custom-feature label span {
	overflow: hidden;
	color: #475569;
	font-size: 10px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-wizard-custom-feature > button {
	display: grid;
	width: 30px;
	height: 30px;
	min-height: 30px;
	margin: 0;
	padding: 0;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	background: #f8fafc;
	box-shadow: none;
	color: #64748b;
	font: 400 18px/1 Arial, sans-serif;
	place-items: center;
}

.bg-wizard-custom-feature > button:hover {
	border-color: #c7d2fe;
	background: #eef2ff;
	color: #4338ca;
}

.bg-wizard-custom-feature-adder {
	display: grid;
	gap: 9px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.bg-wizard-custom-feature-adder input {
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid #dfe4ef;
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	color: #1e293b;
	font: 500 11px/1.7 inherit;
	outline: 0;
}

.bg-wizard-custom-feature-adder input:focus {
	border-color: #818cf8;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

.bg-wizard-custom-feature-adder > button {
	min-height: 44px;
	margin: 0;
	padding: 9px 15px;
	border: 1px solid #c7d2fe;
	border-radius: 12px;
	background: #eef2ff;
	box-shadow: none;
	color: #4338ca;
	font: 800 10px/1.6 inherit;
	white-space: nowrap;
}

.bg-wizard-custom-feature-adder > button:hover {
	border-color: #818cf8;
	background: #e4e7ff;
}

.bg-wizard-custom-features > small {
	display: block;
	margin-top: 8px;
	color: #94a3b8;
	font-size: 9px;
	line-height: 1.8;
}

.bg-stay-wizard-form [data-price-display] {
	direction: rtl;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	text-align: right;
}

.bg-wizard-instant-booking {
	margin-top: 18px;
	border-color: rgba(99, 102, 241, .18);
	background: linear-gradient(145deg, #eef2ff, #fff);
}

.bg-wizard-instant-booking input {
	accent-color: #4f46e5;
}

@media (max-width: 900px) {
	.bg-wizard-custom-feature-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.bg-wizard-custom-feature-list {
		grid-template-columns: 1fr;
	}

	.bg-wizard-custom-feature-adder {
		grid-template-columns: 1fr;
	}

	.bg-wizard-custom-feature-adder > button {
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   Calendar editor — aligned with the Badgir panel design system
   These final, strongly-scoped rules isolate the modal from theme button/input styles.
   -------------------------------------------------------------------------- */

body .bg-calendar-selection-dock {
	grid-template-columns: .85fr 1.15fr;
	gap: 10px;
	width: min(500px, calc(100vw - 32px));
	padding: 10px;
	border: 1px solid rgba(99, 102, 241, .16);
	border-radius: 20px;
	background: rgba(255, 255, 255, .96) !important;
	box-shadow: 0 20px 55px rgba(49, 46, 129, .18), 0 3px 12px rgba(15, 23, 42, .08);
	backdrop-filter: blur(18px);
}

body .bg-calendar-selection-dock button,
body .bg-calendar-edit-modal button {
	appearance: none;
	margin: 0;
	border: 0 !important;
	font-family: Vazirmatn, Tahoma, sans-serif !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	text-transform: none !important;
}

body .bg-calendar-selection-dock button::before,
body .bg-calendar-selection-dock button::after,
body .bg-calendar-edit-modal button::before,
body .bg-calendar-edit-modal button::after {
	display: none !important;
}

body .bg-calendar-selection-dock .bg-calendar-selection-cancel {
	min-height: 50px;
	border: 1px solid #e2e8f0 !important;
	border-radius: 14px;
	background: #f8fafc !important;
	color: #475569 !important;
	box-shadow: none !important;
}

body .bg-calendar-selection-dock .bg-calendar-selection-edit {
	min-height: 50px;
	border-radius: 14px;
	background: linear-gradient(135deg, #6366f1, #4338ca) !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(67, 56, 202, .25) !important;
}

body .bg-calendar-selection-dock .bg-calendar-selection-edit:hover {
	background: linear-gradient(135deg, #5558e8, #3730a3) !important;
	transform: translateY(-1px);
}

body .bg-calendar-edit-modal {
	display: grid;
	place-items: center;
	place-content: center;
	padding: 24px;
	direction: rtl;
}

body .bg-calendar-edit-modal__backdrop {
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	background: rgba(15, 23, 42, .46) !important;
	backdrop-filter: blur(9px) saturate(.85);
	cursor: default;
}

body .bg-calendar-edit-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(700px, calc(100vw - 48px));
	height: auto;
	max-height: calc(100dvh - 48px);
	margin: 0;
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 35px 100px rgba(15, 23, 42, .3), 0 8px 30px rgba(49, 46, 129, .12);
	direction: rtl;
	animation: bgCalendarModalIn .24s cubic-bezier(.2, .75, .25, 1) both;
	scrollbar-color: #c7d2fe transparent;
	scrollbar-width: thin;
}

body .bg-calendar-edit-modal__head {
	position: sticky;
	top: 0;
	z-index: 8;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	min-height: 0;
	padding: 22px 24px 19px;
	border-bottom: 1px solid rgba(148, 163, 184, .2);
	background: rgba(255, 255, 255, .96) !important;
	backdrop-filter: blur(18px);
}

body .bg-calendar-edit-modal__head > div {
	min-width: 0;
}

body .bg-calendar-edit-modal__eyebrow {
	display: block;
	margin: 0 0 3px;
	color: #6366f1 !important;
	font-size: 10px;
	font-weight: 800;
}

body .bg-calendar-edit-modal__head h3 {
	margin: 0;
	color: #172033 !important;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.7;
}

body .bg-calendar-edit-modal__head > div > strong {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	margin-top: 8px;
	padding: 3px 10px;
	border: 1px solid #dfe3ff;
	border-radius: 999px;
	background: #eef2ff !important;
	color: #4338ca !important;
	font-size: 10px;
	font-weight: 800;
}

body .bg-calendar-edit-modal .bg-calendar-edit-modal__close {
	display: grid !important;
	place-items: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	min-height: 42px;
	padding: 0 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 14px;
	background: #f8fafc !important;
	color: #64748b !important;
	box-shadow: none !important;
	font: 400 25px/1 Arial, sans-serif !important;
}

body .bg-calendar-edit-modal .bg-calendar-edit-modal__close:hover {
	border-color: #c7d2fe !important;
	background: #eef2ff !important;
	color: #4338ca !important;
}

body .bg-calendar-edit-modal form {
	margin: 0;
	padding: 18px 0 0;
	background: linear-gradient(180deg, #fafbff 0%, #f7f8fe 100%);
}

body .bg-calendar-edit-modal .bg-calendar-accordion {
	display: grid;
	gap: 10px;
	padding: 0 20px 18px;
}

body .bg-calendar-edit-modal .bg-calendar-option,
body .bg-calendar-edit-modal .bg-calendar-option.is-open {
	overflow: hidden;
	border: 1px solid #e6e9f2 !important;
	border-radius: 17px;
	background: #fff !important;
	box-shadow: 0 5px 18px rgba(30, 41, 59, .045) !important;
}

body .bg-calendar-edit-modal .bg-calendar-option.is-open {
	border-color: #cfd5ff !important;
	box-shadow: 0 10px 28px rgba(67, 56, 202, .09) !important;
}

body .bg-calendar-edit-modal .bg-calendar-option__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 64px;
	padding: 14px 17px !important;
	border-radius: 0;
	background: #fff !important;
	color: #26324a !important;
	box-shadow: none !important;
	text-align: right;
}

body .bg-calendar-edit-modal .bg-calendar-option.is-open .bg-calendar-option__toggle {
	background: linear-gradient(90deg, #fff, #f7f7ff) !important;
}

body .bg-calendar-edit-modal .bg-calendar-option__toggle strong {
	color: #26324a !important;
	font-size: 13px;
	font-weight: 900;
}

body .bg-calendar-edit-modal .bg-calendar-option__toggle > b {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: #f1f5f9;
	color: #64748b !important;
	font-size: 16px;
}

body .bg-calendar-edit-modal .bg-calendar-option.is-open .bg-calendar-option__toggle > b {
	background: #e9eaff;
	color: #4338ca !important;
}

body .bg-calendar-edit-modal .bg-calendar-option__body {
	padding: 4px 17px 18px;
	border-top: 1px solid #eef0f6;
	background: #fff;
}

body .bg-calendar-edit-modal .bg-calendar-option__body > p,
body .bg-calendar-edit-modal .bg-calendar-option__body > p b {
	margin: 11px 2px 0;
	color: #718096 !important;
	font-size: 10px;
	font-weight: 500;
	line-height: 2;
}

body .bg-calendar-edit-modal .bg-calendar-choice-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	padding-top: 14px;
	overflow: visible;
}

body .bg-calendar-edit-modal .bg-calendar-choice-row--instant {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .bg-calendar-edit-modal .bg-calendar-choice-row label {
	margin: 0;
	border: 0 !important;
	background: transparent !important;
}

body .bg-calendar-edit-modal .bg-calendar-choice-row span,
body .bg-calendar-edit-modal .bg-calendar-choice-row--instant span {
	display: grid;
	place-items: center;
	min-width: 0;
	min-height: 42px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	background: #f8fafc !important;
	color: #64748b !important;
	box-shadow: none !important;
	font-size: 10px;
	font-weight: 700;
	text-align: center;
}

body .bg-calendar-edit-modal .bg-calendar-choice-row input:checked + span {
	border-color: #6366f1 !important;
	background: #eef2ff !important;
	color: #3730a3 !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, .1) !important;
}

body .bg-calendar-edit-modal .bg-calendar-simple-field {
	display: grid;
	gap: 7px;
	margin: 14px 0 0;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body .bg-calendar-edit-modal .bg-calendar-simple-field > span {
	color: #475569 !important;
	font-size: 11px;
	font-weight: 800;
}

body .bg-calendar-edit-modal .bg-calendar-simple-field > div {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 13px;
	border: 1px solid #dfe4ef !important;
	border-radius: 13px;
	background: #fff !important;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .025) !important;
	transition: border-color .18s ease, box-shadow .18s ease;
}

body .bg-calendar-edit-modal .bg-calendar-simple-field > div:focus-within {
	border-color: #818cf8 !important;
	box-shadow: 0 0 0 4px rgba(99, 102, 241, .1) !important;
}

body .bg-calendar-edit-modal .bg-calendar-simple-field input,
body .bg-calendar-edit-modal .bg-calendar-simple-field input:focus,
body .bg-calendar-edit-modal .bg-calendar-jajiga-stepper input {
	min-width: 0;
	margin: 0 !important;
	padding: 12px 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #1e293b !important;
	font: 800 13px/1.5 Vazirmatn, Tahoma, sans-serif !important;
}

body .bg-calendar-edit-modal .bg-calendar-simple-field input::placeholder {
	color: #a1aabd !important;
	opacity: 1;
	font-weight: 500;
}

body .bg-calendar-edit-modal .bg-calendar-simple-field b {
	color: #64748b !important;
	font-size: 10px;
	font-weight: 700;
}

body .bg-calendar-edit-modal .bg-calendar-delete-rule,
body .bg-calendar-edit-modal .bg-calendar-reset-rule {
	min-height: 38px;
	margin-top: 13px;
	padding: 7px 13px !important;
	border: 1px solid #d9def0 !important;
	border-radius: 11px;
	background: #f8f9ff !important;
	color: #5661b9 !important;
	box-shadow: none !important;
	font-size: 10px;
	font-weight: 800;
}

body .bg-calendar-edit-modal .bg-calendar-delete-rule:hover,
body .bg-calendar-edit-modal .bg-calendar-reset-rule:hover,
body .bg-calendar-edit-modal .bg-calendar-delete-rule.is-selected {
	border-color: #a5b4fc !important;
	background: #eef2ff !important;
	color: #3730a3 !important;
}

body .bg-calendar-edit-modal .bg-calendar-jajiga-stepper {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
}

body .bg-calendar-edit-modal .bg-calendar-jajiga-stepper > button {
	display: grid !important;
	place-items: center;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0 !important;
	border: 1px solid #dfe4ef !important;
	border-radius: 13px;
	background: #f8fafc !important;
	color: #4338ca !important;
	box-shadow: none !important;
	font: 700 21px/1 Arial, sans-serif !important;
}

body .bg-calendar-edit-modal .bg-calendar-jajiga-stepper > button:hover:not(:disabled) {
	border-color: #a5b4fc !important;
	background: #eef2ff !important;
}

body .bg-calendar-edit-modal .bg-calendar-jajiga-stepper > button:disabled {
	background: #f8fafc !important;
	color: #cbd5e1 !important;
	cursor: not-allowed;
}

body .bg-calendar-edit-modal .bg-calendar-jajiga-stepper > div {
	padding: 7px 12px;
	border: 1px solid #e8ebf3;
	border-radius: 14px;
	background: #fbfcff;
}

body .bg-calendar-edit-modal .bg-calendar-jajiga-stepper strong {
	color: #26324a !important;
	font-size: 12px;
}

body .bg-calendar-edit-modal .bg-calendar-jajiga-stepper small {
	color: #8490a5 !important;
	font-size: 9px;
}

body .bg-calendar-edit-modal .bg-calendar-last-minute-fields {
	gap: 10px;
}

body .bg-calendar-edit-modal .bg-calendar-save-help {
	margin: 0;
	padding: 0 22px 15px;
	color: #718096 !important;
	font-size: 10px;
}

body .bg-calendar-edit-modal__footer {
	position: sticky;
	bottom: 0;
	z-index: 8;
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 10px;
	padding: 14px 20px 18px;
	border-top: 1px solid rgba(148, 163, 184, .22);
	background: rgba(255, 255, 255, .97) !important;
	backdrop-filter: blur(18px);
}

body .bg-calendar-edit-modal__footer button {
	min-height: 48px;
	padding: 9px 15px !important;
	border-radius: 14px;
	font-size: 12px;
	font-weight: 800;
}

body .bg-calendar-edit-modal__footer button[type="button"] {
	border: 1px solid #e2e8f0 !important;
	background: #f8fafc !important;
	color: #475569 !important;
	box-shadow: none !important;
}

body .bg-calendar-edit-modal__footer button[type="submit"] {
	background: linear-gradient(135deg, #6366f1, #4338ca) !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(67, 56, 202, .22) !important;
}

body .bg-calendar-edit-modal__footer button[type="submit"]:disabled {
	background: #e7e9f5 !important;
	color: #9aa3b8 !important;
	box-shadow: none !important;
	cursor: not-allowed;
}

body .bg-calendar-edit-modal button:focus-visible,
body .bg-calendar-selection-dock button:focus-visible {
	outline: 3px solid rgba(99, 102, 241, .2) !important;
	outline-offset: 2px;
}

@keyframes bgCalendarModalIn {
	from { opacity: 0; transform: translateY(16px) scale(.975); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 700px) {
	body .bg-calendar-selection-dock {
		bottom: 76px;
		width: calc(100vw - 20px);
		padding: 8px;
		border-radius: 17px;
	}

	body .bg-calendar-edit-modal {
		place-items: center;
		padding: 8px;
	}

	body .bg-calendar-edit-modal__dialog {
		width: calc(100vw - 16px);
		height: auto;
		max-height: calc(100dvh - 16px);
		border-radius: 22px;
	}

	body .bg-calendar-edit-modal__head {
		padding: 17px 16px 15px;
	}

	body .bg-calendar-edit-modal__head h3 {
		font-size: 15px;
	}

	body .bg-calendar-edit-modal .bg-calendar-edit-modal__close {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
		min-height: 38px;
		border-radius: 12px;
	}

	body .bg-calendar-edit-modal .bg-calendar-accordion {
		padding: 0 10px 12px;
	}

	body .bg-calendar-edit-modal .bg-calendar-option__toggle {
		min-height: 58px;
		padding: 12px 14px !important;
	}

	body .bg-calendar-edit-modal .bg-calendar-choice-row,
	body .bg-calendar-edit-modal .bg-calendar-choice-row--instant {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body .bg-calendar-edit-modal .bg-calendar-choice-row label:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	body .bg-calendar-edit-modal .bg-calendar-last-minute-fields {
		grid-template-columns: 1fr;
	}

	body .bg-calendar-edit-modal__footer {
		padding: 10px;
	}
}

/* --------------------------------------------------------------------------
   Theme interaction isolation
   Hello Elementor applies a global pink background to every hovered/focused
   button. Keep all panel controls inside the Badgir indigo/slate palette and
   guarantee readable foreground colors without changing any form behavior.
   -------------------------------------------------------------------------- */

.bg-panel button:hover,
.bg-panel button:focus,
.bg-panel [type="button"]:hover,
.bg-panel [type="button"]:focus,
.bg-panel [type="submit"]:hover,
.bg-panel [type="submit"]:focus {
	color: #4338ca;
	border-color: #c7d2fe;
	background-color: #eef2ff;
}

.bg-panel .bg-primary,
.bg-panel .bg-primary:hover,
.bg-panel .bg-primary:focus,
.bg-panel .bg-primary:focus-visible,
.bg-panel .bg-wizard-next,
.bg-panel .bg-wizard-next:hover,
.bg-panel .bg-wizard-submit,
.bg-panel .bg-wizard-submit:hover {
	color: #fff !important;
	background-color: transparent !important;
}

.bg-panel .bg-icon-btn:hover,
.bg-panel .bg-icon-btn:focus-visible {
	color: #4338ca !important;
	border-color: rgba(99, 102, 241, .25) !important;
	background-color: #fff !important;
}

.bg-panel .bg-status:hover,
.bg-panel .bg-status:focus-visible {
	color: var(--status-color, #6366f1) !important;
	background-color: #fff !important;
}

.bg-panel .bg-welcome__actions .is-light:hover,
.bg-panel .bg-welcome__actions .is-light:focus-visible {
	color: #3730a3 !important;
	border-color: #fff !important;
	background-color: #fff !important;
}

.bg-panel .bg-welcome__actions .is-ghost:hover,
.bg-panel .bg-welcome__actions .is-ghost:focus-visible,
.bg-panel .bg-wizard-sidebar button:not(:disabled):hover,
.bg-panel .bg-wizard-sidebar button:not(:disabled):focus-visible {
	color: #fff !important;
	border-color: rgba(255, 255, 255, .32) !important;
	background-color: rgba(255, 255, 255, .1) !important;
}

.bg-panel .bg-wizard-prev:hover:not(:disabled),
.bg-panel .bg-wizard-prev:focus-visible:not(:disabled),
.bg-panel .bg-jalali-calendar-nav button:hover:not(:disabled),
.bg-panel .bg-jalali-calendar-nav button:focus-visible:not(:disabled),
.bg-panel .bg-wizard-location-button:hover,
.bg-panel .bg-wizard-location-button:focus-visible {
	color: #4338ca !important;
	border-color: #c7d2fe !important;
	background-color: #eef2ff !important;
}

.bg-panel .bg-real-stay__actions form button:hover,
.bg-panel .bg-real-stay__actions form button:focus-visible,
.bg-panel .bg-booking-actions .bg-danger:hover,
.bg-panel .bg-booking-actions .bg-danger:focus-visible {
	color: #9f1239 !important;
	border-color: #e2e8f0 !important;
	background-color: #f8fafc !important;
}

.bg-panel .bg-confirm-modal__cancel,
.bg-panel .bg-confirm-modal__cancel:hover,
.bg-panel .bg-confirm-modal__cancel:focus-visible {
	color: #475569 !important;
	border-color: #e2e8f0 !important;
	background-color: #fff !important;
}

.bg-panel .bg-confirm-modal__accept,
.bg-panel .bg-confirm-modal__accept:hover,
.bg-panel .bg-confirm-modal__accept:focus-visible {
	color: #fff !important;
	border-color: transparent !important;
	background-color: transparent !important;
	background-image: linear-gradient(135deg, #5b55ec, #3730a3) !important;
	box-shadow: 0 9px 20px rgba(67, 56, 202, .2) !important;
}
