@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

.cbb-booking-app,
.cbb-booking-app * {
	box-sizing: border-box;
	font-family: Vazir, Tahoma, sans-serif !important;
}

.cbb-booking-app {
	font-family: Vazir, Tahoma, sans-serif !important;
	--cbb-page: #f4f0ea;
	--cbb-paper: #ffffff;
	--cbb-ink: #080b0f;
	--cbb-muted: #77736d;
	--cbb-border: #ded8cf;
	--cbb-soft-border: #ece6dd;
	--cbb-green: #0a4d26;
	--cbb-deep-green: #064016;
	--cbb-submit: #124f45;
	--cbb-copper: #b55e2f;
	--cbb-gold: #d49a35;
	--cbb-disabled: #f3e9e0;
	--cbb-shadow: 0 18px 46px rgba(21, 18, 14, .08);
	direction: rtl;
	width: 100%;
	margin: 0;
	background: var(--cbb-page);
	color: var(--cbb-ink);
	font-family: inherit;
	text-align: right;
}

.cbb-topbar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	background: #6f6d68;
	color: #fff;
	padding: 6px 22px;
}

.cbb-brand {
	position: absolute;
	right: calc(50% + 255px);
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 118px;
}

.cbb-brand-dot {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #d5963a;
	color: #111;
	font-size: 12px;
	font-weight: 900;
}

.cbb-brand strong,
.cbb-brand small {
	display: block;
	line-height: 1.2;
}

.cbb-brand strong {
	font-size: 12px;
}

.cbb-brand small {
	color: rgba(255,255,255,.8);
	font-size: 10px;
}

.cbb-instagram {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 27px;
	border-radius: 999px;
	background: #fff;
	color: #151515;
	padding: 0 13px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 800;
	direction: ltr;
}

.cbb-page {
	width: min(100%, 760px);
	margin: 0 auto;
	padding: 54px 18px 72px;
}

.cbb-hero {
	text-align: center;
	margin-bottom: 26px;
}

.cbb-hero span {
	display: block;
	margin-bottom: 8px;
	color: var(--cbb-copper);
	font-size: 13px;
	font-weight: 900;
}

.cbb-hero h2 {
	margin: 0;
	color: #050505;
	font-size: 46px;
	font-weight: 950;
	line-height: 1.25;
	letter-spacing: 0;
}

.cbb-hero p {
	margin: 8px 0 0;
	color: #a4512a;
	font-size: 13px;
	font-weight: 900;
}

.cbb-form-card {
	width: min(100%, 430px);
	max-width: 430px;
	margin: 0 auto;
	background: var(--cbb-paper);
	border: 1px solid #eee8df;
	border-radius: 4px;
	box-shadow: var(--cbb-shadow);
	padding: 30px 28px 26px;
}

.cbb-form-section {
	width: 100%;
	max-width: 430px;
	margin: 0 auto;
}

.cbb-price-box,
.cbb-upload,
.cbb-note {
	width: 100%;
	max-width: 430px;
	margin: 0 auto;
}

.cbb-form-section {
	padding: 0 0 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--cbb-soft-border);
	opacity: 1;
	transform: none;
}

.cbb-form-section:last-of-type {
	margin-bottom: 14px;
}

.cbb-section-title {
	margin-bottom: 14px;
	text-align: right;
}

.cbb-section-title h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 950;
	color: #050505;
	line-height: 1.7;
}

.cbb-section-title p {
	margin: 2px 0 0;
	color: var(--cbb-muted);
	font-size: 11px;
	font-weight: 700;
}

.cbb-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.cbb-field--full {
	grid-column: 1 / -1;
}

.cbb-field span {
	display: block;
	margin-bottom: 7px;
	color: #111;
	font-size: 11px;
	font-weight: 900;
}

.cbb-field input,
.cbb-field textarea {
	width: 100%;
	min-height: 40px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	background: #fff;
	color: #111;
	padding: 0 11px;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.cbb-field textarea {
	resize: none;
	min-height: 120px;
	line-height: 1.5;
}

.cbb-field input::placeholder,
.cbb-field textarea::placeholder {
	color: #a4a8b1;
}

.cbb-field input:focus {
	border-color: #b96c41;
	box-shadow: 0 0 0 3px rgba(181, 94, 47, .12);
}

.cbb-date-slider {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(84px, 1fr);
	gap: 10px;
	overflow-x: auto;
	padding: 2px 0 7px;
	scroll-snap-type: x mandatory;
}

.cbb-day-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 54px;
	border: 1px solid #dadada;
	border-radius: 4px;
	background: #fff;
	color: #111;
	padding: 8px 10px;
	font: inherit;
	text-align: right;
	scroll-snap-align: start;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.cbb-day-card:hover:not(:disabled),
.cbb-day-card.is-selected {
	border-color: #b8734d;
	background: #fff7f1;
	transform: translateY(-1px);
}

.cbb-day-card:disabled {
	background: var(--cbb-disabled);
	border-color: #e0cfc3;
	color: #b7a294;
	cursor: not-allowed;
}

.cbb-day-week,
.cbb-day-card small {
	color: #8a8d95;
	font-size: 10px;
	font-weight: 900;
	line-height: 1.5;
}

.cbb-day-card strong {
	color: #111827;
	font-size: 14px;
	font-weight: 950;
	line-height: 1.5;
}

.cbb-day-card small {
	color: var(--cbb-copper);
}

.cbb-day-full small,
.cbb-day-closed small {
	color: #c8aaa0;
}

.cbb-payment-section {
	border-bottom: 0;
	padding-bottom: 0;
}

.cbb-slot-block {
	min-height: 250px;
	text-align: center;
}

.cbb-slot-block h4,
.cbb-card-area h4 {
	margin: 0 0 12px;
	color: #050505;
	font-size: 13px;
	font-weight: 950;
	text-align: right;
}

.cbb-slot-status {
	display: grid;
	place-items: center;
	gap: 5px;
	max-width: 118px;
	margin: 44px auto 12px;
	color: #1e293b;
	font-size: 12px;
	line-height: 1.55;
}

.cbb-slot-status strong {
	font-size: 13px;
	font-weight: 950;
}

.cbb-slot-status small {
	color: #77736d;
	font-size: 11px;
	font-weight: 700;
}

.cbb-calendar-icon {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	color: #e44d64;
	font-size: 20px;
	line-height: 1;
}

.cbb-time-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
	margin: 12px 0 22px;
}

.cbb-time-slot {
	min-height: 38px;
	border: 1px solid #d7d7d7;
	border-radius: 4px;
	background: #fff;
	color: #111827;
	font: inherit;
	font-size: 12px;
	font-weight: 950;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.cbb-time-slot:hover:not(:disabled),
.cbb-time-slot.is-selected {
	border-color: var(--cbb-submit);
	background: var(--cbb-submit);
	color: #fff;
}

.cbb-time-slot:disabled {
	opacity: .45;
	cursor: not-allowed;
	text-decoration: line-through;
}

.cbb-service-picker {
	margin: 10px 0 16px;
}

.cbb-service-picker > p {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	color: #4b453f;
}

.cbb-service-list {
	display: grid;
	gap: 10px;
}

.cbb-service-card {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 13px;
	border: 1px solid #e3dfd9;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.cbb-service-card:hover,
.cbb-service-card:has(input:checked) {
	border-color: var(--cbb-submit);
	box-shadow: 0 10px 20px rgba(18, 79, 69, .08);
}

.cbb-service-card input {
	margin-top: 3px;
	accent-color: var(--cbb-submit);
}

.cbb-service-meta {
	display: grid;
	gap: 3px;
}

.cbb-service-meta strong {
	font-size: 13px;
	font-weight: 900;
	color: #161616;
}

.cbb-service-meta span,
.cbb-service-meta small {
	font-size: 11px;
	font-weight: 700;
	color: #6f685f;
}

.cbb-service-summary {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	align-items: center;
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f7efe8;
	color: #5a4634;
	font-size: 12px;
	font-weight: 800;
}

.cbb-service-summary b {
	color: var(--cbb-submit);
}

.cbb-card-area {
	margin-top: 8px;
	text-align: center;
}

.cbb-card-area h4 {
	text-align: center;
	color: #064035;
	font-size: 12px;
}

.cbb-bank-card {
	position: relative;
	overflow: hidden;
	width: 252px;
	min-height: 147px;
	margin: 0 auto;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--cbb-card-accent) 0%, var(--cbb-card-bg) 84%);
	box-shadow: 0 17px 35px rgba(5, 46, 22, .18);
	padding: 18px;
	color: #fff;
}

.cbb-bank-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(255,255,255,.12), transparent 34%, rgba(255,255,255,.06) 64%, transparent);
	pointer-events: none;
}

.cbb-bank-card-top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.cbb-bank-logo {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid var(--cbb-card-accent);
	color: var(--cbb-gold);
	font-size: 15px;
}

.cbb-bank-card-top i {
	width: 31px;
	height: 25px;
	border-radius: 5px;
	background: linear-gradient(135deg, #e7bd49, #c98b1f);
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.17);
}

.cbb-card-number {
	position: relative;
	z-index: 1;
	margin-top: 35px;
	color: #fff;
	font-size: 17px;
	font-weight: 950;
	letter-spacing: 1.4px;
	direction: ltr;
	text-align: center;
}

.cbb-card-holder {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-top: 29px;
}

.cbb-card-holder strong,
.cbb-card-holder span {
	color: #fff;
	font-size: 10px;
	font-weight: 950;
}

.cbb-card-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	width: min(100%, 245px);
	margin: 10px auto 14px;
}

.cbb-copy-btn,
.cbb-card-preview-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 34px;
	border-radius: 999px;
	font: inherit;
	font-size: 12px;
	font-weight: 950;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}

.cbb-copy-btn {
	border: 0;
	background: #111;
	color: #fff;
}

.cbb-card-preview-btn {
	border: 1px solid var(--cbb-card-accent);
	background: #fff;
	color: var(--cbb-card-accent);
}

.cbb-copy-btn:hover,
.cbb-card-preview-btn:hover {
	transform: translateY(-1px);
}

.cbb-copy-icon {
	position: relative;
	width: 14px;
	height: 14px;
	border: 1.6px solid currentColor;
	border-radius: 3px;
}

.cbb-copy-icon::after {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	border: 1.6px solid currentColor;
	border-radius: 3px;
	right: 4px;
	bottom: 4px;
}

.cbb-copy-btn em {
	position: absolute;
	top: -32px;
	right: 50%;
	transform: translateX(50%) translateY(6px);
	opacity: 0;
	pointer-events: none;
	border-radius: 999px;
	background: #111;
	color: #fff;
	padding: 5px 9px;
	font-size: 11px;
	font-style: normal;
	transition: opacity .18s ease, transform .18s ease;
	white-space: nowrap;
}

.cbb-copy-btn.is-copied em {
	opacity: 1;
	transform: translateX(50%) translateY(0);
}

.cbb-price-box {
	border-top: 1px solid var(--cbb-soft-border);
	margin: 8px auto 0;
	max-width: 430px;
	padding-top: 8px;
	width: 100%;
}

.cbb-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 34px;
	border-bottom: 1px solid var(--cbb-soft-border);
	font-size: 12px;
}

.cbb-price-row span {
	color: #1f2937;
}

.cbb-price-row strong {
	color: #111;
	font-weight: 950;
	white-space: nowrap;
}

.cbb-rial-box {
	display: grid;
	gap: 8px;
	border: 1px solid #c4cfca;
	border-radius: 4px;
	background: #eef3f0;
	margin: 9px auto 10px;
	padding: 10px;
	max-width: 430px;
	width: 100%;
}

.cbb-rial-box div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cbb-rial-box span {
	color: #1f2937;
	font-size: 11px;
	font-weight: 900;
}

.cbb-rial-box strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	border-radius: 999px;
	background: var(--cbb-submit);
	color: #fff;
	padding: 0 10px;
	font-size: 11px;
	font-weight: 950;
}

.cbb-rial-box small {
	color: #6b7280;
	font-size: 10px;
	font-weight: 700;
	text-align: center;
}

.cbb-note {
	margin: 0 auto 12px;
	max-width: 430px;
	color: #7a746d;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.9;
	text-align: center;
}

.cbb-upload {
	position: relative;
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	align-items: center;
	column-gap: 10px;
	min-height: 63px;
	border: 1px dashed #b7b7b7;
	border-radius: 4px;
	background: #fff;
	padding: 11px 13px;
	text-align: right;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease;
	max-width: 430px;
	margin: 0 auto;
	width: 100%;
}

.cbb-upload.is-dragging {
	border-color: var(--cbb-submit);
	background: #f4faf7;
}

.cbb-upload input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.cbb-upload-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #d5963a;
	position: relative;
	grid-row: span 3;
}

.cbb-upload-icon::before {
	content: "↥";
	color: #111;
	font-size: 24px;
	font-weight: 950;
	line-height: 1;
}

.cbb-upload strong {
	color: #111;
	font-size: 12px;
	font-weight: 950;
	line-height: 1.5;
}

.cbb-upload small,
.cbb-upload-preview {
	display: block;
	color: #9a938b;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.6;
}

.cbb-upload-preview {
	color: var(--cbb-submit);
	font-weight: 950;
	word-break: break-word;
}

.cbb-submit-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	min-width: 260px;
	padding: 0 32px;
	min-height: 47px;
	border: 0;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--cbb-submit) 0%, #0a7a4f 100%);
	color: var(--cbb-button-text);
	font: inherit;
	font-size: 13px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: .04em;
	cursor: pointer;
	box-shadow: 0 18px 30px rgba(18, 79, 69, .28);
	transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
	margin: 24px auto 0;
	display: inline-flex;
}

.cbb-submit-btn:hover,
.cbb-submit-btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 20px 34px rgba(18, 79, 69, .32);
	opacity: 1;
}

.cbb-submit-container {
	text-align: center;
	width: 100%;
	max-width: 430px;
	margin: 0 auto;
}

.cbb-submit-btn:hover {
	transform: translateY(-1px);
}

.cbb-submit-btn:disabled {
	opacity: .72;
	cursor: wait;
}

.cbb-submit-arrow {
	font-size: 17px;
	line-height: 1;
}

.cbb-alert {
	display: none;
	margin-bottom: 14px;
	border-radius: 4px;
	padding: 10px 12px;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.8;
}

.cbb-alert.is-visible {
	display: block;
}

.cbb-alert.is-success {
	background: #e7f8ef;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.cbb-alert.is-error {
	background: #fff1f2;
	color: #9f1239;
	border: 1px solid #fecdd3;
}

.cbb-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: cbb-spin .75s linear infinite;
}

.cbb-submit-btn.is-loading .cbb-spinner {
	display: inline-block;
}

@keyframes cbb-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 900px) {
	.cbb-brand {
		right: 22px;
	}

	.cbb-page {
		padding-top: 46px;
	}
}

@media (max-width: 560px) {
	.cbb-topbar {
		min-height: 38px;
		justify-content: flex-end;
		padding: 5px 12px;
	}

	.cbb-brand {
		position: static;
		margin-right: auto;
	}

	.cbb-instagram {
		display: none;
	}

	.cbb-page {
		padding: 0 18px 0;
	}

	.cbb-hero {
		display: none;
	}

	.cbb-form-card {
		max-width: 390px;
		min-height: 100vh;
		border-radius: 0;
		border-top: 0;
		border-bottom: 0;
		box-shadow: none;
		padding: 24px 15px 24px;
	}

	.cbb-fields {
		grid-template-columns: 1fr;
	}

	.cbb-date-slider {
		grid-auto-columns: minmax(88px, 33%);
	}

	.cbb-slot-block {
		min-height: 210px;
	}

	.cbb-slot-status {
		margin-top: 34px;
	}

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

	.cbb-bank-card {
		width: min(252px, 100%);
	}

	.cbb-card-actions {
		width: min(245px, 100%);
	}
}
