/**
 * Adapt + HOYA — Frontend CSS
 * Visual fiel à moldura oficial: paleta roxa com acentos amarelos e tipografia
 * Outfit (sans) + Caveat (script).
 *
 * Escopo: tudo dentro de .adapt-hoya-root para não conflitar com tema do WP.
 */

/* =============================================================================
   VARIÁVEIS CSS — customizáveis via painel admin (Aparência → Cores)
   ============================================================================= */
.adapt-hoya-root {
	--ah-primary: #2D1B5E;       /* Cor escura (header superior, footer) */
	--ah-secondary: #4A2D8A;     /* Cor principal (botões, header médio, destaques) */
	--ah-bg: #F5F1FA;            /* Fundo da página */
	--ah-accent: #F5D34A;        /* Cor de acento (amarelo) */
}

/* =============================================================================
   RESET DENTRO DO ESCOPO
   ============================================================================= */
.adapt-hoya-root,
.adapt-hoya-root *,
.adapt-hoya-root *::before,
.adapt-hoya-root *::after {
	box-sizing: border-box;
}
.adapt-hoya-root {
	font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #1A0F3D;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	position: relative;
	min-height: 100vh;
	background: var(--ah-bg);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.adapt-hoya-root button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	color: inherit;
}
.adapt-hoya-root input,
.adapt-hoya-root textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}
.adapt-hoya-root h1,
.adapt-hoya-root h2,
.adapt-hoya-root h3,
.adapt-hoya-root p,
.adapt-hoya-root ul {
	margin: 0;
	padding: 0;
}
.adapt-hoya-root ul { list-style: none; }
.adapt-hoya-root img { max-width: 100%; display: block; }

.ah-script {
	font-family: 'Caveat', cursive;
	font-weight: 600;
}

/* =============================================================================
   BACKGROUND ONDAS
   ============================================================================= */
.ah-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	background: linear-gradient(180deg, var(--ah-bg) 0%, #E5DCF3 100%);
}
.ah-bg svg {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50vh;
	min-height: 280px;
	opacity: 0.55;
}
.ah-wave-1 { fill: color-mix(in srgb, var(--ah-secondary) 50%, white); }
.ah-wave-2 { fill: color-mix(in srgb, var(--ah-secondary) 70%, white); }
.ah-wave-3 { fill: var(--ah-secondary); }
/* Fallback para navegadores sem color-mix */
@supports not (color: color-mix(in srgb, red, blue)) {
	.ah-wave-1 { fill: var(--ah-secondary); opacity: 0.25; }
	.ah-wave-2 { fill: var(--ah-secondary); opacity: 0.4; }
	.ah-wave-3 { fill: var(--ah-secondary); }
}

/* =============================================================================
   HEADER (faixa roxa)
   ============================================================================= */
.ah-header {
	position: relative;
	z-index: 2;
	width: 100%;
}
.ah-header-top {
	background: var(--ah-primary);
	padding: 10px 24px;
	text-align: center;
}
.ah-header-top p {
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
}
.ah-header-top strong { font-weight: 800; }
.ah-header-mid {
	background: var(--ah-secondary);
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.ah-logo-adapt {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ah-logo-adapt-text {
	color: #fff;
	font-weight: 700;
	font-size: 22px;
	letter-spacing: -0.02em;
}
.ah-header-script {
	color: #fff;
	font-size: 26px;
	line-height: 1;
}
.ah-logo-hoya {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1;
}
.ah-logo-hoya-main {
	color: #fff;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: 0.05em;
}
.ah-logo-hoya-sub {
	color: #fff;
	font-weight: 500;
	font-size: 8px;
	letter-spacing: 0.18em;
	margin-top: 2px;
}

/* Logos customizados (imagens) */
.ah-logo-img-adapt,
.ah-logo-img-hoya {
	max-height: 36px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
	display: block;
}
@media (max-width: 540px) {
	.ah-logo-img-adapt,
	.ah-logo-img-hoya { max-height: 28px; max-width: 110px; }
}

@media (max-width: 540px) {
	.ah-header-script { font-size: 22px; }
	.ah-logo-adapt-text { font-size: 19px; }
	.ah-logo-hoya-main { font-size: 18px; }
}

/* =============================================================================
   TELA / LAYOUT
   ============================================================================= */
.ah-screen {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 32px 24px;
}
.ah-h1 {
	color: var(--ah-primary);
	font-size: clamp(30px, 5.5vw, 52px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	max-width: 720px;
	margin: 0 auto !important;
	text-align: center;
}
.ah-h1-script {
	color: var(--ah-secondary);
	font-size: clamp(40px, 7vw, 72px);
}
.ah-h2 {
	color: var(--ah-primary);
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 800;
	letter-spacing: -0.01em;
}
.ah-sub {
	color: #6B4DAB;
	font-size: 15px;
	margin-top: 6px !important;
	line-height: 1.55;
}
.ah-center {
	text-align: center;
}

/* =============================================================================
   HOME
   ============================================================================= */
.ah-home {
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 540px;
}
.ah-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1.5px solid #A084CC;
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 24px;
}
.ah-pill svg { color: #E8B923; }
.ah-pill span {
	color: var(--ah-secondary);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.ah-lead {
	margin-top: 18px !important;
	color: #6B4DAB;
	font-size: 17px;
	line-height: 1.55;
	max-width: 580px;
	text-align: center;
}
.ah-cta-row {
	margin-top: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}
.ah-cta-hint {
	color: #7B6F95;
	font-size: 13px;
}
.ah-cta-hint strong { color: var(--ah-secondary); }
@media (min-width: 600px) {
	.ah-cta-row { flex-direction: row; gap: 16px; }
}
.ah-steps {
	margin-top: 44px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	max-width: 800px;
	width: 100%;
}
@media (min-width: 720px) {
	.ah-steps { grid-template-columns: repeat(3, 1fr); }
}
.ah-step-card {
	text-align: left;
	padding: 18px;
	background: #fff;
	border-radius: 14px;
	border: 1px solid #E5DCF3;
}
.ah-step-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #E5DCF3;
	color: var(--ah-secondary);
	width: 36px;
	height: 36px;
	border-radius: 10px;
	margin-bottom: 12px;
}
.ah-step-label {
	color: #1A0F3D;
	font-weight: 700;
	font-size: 14px;
}
.ah-step-desc {
	color: #7B6F95;
	font-size: 12.5px;
	margin-top: 2px !important;
}

/* =============================================================================
   BOTÕES
   ============================================================================= */
.ah-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15.5px;
	padding: 13px 26px;
	border-radius: 13px;
	letter-spacing: 0.01em;
	transition: all 0.15s ease;
}
.ah-btn:active:not(:disabled) { transform: scale(0.98); }
.ah-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ah-btn.primary {
	background: var(--ah-secondary);
	color: #fff;
	box-shadow: 0 8px 24px -8px rgba(74, 45, 138, 0.5), 0 2px 0 0 var(--ah-primary);
}
.ah-btn.primary:hover:not(:disabled) { background: #3F2578; }
.ah-btn.ghost {
	background: transparent;
	color: var(--ah-secondary);
	border: 2px solid var(--ah-secondary);
}
.ah-btn.ghost:hover { background: #fff; }
.ah-btn-light {
	background: #fff;
	color: var(--ah-secondary);
	font-weight: 600;
	font-size: 14px;
	padding: 11px 18px;
	border-radius: 12px;
	border: 1.5px solid #E5DCF3;
}
.ah-btn-light:hover { opacity: 0.9; }
.ah-btn-dark {
	background: var(--ah-primary);
	color: #fff;
	font-weight: 600;
	font-size: 14.5px;
	padding: 12px 18px;
	border-radius: 12px;
}
.ah-btn-full { width: 100%; }

/* =============================================================================
   BACK + ACTIONS
   ============================================================================= */
.ah-back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--ah-secondary);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 18px;
	transition: opacity 0.15s;
}
.ah-back:hover { opacity: 0.7; }
.ah-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 28px;
}
@media (min-width: 600px) {
	.ah-actions { flex-direction: row; }
}
.ah-actions.ah-center { justify-content: center; }

/* =============================================================================
   CAPTURE
   ============================================================================= */
.ah-capture-inner {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
}
.ah-mode-grid {
	margin-top: 28px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
@media (min-width: 640px) {
	.ah-mode-grid { grid-template-columns: 1fr 1fr; }
}
.ah-mode-card {
	text-align: left;
	padding: 22px;
	background: #fff;
	border: 2px solid #E5DCF3;
	border-radius: 16px;
	box-shadow: 0 4px 14px -8px rgba(74, 45, 138, 0.25);
	transition: transform 0.15s ease;
}
.ah-mode-card:hover { transform: translateY(-2px); }
.ah-mode-card:active { transform: scale(0.99); }
.ah-mode-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	margin-bottom: 14px;
	color: #fff;
}
.ah-mode-ico-purple { background: var(--ah-secondary); }
.ah-mode-ico-yellow { background: var(--ah-accent); color: var(--ah-primary); }
.ah-mode-label {
	color: #1A0F3D;
	font-weight: 700;
	font-size: 17px;
}
.ah-mode-desc {
	color: #7B6F95;
	font-size: 13.5px;
	margin-top: 4px !important;
}
.ah-file-input { display: none; }
.ah-cam-error {
	margin-top: 12px;
	padding: 12px;
	background: #FEF3F3;
	border: 1px solid #F5C6C6;
	border-radius: 10px;
	display: flex;
	gap: 8px;
	align-items: flex-start;
	color: #933;
}
.ah-cam-error svg { flex-shrink: 0; margin-top: 2px; color: #C43; }
.ah-cam-error p { font-size: 13.5px; }
.ah-cam-wrap {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ah-cam-video {
	width: auto;
	max-width: 100%;
	max-height: 60vh;
	aspect-ratio: var(--ah-photo-ratio, 0.894);
	background: #000;
	border-radius: 18px;
	border: 4px solid var(--ah-secondary);
	transform: scaleX(-1);
	object-fit: cover;
}
.ah-cam-guide {
	display: none; /* opcional */
}
.ah-cam-actions {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 360px;
}
@media (min-width: 600px) {
	.ah-cam-actions { flex-direction: row; max-width: none; justify-content: center; }
}

/* =============================================================================
   PREVIEW + FRAMED PHOTO
   ============================================================================= */
.ah-preview-inner {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}
.ah-preview-frame {
	margin-top: 28px;
	display: flex;
	justify-content: center;
}

.ah-framed {
	position: relative;
	margin: 0 auto;
	aspect-ratio: var(--ah-frame-ratio, 1182 / 1772);
	max-width: 100%;
	height: auto;
	max-height: 560px;
	width: auto;
	filter: drop-shadow(0 18px 36px rgba(45, 27, 94, 0.25));
}
/* Quando dentro de container limitado por max-height, usa aspect-ratio */
.ah-framed-area {
	position: absolute;
	overflow: hidden;
}
.ah-framed-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ah-framed-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #6B4DAB;
	background:
		repeating-linear-gradient(45deg, #E5DCF3, #E5DCF3 12px, var(--ah-bg) 12px, var(--ah-bg) 24px);
	padding: 16px;
	text-align: center;
}
.ah-framed-placeholder svg { opacity: 0.6; margin-bottom: 8px; }
.ah-framed-placeholder p {
	font-size: 13px;
	font-weight: 500;
}
.ah-framed-mould {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

/* =============================================================================
   FORM
   ============================================================================= */
.ah-form-screen { padding-bottom: 60px; }
.ah-form-inner {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}
.ah-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}
@media (min-width: 1024px) {
	.ah-form-grid { grid-template-columns: 280px 1fr; }
}
.ah-form-side { display: none; }
@media (min-width: 1024px) {
	.ah-form-side {
		display: block;
		position: sticky;
		top: 16px;
	}
}
.ah-form-card {
	margin-top: 24px;
	padding: 22px;
	background: #fff;
	border: 1.5px solid #E5DCF3;
	border-radius: 18px;
	box-shadow: 0 4px 18px -10px rgba(74, 45, 138, 0.2);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
@media (min-width: 600px) {
	.ah-form-card { padding: 26px; }
}
.ah-form-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 600px) {
	.ah-form-row { grid-template-columns: 1fr 1fr; }
	.ah-form-row.ah-form-row-single { grid-template-columns: 1fr; }
}

/* Campos */
.ah-field { width: 100%; }
.ah-field-label {
	display: flex;
	align-items: center;
	gap: 2px;
	color: #1A0F3D;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.01em;
	margin-bottom: 6px;
}
.ah-required { color: #D44; font-weight: 700; }
.ah-field-input {
	display: flex;
	align-items: center;
	background: #fff;
	border: 2px solid #D9D2E5;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.15s;
}
.ah-field-input.ah-error { border-color: #E14B4B; }
.ah-field-input:focus-within { border-color: var(--ah-secondary); }
.ah-field-input input {
	flex: 1;
	background: transparent;
	outline: none;
	border: none;
	padding: 12px 14px;
	font-size: 15px;
	font-weight: 500;
	width: 100%;
	min-width: 0;
}
.ah-field-prefix {
	color: var(--ah-secondary);
	font-weight: 600;
	font-size: 15px;
	padding-left: 14px;
	padding-right: 4px;
}
.ah-field-input input:not(:first-child) { padding-left: 4px; }
.ah-field-error {
	margin-top: 4px;
	display: flex;
	align-items: center;
	gap: 4px;
	color: #D44;
	font-size: 12px;
	font-weight: 500;
}
.ah-field-hint {
	color: #7B6F95;
	font-size: 12px;
	margin-top: 4px !important;
}

/* LGPD — destacado para chamar atenção */
.ah-lgpd {
	margin-top: 8px;
	padding: 18px 20px;
	background: #fff;
	border: 2.5px solid var(--ah-secondary, var(--ah-secondary));
	border-radius: 14px;
	box-shadow: 0 4px 16px -6px rgba(45, 27, 94, 0.18);
	position: relative;
}
.ah-lgpd::before {
	content: '';
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	height: 4px;
	background: var(--ah-secondary, var(--ah-secondary));
	border-radius: 12px 12px 0 0;
}
.ah-lgpd.ah-error {
	background: #FEF3F3;
	border-color: #D44;
}
.ah-lgpd.ah-error::before {
	background: #D44;
}
.ah-lgpd-label {
	display: flex;
	gap: 14px;
	cursor: pointer;
	align-items: flex-start;
}
.ah-checkbox {
	flex-shrink: 0;
	margin-top: 1px;
	width: 28px;
	height: 28px;
	border-radius: 7px;
	border: 2.5px solid var(--ah-primary, var(--ah-primary));
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
	box-shadow: 0 2px 6px -2px rgba(45, 27, 94, 0.25);
}
.ah-checkbox:hover {
	border-color: var(--ah-secondary, var(--ah-secondary));
	transform: scale(1.05);
}
.ah-checkbox:active {
	transform: scale(0.96);
}
.ah-checkbox.ah-checked {
	background: var(--ah-secondary, var(--ah-secondary));
	border-color: var(--ah-secondary, var(--ah-secondary));
	color: #fff;
	box-shadow: 0 4px 10px -2px rgba(74, 45, 138, 0.45);
}
.ah-checkbox.ah-checked svg { stroke-width: 3.5; }
.ah-lgpd-text {
	flex: 1;
	color: #1A0F3D;
	font-size: 14px;
	line-height: 1.55;
}
.ah-lgpd-link {
	color: var(--ah-secondary, var(--ah-secondary));
	font-weight: 700;
	text-decoration: underline;
}
.ah-lgpd-link:hover {
	color: var(--ah-primary, var(--ah-primary));
}

/* =============================================================================
   SUCCESS
   ============================================================================= */
.ah-success-inner {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}
.ah-success-head {
	text-align: center;
	margin-bottom: 28px;
}
.ah-check-bubble {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #22C55E;
	color: #fff;
	margin-bottom: 14px;
	box-shadow: 0 12px 32px -8px rgba(34, 197, 94, 0.5);
}
.ah-success-script {
	color: var(--ah-secondary);
	font-size: 28px;
	margin-top: 0 !important;
}
.ah-success-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}
@media (min-width: 1024px) {
	.ah-success-grid { grid-template-columns: 1fr 320px; }
}
.ah-success-imgcol {
	display: flex;
	justify-content: center;
}
.ah-success-imgwrap {
	max-width: 380px;
	width: 100%;
}
.ah-success-img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 24px 48px -16px rgba(45, 27, 94, 0.4);
}
.ah-success-imgwrap .ah-btn-light {
	margin-top: 12px;
}
.ah-success-actcol {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ah-eyebrow {
	color: #1A0F3D;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.06em;
}

.ah-action-row {
	width: 100%;
	text-align: left;
	padding: 14px;
	background: #fff;
	border: 1.5px solid #E5DCF3;
	border-radius: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: transform 0.15s;
}
.ah-action-row:hover { transform: translateY(-1px); }
.ah-action-row.ah-done {
	border-color: #22C55E;
}
.ah-action-ico {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
}
.ah-action-info {
	flex: 1;
	min-width: 0;
}
.ah-action-title {
	color: #1A0F3D;
	font-weight: 700;
	font-size: 14.5px;
}
.ah-action-sub {
	color: #7B6F95;
	font-size: 12.5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ah-action-ok {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #22C55E;
	color: #fff;
	width: 26px;
	height: 26px;
	border-radius: 50%;
}
.ah-action-chev {
	flex-shrink: 0;
	color: var(--ah-secondary);
}
.ah-no-email {
	padding: 14px;
	background: var(--ah-bg);
	border: 1.5px dashed #A084CC;
	border-radius: 12px;
}
.ah-no-email p {
	color: #6B4DAB;
	font-size: 13px;
}
.ah-divider {
	padding-top: 14px;
	margin-top: 6px;
	border-top: 1px solid #E5DCF3;
}
.ah-cta-box {
	margin-top: 16px;
	padding: 16px;
	background: var(--ah-secondary);
	color: #fff;
	border-radius: 14px;
	text-align: center;
}
.ah-cta-title { font-size: 26px; line-height: 1; }
.ah-cta-text { font-size: 13px; margin-top: 4px !important; opacity: 0.95; }
.ah-cta-handle { font-weight: 700; font-size: 16px; margin-top: 4px !important; }

/* =============================================================================
   MODAL LGPD
   ============================================================================= */
.ah-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(45, 27, 94, 0.6);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.ah-modal {
	position: relative;
	width: 100%;
	max-width: 640px;
	max-height: 85vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}
.ah-modal-head {
	position: sticky;
	top: 0;
	padding: 16px 22px;
	background: var(--ah-secondary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-radius: 20px 20px 0 0;
	z-index: 1;
}
.ah-modal-title {
	display: flex;
	align-items: center;
	gap: 12px;
}
.ah-modal-title h2 { font-weight: 700; font-size: 17px; }
.ah-modal-close {
	padding: 6px;
	border-radius: 8px;
	color: #fff;
	transition: background 0.15s;
}
.ah-modal-close:hover { background: rgba(255,255,255,0.15); }
.ah-modal-body {
	padding: 20px 24px;
	font-size: 14px;
	line-height: 1.65;
	color: #1A0F3D;
}
.ah-modal-body p { margin-bottom: 14px !important; }
.ah-modal-body ul { padding-left: 8px; margin-bottom: 14px !important; }
.ah-modal-highlight { color: var(--ah-secondary); }
.ah-modal-note {
	color: color-mix(in srgb, var(--ah-secondary) 75%, white);
	font-size: 13px;
}
.ah-modal-body ul li {
	display: flex;
	gap: 8px;
	margin-bottom: 6px;
}
.ah-modal-body ul li::before {
	content: '›';
	color: var(--ah-secondary);
	font-weight: 700;
	flex-shrink: 0;
}
.ah-modal-foot {
	padding: 16px 24px;
	display: flex;
	justify-content: flex-end;
	border-top: 1px solid #E5DCF3;
}

/* =============================================================================
   LOADING OVERLAY + SPINNER
   ============================================================================= */
.ah-loading-overlay {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(45, 27, 94, 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.ah-loading-box {
	padding: 18px 22px;
	background: #fff;
	border-radius: 14px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--ah-primary);
	font-weight: 600;
}
.ah-spinner {
	color: var(--ah-secondary);
	display: inline-flex;
	animation: ah-spin 0.9s linear infinite;
}
@keyframes ah-spin {
	to { transform: rotate(360deg); }
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.ah-footer {
	position: relative;
	z-index: 2;
	margin-top: auto;
	padding: 14px 24px;
	text-align: center;
	background: var(--ah-primary);
	color: #fff;
}
.ah-footer p {
	font-size: 12px;
	opacity: 0.9;
}

/* =============================================================================
   PRINT
   ============================================================================= */
@media print {
	.ah-header, .ah-footer, .ah-bg, .ah-actions, .ah-back { display: none !important; }
}
