/**
 * BAS Client Hub — Scoped Frontend Stylesheet
 *
 * Designed for Barbara's Answering Service.
 * Strictly scoped under .bas-hub-root and #bas-signup-modal-backdrop
 * to prevent style collisions with Elementor or active WordPress themes.
 */

:root {
	--bas-primary: #0f1f3d;
	--bas-primary-light: #1a3363;
	--bas-accent: #d62828;
	--bas-accent-hover: #b81d1d;
	--bas-btn-bg: #d62828;
	--bas-surface: #ffffff;
	--bas-surface-alt: #f7f9fc;
	--bas-border: #dce3ef;
	--bas-text: #1e293b;
	--bas-text-muted: #5a6882;
	--bas-success: #15803d;
	--bas-error: #b91c1c;
	--bas-radius: 14px;
	--bas-modal-width: 760px;
	--bas-shadow-sm: 0 4px 14px rgba(15, 31, 61, 0.06);
	--bas-shadow-md: 0 12px 32px rgba(15, 31, 61, 0.11);
	--bas-shadow-lg: 0 22px 50px rgba(15, 31, 61, 0.22);
	--bas-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bas-hub-root,
.bas-hub-root *,
.bas-hub-root *::before,
.bas-hub-root *::after,
#bas-signup-modal-backdrop,
#bas-signup-modal-backdrop *,
#bas-signup-modal-backdrop *::before,
#bas-signup-modal-backdrop *::after {
	box-sizing: border-box;
	font-family: var(--bas-font);
}

.bas-hub-root,
#bas-signup-modal-backdrop {
	font-family: var(--bas-font);
	color: var(--bas-text);
	line-height: 1.55;
	width: 100%;
	margin: 0 auto;
}

/* Lock body scroll when signup modal is active */
body.bas-modal-open {
	overflow: hidden !important;
}

/* ==========================================================================
   1. PRICING CARDS GRID ([bas_pricing])
   ========================================================================== */

.bas-hub-root .bas-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
	padding: 18px 4px;
	max-width: 1200px;
	margin: 0 auto;
}

.bas-hub-root .bas-pricing-grid--single {
	grid-template-columns: minmax(0, 420px);
	justify-content: center;
}

@media (max-width: 991px) {
	.bas-hub-root .bas-pricing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.bas-hub-root .bas-pricing-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}

.bas-hub-root .bas-pricing-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: var(--bas-surface);
	border: 1px solid var(--bas-border);
	border-radius: var(--bas-radius);
	padding: 34px 28px 30px;
	box-shadow: var(--bas-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bas-hub-root .bas-pricing-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--bas-shadow-md);
	border-color: rgba(15, 31, 61, 0.25);
}

.bas-hub-root .bas-pricing-card--featured {
	border: 2px solid var(--bas-accent);
	box-shadow: var(--bas-shadow-md);
}

.bas-hub-root .bas-pricing-card__badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--bas-accent);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(214, 40, 40, 0.32);
	white-space: nowrap;
}

.bas-hub-root .bas-pricing-card__header {
	border-bottom: 1px solid var(--bas-border);
	padding-bottom: 22px;
	margin-bottom: 22px;
}

.bas-hub-root .bas-pricing-card__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	color: var(--bas-primary);
	line-height: 1.25;
}

.bas-hub-root .bas-pricing-card__subtitle-meta {
	margin: 0 0 14px;
	font-size: 13.5px;
	color: var(--bas-text-muted);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.bas-hub-root .bas-pricing-card__subtitle-meta strong {
	color: var(--bas-primary);
	font-weight: 700;
}

.bas-hub-root .bas-pricing-card__meta-sep {
	color: var(--bas-border);
}

.bas-hub-root .bas-pricing-card__desc {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--bas-text-muted);
	min-height: 44px;
}

.bas-hub-root .bas-pricing-card__price-block {
	display: flex;
	align-items: baseline;
	gap: 2px;
	margin: 14px 0 8px;
	color: var(--bas-primary);
}

.bas-hub-root .bas-pricing-card__currency {
	font-size: 22px;
	font-weight: 700;
	align-self: flex-start;
	margin-top: 6px;
}

.bas-hub-root .bas-pricing-card__amount {
	font-size: 46px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}

.bas-hub-root .bas-pricing-card__cents {
	font-size: 19px;
	font-weight: 700;
	align-self: flex-start;
	margin-top: 6px;
	line-height: 1;
}

.bas-hub-root .bas-pricing-card__period {
	font-size: 15px;
	font-weight: 600;
	color: var(--bas-text-muted);
	margin-left: 6px;
}

.bas-hub-root .bas-pricing-card__metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	background: var(--bas-surface-alt);
	border: 1px solid #e7edf6;
	border-radius: 10px;
	padding: 12px;
}

.bas-hub-root .bas-pricing-card__metric {
	display: flex;
	flex-direction: column;
}

.bas-hub-root .bas-pricing-card__metric-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bas-text-muted);
	margin-bottom: 2px;
}

.bas-hub-root .bas-pricing-card__metric-value {
	font-size: 14px;
	font-weight: 700;
	color: var(--bas-primary);
}

.bas-hub-root .bas-pricing-card__body {
	flex: 1 1 auto;
	margin-bottom: 26px;
}

.bas-hub-root .bas-pricing-card__features-heading {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bas-primary);
}

.bas-hub-root .bas-pricing-card__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.bas-hub-root .bas-pricing-card__feature-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	color: var(--bas-text);
}

.bas-hub-root .bas-pricing-card__check-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(214, 40, 40, 0.1);
	color: var(--bas-accent);
	flex-shrink: 0;
	margin-top: 1px;
}

.bas-hub-root .bas-pricing-card__footer {
	margin-top: auto;
}

/* ==========================================================================
   2. BUTTONS
   ========================================================================== */

.bas-hub-root .bas-btn,
#bas-signup-modal-backdrop .bas-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--bas-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	padding: 14px 24px;
	border-radius: 10px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.bas-hub-root .bas-pricing-card__footer .bas-btn {
	width: 100%;
}

.bas-hub-root .bas-btn--primary,
#bas-signup-modal-backdrop .bas-btn--primary {
	background-color: var(--bas-btn-bg);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(214, 40, 40, 0.26);
}

.bas-hub-root .bas-btn--primary:hover,
#bas-signup-modal-backdrop .bas-btn--primary:hover {
	background-color: var(--bas-accent-hover);
	color: #ffffff;
	transform: translateY(-1px);
}

.bas-hub-root .bas-btn--secondary,
#bas-signup-modal-backdrop .bas-btn--secondary {
	background-color: #ffffff;
	color: var(--bas-primary);
	border-color: var(--bas-border);
}

.bas-hub-root .bas-btn--secondary:hover,
#bas-signup-modal-backdrop .bas-btn--secondary:hover {
	background-color: var(--bas-surface-alt);
	border-color: var(--bas-primary);
}

.bas-hub-root .bas-btn--ghost,
#bas-signup-modal-backdrop .bas-btn--ghost {
	background: transparent;
	color: var(--bas-text-muted);
	border-color: var(--bas-border);
	padding: 7px 14px;
	font-size: 13px;
}

.bas-hub-root .bas-btn--ghost:hover,
#bas-signup-modal-backdrop .bas-btn--ghost:hover {
	color: var(--bas-accent);
	border-color: var(--bas-accent);
}

.bas-hub-root .bas-btn:disabled,
#bas-signup-modal-backdrop .bas-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

/* ==========================================================================
   3. CUSTOM 3-STEP SIGNUP MODAL
   ========================================================================== */

#bas-signup-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(10, 20, 40, 0.68);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
	opacity: 0;
	transition: opacity 0.22s ease;
}

#bas-signup-modal-backdrop[hidden] {
	display: none !important;
}

#bas-signup-modal-backdrop.is-open {
	opacity: 1;
}

#bas-signup-modal-backdrop .bas-modal {
	position: relative;
	width: 100%;
	max-width: var(--bas-modal-width);
	max-height: 92vh;
	overflow-y: auto;
	background: var(--bas-surface);
	border-radius: var(--bas-radius);
	box-shadow: var(--bas-shadow-lg);
	padding: 30px 32px;
	transform: translateY(12px) scale(0.98);
	transition: transform 0.22s ease;
}

#bas-signup-modal-backdrop.is-open .bas-modal {
	transform: translateY(0) scale(1);
}

@media (max-width: 680px) {
	#bas-signup-modal-backdrop {
		padding: 0;
		align-items: stretch;
	}

	#bas-signup-modal-backdrop .bas-modal {
		max-width: 100%;
		max-height: 100vh;
		min-height: 100vh;
		border-radius: 0;
		padding: 22px 18px 28px;
	}
}

#bas-signup-modal-backdrop .bas-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid var(--bas-border);
	padding-bottom: 16px;
	margin-bottom: 20px;
}

#bas-signup-modal-backdrop .bas-modal__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bas-accent);
	margin-bottom: 4px;
}

#bas-signup-modal-backdrop .bas-modal__title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 800;
	color: var(--bas-primary);
}

#bas-signup-modal-backdrop .bas-modal__subtitle {
	margin: 0;
	font-size: 14px;
	color: var(--bas-text-muted);
}

#bas-signup-modal-backdrop .bas-modal__plan-pill {
	display: inline-block;
	background: var(--bas-surface-alt);
	border: 1px solid var(--bas-border);
	color: var(--bas-primary);
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 13px;
	margin-left: 4px;
}

#bas-signup-modal-backdrop .bas-modal__close {
	background: var(--bas-surface-alt) !important;
	border: 1.5px solid var(--bas-border) !important;
	color: var(--bas-primary) !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#bas-signup-modal-backdrop .bas-modal__close-icon {
	display: block !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 26px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	color: inherit !important;
	margin-top: -2px !important;
}

#bas-signup-modal-backdrop .bas-modal__close:hover {
	background: var(--bas-accent) !important;
	border-color: var(--bas-accent) !important;
	color: #ffffff !important;
}

/* Progress Stepper */
#bas-signup-modal-backdrop .bas-stepper {
	margin-bottom: 24px;
}

#bas-signup-modal-backdrop .bas-stepper__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

#bas-signup-modal-backdrop .bas-stepper__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--bas-surface-alt);
	border: 1px solid var(--bas-border);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bas-text-muted);
}

#bas-signup-modal-backdrop .bas-stepper__item.is-active {
	background: rgba(15, 31, 61, 0.06);
	border-color: var(--bas-primary);
	color: var(--bas-primary);
}

#bas-signup-modal-backdrop .bas-stepper__item.is-complete {
	border-color: var(--bas-success);
	color: var(--bas-success);
}

#bas-signup-modal-backdrop .bas-stepper__circle {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid currentColor;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	flex-shrink: 0;
}

#bas-signup-modal-backdrop .bas-stepper__item.is-active .bas-stepper__circle {
	background: var(--bas-primary);
	border-color: var(--bas-primary);
	color: #ffffff;
}

/* Step Panes */
#bas-signup-modal-backdrop .bas-step-pane__heading {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 800;
	color: var(--bas-primary);
}

#bas-signup-modal-backdrop .bas-step-pane__intro {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--bas-text-muted);
}

/* Step 1 Plan Summary Card */
#bas-signup-modal-backdrop .bas-plan-summary-card {
	background: var(--bas-surface-alt);
	border: 1px solid var(--bas-border);
	border-radius: 12px;
	padding: 22px;
	margin-bottom: 24px;
}

#bas-signup-modal-backdrop .bas-plan-summary-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	border-bottom: 1px solid var(--bas-border);
	padding-bottom: 14px;
	margin-bottom: 16px;
}

#bas-signup-modal-backdrop .bas-plan-summary-card__tag {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bas-accent);
}

#bas-signup-modal-backdrop .bas-plan-summary-card__name {
	margin: 2px 0 0;
	font-size: 22px;
	font-weight: 800;
	color: var(--bas-primary);
}

#bas-signup-modal-backdrop .bas-plan-summary-card__amount {
	font-size: 28px;
	font-weight: 800;
	color: var(--bas-primary);
}

#bas-signup-modal-backdrop .bas-plan-summary-card__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 16px;
}

#bas-signup-modal-backdrop .bas-plan-summary-card__stat {
	background: #ffffff;
	border: 1px solid var(--bas-border);
	border-radius: 8px;
	padding: 12px 14px;
}

#bas-signup-modal-backdrop .bas-plan-summary-card__stat-label {
	display: block;
	font-size: 12px;
	color: var(--bas-text-muted);
}

#bas-signup-modal-backdrop .bas-plan-summary-card__stat-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--bas-primary);
}

#bas-signup-modal-backdrop .bas-plan-summary-card__benefits h5 {
	margin: 0 0 8px;
	font-size: 13px;
	text-transform: uppercase;
	color: var(--bas-primary);
}

#bas-signup-modal-backdrop .bas-plan-summary-card__feature-list {
	margin: 0;
	padding-left: 18px;
	font-size: 14px;
	color: var(--bas-text);
}

#bas-signup-modal-backdrop .bas-plan-summary-card__feature-list li {
	margin-bottom: 4px;
}

/* Form Fields (Modal & Account Setup) */
.bas-hub-root .bas-form-grid,
#bas-signup-modal-backdrop .bas-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

.bas-hub-root .bas-form-grid--two,
#bas-signup-modal-backdrop .bas-form-grid--two {
	grid-template-columns: 1fr 1fr;
}

.bas-hub-root .bas-field--full,
#bas-signup-modal-backdrop .bas-field--full {
	grid-column: 1 / -1;
}

@media (max-width: 640px) {
	.bas-hub-root .bas-form-grid--two,
	#bas-signup-modal-backdrop .bas-form-grid--two {
		grid-template-columns: 1fr;
	}
}

.bas-hub-root .bas-field__label,
#bas-signup-modal-backdrop .bas-field__label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--bas-primary);
	margin-bottom: 6px;
}

.bas-hub-root .bas-required,
#bas-signup-modal-backdrop .bas-required {
	color: var(--bas-accent);
}

.bas-hub-root .bas-field__input,
.bas-hub-root .bas-field__textarea,
.bas-hub-root .bas-field__select,
#bas-signup-modal-backdrop .bas-field__input,
#bas-signup-modal-backdrop .bas-field__textarea,
#bas-signup-modal-backdrop .bas-field__select {
	width: 100%;
	font-family: var(--bas-font);
	font-size: 15px;
	color: var(--bas-text);
	background: #ffffff;
	border: 1.5px solid var(--bas-border);
	border-radius: 8px;
	padding: 11px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bas-hub-root .bas-field__input:focus,
.bas-hub-root .bas-field__textarea:focus,
.bas-hub-root .bas-field__select:focus,
#bas-signup-modal-backdrop .bas-field__input:focus,
#bas-signup-modal-backdrop .bas-field__textarea:focus,
#bas-signup-modal-backdrop .bas-field__select:focus {
	outline: none;
	border-color: var(--bas-primary);
	box-shadow: 0 0 0 3px rgba(15, 31, 61, 0.12);
}

#bas-signup-modal-backdrop .bas-field__input--readonly {
	background: var(--bas-surface-alt);
	color: var(--bas-text-muted);
}

.bas-hub-root .bas-field__error,
#bas-signup-modal-backdrop .bas-field__error {
	display: block;
	font-size: 12.5px;
	color: var(--bas-error);
	margin-top: 4px;
	min-height: 16px;
}

/* Honeypot hidden container */
.bas-hub-root .bas-hp-wrap,
#bas-signup-modal-backdrop .bas-hp-wrap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Step 3 Agreement Box & Signature Canvas */
#bas-signup-modal-backdrop .bas-agreement-box {
	max-height: 250px;
	overflow-y: auto;
	background: #ffffff;
	border: 1.5px solid var(--bas-border);
	border-radius: 10px;
	padding: 18px 20px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--bas-text);
	margin-bottom: 18px;
}

#bas-signup-modal-backdrop .bas-agreement-box h3,
#bas-signup-modal-backdrop .bas-agreement-box h4 {
	color: var(--bas-primary);
	margin: 14px 0 6px;
}

#bas-signup-modal-backdrop .bas-agreement-box h3:first-child {
	margin-top: 0;
}

#bas-signup-modal-backdrop .bas-consent-box {
	background: var(--bas-surface-alt);
	border: 1px solid var(--bas-border);
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
}

.bas-hub-root .bas-checkbox-label,
#bas-signup-modal-backdrop .bas-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	cursor: pointer;
}

.bas-hub-root .bas-checkbox-label input[type="checkbox"],
#bas-signup-modal-backdrop .bas-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--bas-accent);
	flex-shrink: 0;
}

#bas-signup-modal-backdrop .bas-signature-section {
	margin-bottom: 22px;
}

#bas-signup-modal-backdrop .bas-signature-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

#bas-signup-modal-backdrop .bas-signature-pad-wrapper {
	border: 2px dashed #b9c6dc;
	border-radius: 10px;
	background: #ffffff;
	overflow: hidden;
	touch-action: none;
}

#bas-signup-modal-backdrop .bas-signature-canvas {
	display: block;
	width: 100%;
	height: 170px;
	cursor: crosshair;
	touch-action: none;
}

#bas-signup-modal-backdrop .bas-privacy-footnote {
	font-size: 12px;
	color: var(--bas-text-muted);
	margin: 6px 0 0;
}

#bas-signup-modal-backdrop .bas-modal__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid var(--bas-border);
	padding-top: 18px;
}

#bas-signup-modal-backdrop .bas-modal__actions--right {
	justify-content: flex-end;
}

/* Alerts & Success Pane */
.bas-hub-root .bas-alert,
#bas-signup-modal-backdrop .bas-alert {
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 14px;
}

.bas-hub-root .bas-alert--error,
#bas-signup-modal-backdrop .bas-alert--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: var(--bas-error);
}

.bas-hub-root .bas-alert--warning {
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
}

.bas-hub-root .bas-alert--info {
	background: #f0f6ff;
	border: 1px solid #bfdbfe;
	color: var(--bas-primary);
}

.bas-hub-root .bas-success-pane,
#bas-signup-modal-backdrop .bas-success-pane {
	text-align: center;
	padding: 24px 16px;
}

.bas-hub-root .bas-success-pane__icon,
#bas-signup-modal-backdrop .bas-success-pane__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #dcfce7;
	color: var(--bas-success);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.bas-hub-root .bas-success-pane__title,
#bas-signup-modal-backdrop .bas-success-pane__title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 800;
	color: var(--bas-primary);
}

.bas-hub-root .bas-success-pane__message,
#bas-signup-modal-backdrop .bas-success-pane__message {
	font-size: 16px;
	color: var(--bas-text);
	max-width: 560px;
	margin: 0 auto 20px;
}

#bas-signup-modal-backdrop .bas-success-pane__meta {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 24px;
	background: var(--bas-surface-alt);
	border: 1px solid var(--bas-border);
	border-radius: 10px;
	padding: 12px 22px;
	margin-bottom: 22px;
	font-size: 14px;
}

#bas-signup-modal-backdrop .bas-success-pane__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* ==========================================================================
   4. SEPARATE ACCOUNT SETUP QUESTIONNAIRE ([bas_account_setup])
   ========================================================================== */

.bas-hub-root .bas-setup-container {
	max-width: 960px;
	margin: 0 auto;
	padding: 20px 0 40px;
}

.bas-hub-root .bas-setup-top-bar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 22px;
}

.bas-hub-root .bas-setup-header {
	flex: 1 1 500px;
	margin-bottom: 0;
}

.bas-hub-root .bas-setup-header__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bas-accent);
	margin-bottom: 4px;
}

.bas-hub-root .bas-setup-header__title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 800;
	color: var(--bas-primary);
}

.bas-hub-root .bas-setup-header p {
	margin: 0;
	color: var(--bas-text-muted);
	font-size: 14.5px;
}

.bas-hub-root .bas-setup-continue-later-bar {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	flex-shrink: 0;
}

.bas-hub-root .bas-setup-continue-later-hint {
	font-size: 11.5px;
	color: var(--bas-text-muted);
}

@media (max-width: 680px) {
	.bas-hub-root .bas-setup-continue-later-bar {
		align-items: flex-start;
		width: 100%;
	}
	.bas-hub-root .bas-setup-continue-later-bar .bas-btn {
		width: 100%;
	}
}

.bas-hub-root .bas-setup-app-banner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	background: var(--bas-primary);
	color: #ffffff;
	padding: 16px 22px;
	border-radius: 12px;
	margin-bottom: 22px;
	font-size: 14px;
}

/* Interactive 6-Step Wizard Progress Bar & Step Tabs */
.bas-hub-root .bas-wizard-progress-wrap {
	background: var(--bas-surface);
	border: 1px solid var(--bas-border);
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 24px;
	box-shadow: var(--bas-shadow-sm);
}

.bas-hub-root .bas-wizard-progress-bar {
	height: 8px;
	background: #e9eef6;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 14px;
}

.bas-hub-root .bas-wizard-progress-bar__fill,
.bas-hub-root .bas-wizard-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--bas-primary), var(--bas-accent));
	border-radius: 999px;
	transition: width 0.3s ease;
}

.bas-hub-root .bas-wizard-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
}

@media (max-width: 820px) {
	.bas-hub-root .bas-wizard-steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 480px) {
	.bas-hub-root .bas-wizard-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

.bas-hub-root .bas-wizard-step {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bas-hub-root .bas-wizard-step-btn,
.bas-hub-root .bas-wizard-step__btn {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border-radius: 10px;
	border: 1.5px solid var(--bas-border);
	background: var(--bas-surface-alt);
	color: var(--bas-text-muted);
	font-family: var(--bas-font);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
	transition: all 0.2s ease;
}

.bas-hub-root .bas-wizard-step-btn:hover,
.bas-hub-root .bas-wizard-step:hover .bas-wizard-step__btn {
	border-color: var(--bas-primary);
	color: var(--bas-primary);
}

.bas-hub-root .bas-wizard-step-btn.is-active,
.bas-hub-root .bas-wizard-step.is-active .bas-wizard-step__btn {
	background: rgba(15, 31, 61, 0.08);
	border-color: var(--bas-primary);
	color: var(--bas-primary);
	box-shadow: 0 2px 8px rgba(15, 31, 61, 0.08);
}

.bas-hub-root .bas-wizard-step-btn.is-complete,
.bas-hub-root .bas-wizard-step.is-complete .bas-wizard-step__btn {
	border-color: var(--bas-success);
	color: var(--bas-success);
	background: #f0fdf4;
}

.bas-hub-root .bas-wizard-step-btn__num,
.bas-hub-root .bas-wizard-step__num {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #ffffff;
	border: 1.5px solid currentColor;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11.5px;
	font-weight: 800;
	flex-shrink: 0;
}

.bas-hub-root .bas-wizard-step-btn.is-active .bas-wizard-step-btn__num,
.bas-hub-root .bas-wizard-step.is-active .bas-wizard-step__num {
	background: var(--bas-primary);
	border-color: var(--bas-primary);
	color: #ffffff;
}

.bas-hub-root .bas-wizard-step-btn.is-complete .bas-wizard-step-btn__num,
.bas-hub-root .bas-wizard-step.is-complete .bas-wizard-step__num {
	background: var(--bas-success);
	border-color: var(--bas-success);
	color: #ffffff;
}

.bas-hub-root .bas-wizard-step-btn__label,
.bas-hub-root .bas-wizard-step__label {
	line-height: 1.2;
}

/* Wizard Step Panes & Cards */
.bas-hub-root [hidden],
.bas-hub-root .bas-wizard-step-pane[hidden],
.bas-hub-root .bas-setup-step-pane[hidden],
.bas-hub-root .bas-setup-continue-later-bar[hidden],
.bas-hub-root .bas-wizard-progress-wrap[hidden] {
	display: none !important;
}

.bas-hub-root .bas-setup-card {
	background: var(--bas-surface);
	border: 1px solid var(--bas-border);
	border-radius: var(--bas-radius);
	padding: 28px 30px;
	margin: 0 0 24px;
	box-shadow: var(--bas-shadow-sm);
}

@media (max-width: 640px) {
	.bas-hub-root .bas-setup-card {
		padding: 20px 18px;
	}
}

.bas-hub-root .bas-setup-card__header {
	border-bottom: 1px solid var(--bas-border);
	padding-bottom: 16px;
	margin-bottom: 24px;
}

.bas-hub-root .bas-setup-card__step-badge {
	display: inline-block;
	background: rgba(214, 40, 40, 0.1);
	color: var(--bas-accent);
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}

.bas-hub-root .bas-setup-card__title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 800;
	color: var(--bas-primary);
}

.bas-hub-root .bas-setup-card__desc,
.bas-hub-root .bas-setup-card__subtitle {
	margin: 0;
	font-size: 14px;
	color: var(--bas-text-muted);
}

/* Question Blocks & Section Dividers */
.bas-hub-root .bas-question-block {
	background: #fbfcfe;
	border: 1px solid #e6edf7;
	border-radius: 12px;
	padding: 20px 22px;
	margin-bottom: 20px;
}

.bas-hub-root .bas-question-title,
.bas-hub-root .bas-question-block__title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: var(--bas-primary);
	line-height: 1.4;
}

.bas-hub-root .bas-section-divider-title {
	margin: 26px 0 14px;
	font-size: 17px;
	font-weight: 800;
	color: var(--bas-primary);
	border-left: 4px solid var(--bas-accent);
	padding-left: 12px;
}

.bas-hub-root .bas-section-divider-title:first-of-type {
	margin-top: 6px;
}

.bas-hub-root .bas-conditional-box {
	margin-top: 14px;
	padding: 16px 18px;
	background: #ffffff;
	border: 1.5px dashed #c4d1e5;
	border-radius: 10px;
}

.bas-hub-root .bas-conditional-box[hidden] {
	display: none !important;
}

/* Interactive Checkbox Chips (Days & Multi-Select Options) */
.bas-hub-root .bas-chip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}

.bas-hub-root .bas-chip-grid--days {
	grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
}

.bas-hub-root .bas-chip-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	background: #ffffff;
	border: 1.5px solid var(--bas-border);
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: var(--bas-text);
	transition: all 0.18s ease;
	user-select: none;
}

.bas-hub-root .bas-chip-card:hover {
	border-color: var(--bas-primary);
	background: var(--bas-surface-alt);
}

.bas-hub-root .bas-chip-card input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--bas-accent);
	margin: 0;
	flex-shrink: 0;
}

.bas-hub-root .bas-chip-card:has(input:checked) {
	border-color: var(--bas-accent);
	background: rgba(214, 40, 40, 0.05);
	color: var(--bas-primary);
	box-shadow: 0 2px 6px rgba(214, 40, 40, 0.08);
}

/* Interactive Radio Cards */
.bas-hub-root .bas-radio-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bas-hub-root .bas-radio-cards--stack {
	flex-direction: column;
}

.bas-hub-root .bas-radio-card {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 16px;
	background: #ffffff;
	border: 1.5px solid var(--bas-border);
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: var(--bas-text);
	transition: all 0.18s ease;
}

.bas-hub-root .bas-radio-card:hover {
	border-color: var(--bas-primary);
	background: var(--bas-surface-alt);
}

.bas-hub-root .bas-radio-card input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: var(--bas-accent);
	margin: 0;
	flex-shrink: 0;
}

.bas-hub-root .bas-radio-card:has(input:checked) {
	border-color: var(--bas-primary);
	background: rgba(15, 31, 61, 0.06);
	color: var(--bas-primary);
}

/* Step-by-Step Emergency Escalation Builder */
.bas-hub-root .bas-step-builder {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bas-hub-root .bas-step-builder__item {
	background: #ffffff;
	border: 1px solid var(--bas-border);
	border-radius: 10px;
	padding: 14px 16px;
}

.bas-hub-root .bas-step-builder__tag {
	display: inline-block;
	background: var(--bas-primary);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}

.bas-hub-root .bas-step-builder__row {
	display: grid;
	grid-template-columns: 230px 1fr 220px;
	gap: 10px;
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--bas-border);
	border-radius: 10px;
	padding: 12px 14px;
}

.bas-hub-root .bas-step-builder__row:not(:first-child) {
	grid-template-columns: 230px 1fr;
}

@media (max-width: 760px) {
	.bas-hub-root .bas-step-builder__row,
	.bas-hub-root .bas-step-builder__row:not(:first-child) {
		grid-template-columns: 1fr;
	}
}

.bas-hub-root .bas-step-builder__badge {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--bas-primary);
}

/* Dynamic Staff & Call Type Routing Repeaters */
.bas-hub-root .bas-staff-directory {
	background: #ffffff;
	border: 1px solid var(--bas-border);
	border-radius: 10px;
	padding: 16px;
	margin: 12px 0;
}

.bas-hub-root .bas-staff-directory__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.bas-hub-root .bas-staff-directory__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--bas-primary);
}

.bas-hub-root .bas-staff-directory__hint {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--bas-text-muted);
}

.bas-hub-root .bas-staff-row {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.1fr 1.2fr auto;
	gap: 8px;
	margin-bottom: 8px;
	align-items: center;
}

.bas-hub-root .bas-staff-row--five {
	grid-template-columns: 1.1fr 0.9fr 1fr 1.1fr 1fr auto;
}

.bas-hub-root .bas-staff-row--three {
	grid-template-columns: 1.1fr 1fr 1fr auto;
}

@media (max-width: 820px) {
	.bas-hub-root .bas-staff-row,
	.bas-hub-root .bas-staff-row--five,
	.bas-hub-root .bas-staff-row--three {
		grid-template-columns: 1fr;
		padding-bottom: 12px;
		border-bottom: 1px solid var(--bas-border);
	}
}

/* Wizard Bottom Navigation Bar */
.bas-hub-root .bas-wizard-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	border-top: 1px solid var(--bas-border);
	padding-top: 20px;
	margin-top: 16px;
}

.bas-hub-root .bas-wizard-nav--right {
	justify-content: flex-end;
}


