/**
 * Alaa Booking System — public widget styles.
 *
 * Arabic-first, RTL, mobile-first. Deliberately scoped under .alaa-booking so
 * nothing leaks into the theme and the theme leaks as little as possible in.
 */

.alaa-booking {
	--alaa-navy: #14213D;
	--alaa-navy-soft: #24324F;
	--alaa-ink: #1B2437;
	--alaa-muted: #6B7590;
	--alaa-line: #E6E3DC;
	--alaa-offwhite: #FAF8F5;
	--alaa-white: #FFFFFF;
	--alaa-accent: #E8804A;
	--alaa-accent-soft: #FDF0E8;
	--alaa-danger: #C2452F;
	--alaa-success: #2E7D63;
	--alaa-radius-lg: 22px;
	--alaa-radius: 14px;
	--alaa-radius-sm: 10px;
	--alaa-shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 12px 32px -12px rgba(20, 33, 61, .14);

	direction: rtl;
	text-align: right;
	font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
	color: var(--alaa-ink);
	font-size: 15px;
	line-height: 1.7;
	max-width: 960px;
	margin-inline: auto;
	-webkit-font-smoothing: antialiased;
}

.alaa-booking *,
.alaa-booking *::before,
.alaa-booking *::after {
	box-sizing: border-box;
}

/**
 * The `hidden` attribute must always win.
 *
 * `hidden` works through a user-agent `display: none` rule, which ANY author
 * `display` declaration overrides — so an element with `display: flex` and
 * `hidden` stays visible. Every panel, overlay and conditional row in this
 * widget is toggled with `el.hidden`, so this one rule is load-bearing.
 */
.alaa-booking [hidden] {
	display: none !important;
}

/**
 * Neutralise the theme's own form styling.
 *
 * WordPress themes routinely style bare `label`, `input` and `select` with
 * their own padding, margins and line-height. Inside this widget every one of
 * those elements is positioned by the rules below, so an inherited margin or
 * a line-height of 2.4 silently inflates a one-line option into an 85px box.
 * Reset once here rather than fighting it rule by rule.
 */
.alaa-booking label {
	margin: 0;
	padding: 0;
	line-height: 1.6;
	display: block;
	max-width: none;
	width: auto;
	float: none;
	text-transform: none;
	letter-spacing: normal;
}

.alaa-booking input,
.alaa-booking select,
.alaa-booking textarea,
.alaa-booking button {
	margin: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
}

/* ---------------------------------------------------------------- Layout */

.alaa-card {
	display: grid;
	grid-template-columns: 1fr;
	background: var(--alaa-white);
	border: 1px solid var(--alaa-line);
	border-radius: var(--alaa-radius-lg);
	box-shadow: var(--alaa-shadow);
	overflow: hidden;
}

@media (min-width: 820px) {
	.alaa-card {
		grid-template-columns: 300px 1fr;
	}

	.alaa-card--single {
		grid-template-columns: 1fr;
	}
}

.alaa-summary {
	background: var(--alaa-offwhite);
	border-bottom: 1px solid var(--alaa-line);
}

@media (min-width: 820px) {
	.alaa-summary {
		border-bottom: 0;
		border-inline-start: 1px solid var(--alaa-line);
	}
}

/* -------------------------------------------------- Collapsible summary */

/**
 * On a phone the meeting summary used to occupy the entire first screen, so
 * the visitor had to scroll before seeing a single date. It is now one
 * tappable row that expands on demand; on desktop the toggle disappears and
 * the full panel is always shown.
 */
.alaa-summary__toggle {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 16px;
	background: none;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	text-align: right;
	color: inherit;
}

.alaa-summary__toggle-main {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.alaa-summary__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.alaa-summary__toggle-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.alaa-summary__toggle-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--alaa-navy);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.alaa-summary__toggle-meta {
	font-size: 12.5px;
	color: var(--alaa-muted);
}

.alaa-summary__chevron svg {
	width: 18px;
	height: 18px;
	color: var(--alaa-muted);
	transition: transform .2s ease;
	display: block;
}

.alaa-summary__toggle[aria-expanded="true"] .alaa-summary__chevron svg {
	transform: rotate(180deg);
}

.alaa-summary__body {
	padding: 0 16px 16px;
}

@media (min-width: 820px) {
	.alaa-summary__toggle {
		display: none;
	}

	.alaa-summary__body {
		display: block !important;
		padding: 26px 24px;
	}
}

.alaa-summary__logo {
	max-width: 120px;
	height: auto;
	margin-bottom: 14px;
	border-radius: var(--alaa-radius-sm);
}

.alaa-summary__brand {
	margin: 0 0 4px;
	font-size: 13px;
	color: var(--alaa-muted);
	letter-spacing: .01em;
}

.alaa-summary__title {
	margin: 0 0 16px;
	font-size: 21px;
	font-weight: 700;
	color: var(--alaa-navy);
	line-height: 1.45;
}

.alaa-summary__meta {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.alaa-summary__meta li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 14px;
	color: var(--alaa-navy-soft);
	font-weight: 600;
}

.alaa-summary__desc,
.alaa-summary__note {
	margin: 0 0 8px;
	font-size: 13.5px;
	color: var(--alaa-muted);
	line-height: 1.75;
}

.alaa-icon svg {
	width: 18px;
	height: 18px;
	display: block;
	stroke-linecap: round;
	stroke-linejoin: round;
	color: var(--alaa-accent);
}

.alaa-panel {
	padding: 16px 14px 22px;
	min-width: 0;
}

@media (min-width: 560px) {
	.alaa-panel {
		padding: 22px 20px 26px;
	}
}

@media (min-width: 820px) {
	.alaa-panel {
		padding: 28px 30px 32px;
	}
}

/* ------------------------------------------------------------ Step rail */

/**
 * Numbered rail instead of wrapping pills.
 *
 * The old pills were a flex-wrap row of variable-width chips; at 360px the
 * third one dropped to its own line and the group looked broken. Three equal
 * columns can never wrap, the numbers give the visitor a sense of how short
 * the flow is, and the fill bar makes progress feel earned.
 */
.alaa-progress {
	margin: 0 0 18px;
}

.alaa-rail {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}

.alaa-rail__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	min-width: 0;
}

.alaa-rail__dot {
	position: relative;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--alaa-offwhite);
	border: 1.5px solid var(--alaa-line);
	color: var(--alaa-muted);
	font-size: 12.5px;
	font-weight: 700;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.alaa-rail__check {
	display: none;
}

.alaa-rail__check svg {
	width: 13px;
	height: 13px;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.alaa-rail__label {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--alaa-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.alaa-rail__item.is-active .alaa-rail__dot {
	background: var(--alaa-accent);
	border-color: var(--alaa-accent);
	color: #fff;
}

.alaa-rail__item.is-active .alaa-rail__label {
	color: var(--alaa-navy);
}

.alaa-rail__item.is-done .alaa-rail__dot {
	background: var(--alaa-success);
	border-color: var(--alaa-success);
	color: #fff;
}

.alaa-rail__item.is-done .alaa-rail__num {
	display: none;
}

.alaa-rail__item.is-done .alaa-rail__check {
	display: block;
}

.alaa-rail__track {
	height: 3px;
	border-radius: 999px;
	background: var(--alaa-line);
	overflow: hidden;
}

.alaa-rail__fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: var(--alaa-accent);
	transition: width .35s cubic-bezier(.4, 0, .2, 1);
}

.alaa-step__title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: var(--alaa-navy);
	line-height: 1.5;
}

/* Motivational line — only ever shows a real, computed count. */
.alaa-nudge {
	margin: -6px 0 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--alaa-accent);
	display: flex;
	align-items: center;
	gap: 6px;
}

/* The chosen slot, pinned above the form. */
.alaa-chosen {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 13px;
	margin: 0 0 16px;
	border-radius: var(--alaa-radius);
	background: var(--alaa-accent-soft);
	border: 1px solid rgba(232, 128, 74, .25);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--alaa-navy);
}

.alaa-chosen__text {
	flex: 1;
	min-width: 0;
}

.alaa-chosen__change {
	appearance: none;
	background: none;
	border: 0;
	padding: 4px 6px;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--alaa-accent);
	cursor: pointer;
	text-decoration: underline;
	flex: 0 0 auto;
}

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

.alaa-calendar {
	position: relative;
	border: 1px solid var(--alaa-line);
	border-radius: var(--alaa-radius);
	padding: 14px;
	background: var(--alaa-white);
}

.alaa-calendar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.alaa-calendar__title {
	font-weight: 700;
	color: var(--alaa-navy);
	font-size: 15.5px;
}

.alaa-navbtn {
	appearance: none;
	border: 1px solid var(--alaa-line);
	background: var(--alaa-white);
	border-radius: var(--alaa-radius-sm);
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--alaa-navy);
	transition: background .15s ease, border-color .15s ease, opacity .15s ease;
	padding: 0;
}

.alaa-navbtn svg {
	width: 18px;
	height: 18px;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.alaa-navbtn:hover:not(:disabled) {
	background: var(--alaa-offwhite);
	border-color: #D8D3C9;
}

.alaa-navbtn:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.alaa-calendar__weekdays,
.alaa-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

.alaa-calendar__weekdays {
	margin-bottom: 6px;
}

.alaa-calendar__weekdays span {
	text-align: center;
	font-size: 11px;
	color: var(--alaa-muted);
	font-weight: 600;
	padding: 4px 0;
	/* Seven columns on a 360px screen leave ~44px each. Anything that does
	   not fit is clipped rather than wrapped mid-word. */
	overflow: hidden;
	white-space: nowrap;
	text-overflow: clip;
	line-height: 1.4;
}

@media (min-width: 420px) {
	.alaa-calendar__weekdays span {
		font-size: 12px;
	}
}

.alaa-day {
	appearance: none;
	border: 1px solid transparent;
	background: var(--alaa-offwhite);
	border-radius: var(--alaa-radius-sm);
	aspect-ratio: 1 / 1;
	/* 44px is the smallest reliably tappable target. */
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--alaa-navy);
	cursor: pointer;
	padding: 0;
	font-family: inherit;
	transition: background .14s ease, color .14s ease, border-color .14s ease, transform .14s ease;
}

.alaa-day:hover:not(:disabled) {
	background: var(--alaa-accent-soft);
	border-color: rgba(232, 128, 74, .35);
}

/* Visible focus for keyboard users on every interactive element. */
.alaa-booking :focus-visible {
	outline: 2px solid var(--alaa-accent);
	outline-offset: 2px;
	border-radius: 6px;
}

/* Programmatic focus on a heading after a step change should not draw a ring. */
.alaa-step__title:focus,
.alaa-success__title:focus {
	outline: none;
}

.alaa-day:disabled,
.alaa-day.is-empty {
	background: transparent;
	color: #C4C8D2;
	cursor: not-allowed;
	border-color: transparent;
}

.alaa-day.is-selected {
	background: var(--alaa-accent);
	color: #fff;
	border-color: var(--alaa-accent);
}

.alaa-day.is-today:not(.is-selected)::after {
	content: "";
	position: absolute;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--alaa-accent);
	transform: translateY(12px);
}

.alaa-day.is-today {
	position: relative;
}

.alaa-calendar__loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .72);
	border-radius: var(--alaa-radius);
}

/* ------------------------------------------------------------- Timezone */

.alaa-tzbar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding: 10px 12px;
	background: var(--alaa-offwhite);
	border-radius: var(--alaa-radius-sm);
	border: 1px solid var(--alaa-line);
}

.alaa-tzselect {
	flex: 1;
	appearance: none;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 13.5px;
	color: var(--alaa-navy);
	font-weight: 600;
	cursor: pointer;
	padding: 2px 0;
	min-width: 0;
	direction: ltr;
	text-align: right;
}

.alaa-tzselect:focus {
	outline: 2px solid rgba(232, 128, 74, .4);
	outline-offset: 3px;
	border-radius: 6px;
}

/* ---------------------------------------------------------------- Slots */

.alaa-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 8px;
	margin-top: 4px;
}

@media (min-width: 560px) {
	.alaa-slots {
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	}
}

.alaa-slot {
	appearance: none;
	border: 1px solid var(--alaa-line);
	background: var(--alaa-white);
	border-radius: var(--alaa-radius-sm);
	padding: 13px 8px;
	min-height: 48px;
	font-size: 15px;
	font-weight: 700;
	color: var(--alaa-navy);
	cursor: pointer;
	font-family: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	transition: background .14s ease, border-color .14s ease, color .14s ease, transform .1s ease;
}

.alaa-slot:active {
	transform: scale(.97);
}

.alaa-slot small {
	font-size: 10.5px;
	font-weight: 600;
	opacity: .7;
}

.alaa-slot:hover {
	border-color: var(--alaa-accent);
	background: var(--alaa-accent-soft);
	color: var(--alaa-accent);
}

.alaa-slot.is-selected {
	background: var(--alaa-accent);
	border-color: var(--alaa-accent);
	color: #fff;
}

/* ----------------------------------------------------------------- Form */

.alaa-form {
	display: grid;
	gap: 14px;
	margin-top: 4px;
}

.alaa-field {
	display: grid;
	gap: 6px;
}

.alaa-field label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--alaa-navy);
}

.alaa-field .alaa-req {
	color: var(--alaa-accent);
	margin-inline-start: 2px;
}

.alaa-field input,
.alaa-field textarea {
	width: 100%;
	font-family: inherit;
	/* 16px keeps iOS Safari from zooming the page on focus. */
	font-size: 16px;
	color: var(--alaa-ink);
	background: var(--alaa-white);
	border: 1px solid var(--alaa-line);
	border-radius: var(--alaa-radius-sm);
	padding: 11px 13px;
	min-height: 46px;
	transition: border-color .15s ease, box-shadow .15s ease;
	line-height: 1.6;
}

@media (min-width: 560px) {
	.alaa-field input,
	.alaa-field textarea {
		font-size: 15px;
	}
}

.alaa-field textarea {
	min-height: 96px;
	resize: vertical;
}

.alaa-field input:focus,
.alaa-field textarea:focus {
	outline: none;
	border-color: var(--alaa-accent);
	box-shadow: 0 0 0 3px rgba(232, 128, 74, .16);
}

.alaa-field.has-error input,
.alaa-field.has-error textarea {
	border-color: var(--alaa-danger);
}

.alaa-field__error {
	font-size: 12.5px;
	color: var(--alaa-danger);
	margin: 0;
}

/* Honeypot — visually and semantically out of the way, never display:none
   so that naive bots still see a fillable field. */
.alaa-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* -------------------------------------------------------------- Buttons */

.alaa-submit {
	appearance: none;
	border: 0;
	width: 100%;
	background: var(--alaa-navy);
	color: #fff;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 700;
	padding: 14px 18px;
	border-radius: var(--alaa-radius);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: background .15s ease, transform .1s ease, opacity .15s ease;
	margin-top: 4px;
}

.alaa-submit:hover:not(:disabled) {
	background: #0E1932;
}

.alaa-submit:active:not(:disabled) {
	transform: translateY(1px);
}

.alaa-submit:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.alaa-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: var(--alaa-radius-sm);
	padding: 10px 16px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	border: 1px solid var(--alaa-line);
	background: var(--alaa-white);
	color: var(--alaa-navy);
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.alaa-btn:hover {
	background: var(--alaa-offwhite);
	border-color: #D8D3C9;
	color: var(--alaa-navy);
}

.alaa-btn--primary {
	background: var(--alaa-accent);
	border-color: var(--alaa-accent);
	color: #fff;
}

.alaa-btn--primary:hover {
	background: #DC7440;
	border-color: #DC7440;
	color: #fff;
}

.alaa-btn--danger {
	color: var(--alaa-danger);
	border-color: rgba(194, 69, 47, .3);
}

.alaa-btn--danger:hover {
	background: #FCF0EE;
	border-color: rgba(194, 69, 47, .5);
	color: var(--alaa-danger);
}

.alaa-back {
	appearance: none;
	background: none;
	border: 0;
	padding: 0 0 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--alaa-muted);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.alaa-back:hover {
	color: var(--alaa-navy);
}

.alaa-back svg {
	width: 16px;
	height: 16px;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* -------------------------------------------------------------- Success */

.alaa-success {
	text-align: center;
}

.alaa-success__check {
	width: 56px;
	height: 56px;
	margin: 4px auto 14px;
	border-radius: 50%;
	background: #E8F3EE;
	color: var(--alaa-success);
	display: flex;
	align-items: center;
	justify-content: center;
}

.alaa-success__check svg {
	width: 28px;
	height: 28px;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.alaa-success__title {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: var(--alaa-navy);
}

.alaa-success__sub {
	margin: 0 0 20px;
	color: var(--alaa-muted);
	font-size: 14px;
}

.alaa-details {
	margin: 0 0 20px;
	display: grid;
	gap: 0;
	text-align: right;
	border: 1px solid var(--alaa-line);
	border-radius: var(--alaa-radius);
	overflow: hidden;
}

.alaa-details > div {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 14px;
	padding: 11px 14px;
	border-bottom: 1px solid var(--alaa-line);
	background: var(--alaa-white);
}

.alaa-details > div:last-child {
	border-bottom: 0;
}

.alaa-details dt {
	margin: 0;
	font-size: 13px;
	color: var(--alaa-muted);
	font-weight: 600;
	flex: 0 0 auto;
}

.alaa-details dd {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--alaa-navy);
	text-align: left;
	word-break: break-word;
	min-width: 0;
}

.alaa-details dd a {
	color: var(--alaa-accent);
}

.alaa-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

/* --------------------------------------------------------------- States */

.alaa-alert {
	padding: 11px 14px;
	border-radius: var(--alaa-radius-sm);
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 16px;
	background: #FCF0EE;
	color: var(--alaa-danger);
	border: 1px solid rgba(194, 69, 47, .22);
}

.alaa-alert--success {
	background: #E8F3EE;
	color: var(--alaa-success);
	border-color: rgba(46, 125, 99, .22);
}

.alaa-empty {
	margin: 14px 0 0;
	padding: 20px 16px;
	text-align: center;
	color: var(--alaa-muted);
	background: var(--alaa-offwhite);
	border-radius: var(--alaa-radius-sm);
	font-size: 14px;
	display: grid;
	gap: 12px;
	justify-items: center;
}

.alaa-empty p {
	margin: 0;
}

.alaa-fineprint {
	margin: 2px 0 0;
	font-size: 12px;
	color: var(--alaa-muted);
	text-align: center;
}

.alaa-spinner {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid rgba(20, 33, 61, .15);
	border-top-color: var(--alaa-accent);
	animation: alaa-spin .7s linear infinite;
	display: inline-block;
}

.alaa-spinner--btn {
	width: 16px;
	height: 16px;
	border-color: rgba(255, 255, 255, .35);
	border-top-color: #fff;
}

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

@media (prefers-reduced-motion: reduce) {
	.alaa-spinner {
		animation-duration: 2s;
	}

	.alaa-day,
	.alaa-slot,
	.alaa-submit,
	.alaa-btn {
		transition: none;
	}
}

.alaa-booking-notice {
	padding: 14px 16px;
	border-radius: 12px;
	background: #FCF0EE;
	color: #C2452F;
	font-family: system-ui, sans-serif;
	direction: rtl;
	text-align: right;
}

/* ----------------------------------------------------- Popup / trigger */

.alaa-trigger-wrap {
	display: inline-block;
	direction: rtl;
}

.alaa-trigger {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: 0;
	background: #14213D;
	color: #fff;
	font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
	font-size: 15.5px;
	font-weight: 700;
	padding: 14px 26px;
	border-radius: 14px;
	cursor: pointer;
	line-height: 1.5;
	transition: background .15s ease, transform .1s ease;
}

.alaa-trigger:hover {
	background: #0E1932;
}

.alaa-trigger:active {
	transform: translateY(1px);
}

.alaa-trigger .alaa-icon svg {
	width: 19px;
	height: 19px;
	color: #E8804A;
}

.alaa-booking--popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	max-width: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	.alaa-booking--popup {
		align-items: center;
		padding: 24px 16px;
	}
}

.alaa-overlay {
	position: absolute;
	inset: 0;
	background: rgba(14, 22, 40, .55);
	backdrop-filter: blur(2px);
	animation: alaa-fade .2s ease;
}

.alaa-dialog {
	position: relative;
	width: 100%;
	max-width: 960px;
	max-height: 92vh;
	max-height: 92dvh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 22px 22px 0 0;
	animation: alaa-slide-up .26s cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 640px) {
	.alaa-dialog {
		border-radius: 22px;
		max-height: 88vh;
		animation: alaa-pop .2s cubic-bezier(.4, 0, .2, 1);
	}
}

.alaa-dialog .alaa-card {
	border-radius: 22px 22px 0 0;
	border-bottom: 0;
}

@media (min-width: 640px) {
	.alaa-dialog .alaa-card {
		border-radius: 22px;
		border-bottom: 1px solid var(--alaa-line);
	}
}

.alaa-dialog__close {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--alaa-line);
	background: var(--alaa-white);
	color: var(--alaa-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.alaa-dialog__close svg {
	width: 17px;
	height: 17px;
	stroke-linecap: round;
}

.alaa-dialog__close:hover {
	background: var(--alaa-offwhite);
}

@keyframes alaa-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes alaa-slide-up {
	from { transform: translateY(24px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@keyframes alaa-pop {
	from { transform: scale(.97); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

/* Locks background scrolling while the dialog is open. */
body.alaa-modal-open {
	overflow: hidden;
}

/* ------------------------------------------------------- Compact mode */

/**
 * Compact keeps the booking flow intact and only removes the surrounding
 * prose: the meeting summary panel and the explanatory small print. The
 * calendar, the step rail, the slots, the form and the timezone bar are
 * untouched — a "compact" widget that hid the day grid would not be a
 * booking widget at all.
 */
.alaa-booking--compact {
	max-width: 560px;
}

.alaa-booking--compact .alaa-card {
	grid-template-columns: 1fr;
}

.alaa-booking--compact .alaa-summary {
	display: none;
}

.alaa-booking--compact .alaa-fineprint,
.alaa-booking--compact .alaa-success__sub {
	display: none;
}

.alaa-booking--compact .alaa-panel {
	padding: 18px 16px 22px;
}

@media (min-width: 560px) {
	.alaa-booking--compact .alaa-panel {
		padding: 22px 22px 26px;
	}
}

/* --------------------------------------------------------- Phone field */

.alaa-phone {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.alaa-phone__country {
	position: relative;
	flex: 0 0 auto;
}

.alaa-phone__select {
	appearance: none;
	height: 100%;
	min-height: 44px;
	padding: 0 34px 0 10px;
	border: 1px solid var(--alaa-line);
	border-radius: var(--alaa-radius-sm);
	background: var(--alaa-white);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--alaa-navy);
	cursor: pointer;
	direction: ltr;
	max-width: 118px;
}

.alaa-phone__select:focus {
	outline: none;
	border-color: var(--alaa-accent);
	box-shadow: 0 0 0 3px rgba(232, 128, 74, .16);
}

.alaa-phone__caret {
	position: absolute;
	inset-inline-end: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--alaa-muted);
	font-size: 10px;
}

.alaa-phone input {
	flex: 1;
	min-width: 0;
	direction: ltr;
	text-align: left;
}

/* --------------------------------------------------- Choice field types */

.alaa-choices {
	display: grid;
	gap: 8px;
}

.alaa-booking .alaa-choice {
	display: flex;
	align-items: center;
	gap: 10px;
	/* Explicit box: one line of text sits in a 48px row, two lines grow it
	   naturally. Nothing here is inherited from the theme. */
	padding: 12px 14px;
	margin: 0;
	min-height: 48px;
	line-height: 1.5;
	border: 1px solid var(--alaa-line);
	border-radius: var(--alaa-radius-sm);
	background: var(--alaa-white);
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: var(--alaa-navy);
	transition: border-color .14s ease, background .14s ease;
}

.alaa-choice:hover {
	border-color: var(--alaa-accent);
	background: var(--alaa-accent-soft);
}

.alaa-booking .alaa-choice > span {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.5;
}

.alaa-booking .alaa-choice input {
	width: 19px;
	height: 19px;
	min-height: 0;
	margin: 0;
	padding: 0;
	accent-color: var(--alaa-accent);
	flex: 0 0 auto;
}

.alaa-choice.is-checked {
	border-color: var(--alaa-accent);
	background: var(--alaa-accent-soft);
}

.alaa-field select {
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	color: var(--alaa-ink);
	background: var(--alaa-white);
	border: 1px solid var(--alaa-line);
	border-radius: var(--alaa-radius-sm);
	padding: 11px 13px;
	min-height: 46px;
	cursor: pointer;
}

.alaa-field select:focus {
	outline: none;
	border-color: var(--alaa-accent);
	box-shadow: 0 0 0 3px rgba(232, 128, 74, .16);
}

.alaa-field__help {
	font-size: 12px;
	color: var(--alaa-muted);
	margin: 0;
}

/* Screen-reader-only helper (themes do not always provide one). */
.alaa-booking .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ----------------------------------------------------------- Dark theme */

.alaa-booking--dark {
	--alaa-white: #16203A;
	--alaa-offwhite: #1C2745;
	--alaa-line: #2A3757;
	--alaa-ink: #E9ECF4;
	--alaa-navy: #F2F4F9;
	--alaa-navy-soft: #CBD3E4;
	--alaa-muted: #93A0BE;
	--alaa-accent-soft: rgba(232, 128, 74, .14);
}

.alaa-booking--dark .alaa-submit {
	background: var(--alaa-accent);
}

.alaa-booking--dark .alaa-submit:hover:not(:disabled) {
	background: #DC7440;
}
