/**
 * ASKPERTASK-REQUEST-MONETIZATION-FLOW-1A — Boost your/this request.
 * Mobile-first. Scoped entirely under apt-boost-* — no global theme
 * style is touched. Reuses HivePress's own .hp-modal/.hp-modal__content
 * shell (Fancybox) for structure/backdrop; only the inner content here
 * is custom.
 */

/* ---------- Post-publish CTA block ----------
   Visually distinct "opportunity" card (batch:
   claude/boost-postpublish-visual-polish-1a). Reuses the existing
   --apt-om-blue / --apt-bpd-blue-dark tokens already used sitewide
   (apt-offer-modal.css, apt-checkout-context.css, apt-business-profile-v2-
   route.css) — no new brand color introduced. Every selector below is
   scoped under .apt-boost-postpublish, including the primary trigger
   override, so the shared .apt-boost-trigger/--primary classes used by
   My Requests, the offer modal, and Listing/Placement Boost UI elsewhere
   on the site are completely untouched. */

.apt-boost-postpublish {
	position: relative;
	margin-top: 24px;
	padding: 24px 20px 20px;
	border: 1px solid #e4e7ec;
	border-left: 4px solid var(--apt-om-blue, #2D6CDF);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(16, 24, 40, 0.06);
	text-align: center;
}

.apt-boost-postpublish__badge {
	display: inline-block;
	margin: 0 0 12px;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--apt-om-blue, #2D6CDF);
	background: var(--apt-om-blue-light, #EAF1FD);
	border-radius: 999px;
}

.apt-boost-postpublish__icon {
	width: 44px;
	height: 44px;
	margin: 0 auto 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--apt-om-blue-light, #EAF1FD);
	color: var(--apt-om-blue, #2D6CDF);
	font-size: 18px;
}

.apt-boost-postpublish__lead {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 600;
	color: #1A1A1A;
	line-height: 1.4;
}

.apt-boost-postpublish__continue {
	margin: 14px 0 0;
	font-size: 13px;
}

.apt-boost-postpublish__continue a {
	color: #6b7280;
	text-decoration: underline;
}

/* Primary CTA — scoped to this card only. Deliberately NOT editing the
   shared .apt-boost-trigger--primary rule below, which also renders
   Listing Boost's "Boost your business" CTA and Placement Boost UI's
   trigger (out of scope for this batch). */
.apt-boost-postpublish .apt-boost-trigger--primary {
	background: var(--apt-om-blue, #2D6CDF);
	color: #fff;
}

.apt-boost-postpublish .apt-boost-trigger--primary:hover {
	background: var(--apt-bpd-blue-dark, #1E4FA8);
	box-shadow: 0 4px 16px rgba(45, 108, 223, 0.28);
}

/* ---------- Trigger buttons ---------- */

.apt-boost-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	background: #fff;
	color: #111827;
	border-color: #d1d5db;
}

.apt-boost-trigger--primary {
	background: #111827;
	color: #fff;
	width: 100%;
	max-width: 320px;
	padding: 12px 20px;
}

/* Small icon-free secondary CTA used inline in card/detail contexts. */
.apt-boost-trigger--card,
.apt-boost-trigger--owner {
	font-size: 13px;
	padding: 8px 14px;
}

/* ---------- Modal ---------- */

.apt-boost-modal .hp-modal__content {
	max-width: 440px;
	width: 100%;
	padding: 28px 24px;
	box-sizing: border-box;
}

.apt-boost-modal__title {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: #111827;
}

.apt-boost-modal__lead {
	margin: 0 0 20px;
	font-size: 14px;
	color: #6b7280;
}

.apt-boost-modal__field {
	margin-bottom: 16px;
}

.apt-boost-modal__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
}

.apt-boost-modal__input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	font-size: 15px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: #111827;
}

.apt-boost-modal__input:focus {
	outline: 2px solid #111827;
	outline-offset: 1px;
}

/* ---------- Quote display ---------- */

.apt-boost-modal__quote {
	margin: 18px 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: #f3f4f6;
	min-height: 44px;
}

.apt-boost-modal__quote-loading {
	margin: 0;
	font-size: 13px;
	color: #6b7280;
}

.apt-boost-quote-card__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	font-size: 13px;
	color: #4b5563;
	padding: 4px 0;
}

.apt-boost-quote-card__row + .apt-boost-quote-card__row {
	border-top: 1px solid #e5e7eb;
}

.apt-boost-quote-card__label {
	flex: 1;
}

.apt-boost-quote-card__value {
	font-weight: 700;
	color: #111827;
	white-space: nowrap;
}

.apt-boost-quote-card__badge {
	display: inline-block;
	margin-top: 8px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .02em;
	border-radius: 999px;
	background: #e5e7eb;
	color: #374151;
}

.apt-boost-quote-card__note {
	margin: 10px 0 0;
	padding: 8px 10px;
	font-size: 12px;
	line-height: 1.4;
	color: #6b5300;
	background: #fdf6e3;
	border-radius: 6px;
}

.apt-boost-quote-card__validity {
	margin: 10px 0 0;
	font-size: 11px;
	color: #9ca3af;
}

/* ---------- Errors ---------- */

.apt-boost-modal__error {
	margin: 0 0 14px;
	padding: 10px 12px;
	font-size: 13px;
	color: #991b1b;
	background: #fee2e2;
	border-radius: 8px;
}

/* ---------- Actions ---------- */

.apt-boost-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}

.apt-boost-modal__submit {
	width: 100%;
	padding: 13px 20px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	background: #111827;
	color: #fff;
}

.apt-boost-modal__submit:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.apt-boost-modal__cancel {
	width: 100%;
	padding: 10px;
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	background: transparent;
	border: none;
	cursor: pointer;
	text-decoration: underline;
}

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

@media (min-width: 768px) {
	.apt-boost-postpublish {
		padding: 28px 24px 24px;
	}

	.apt-boost-modal .hp-modal__content {
		padding: 32px 28px;
	}
}

@media (min-width: 1440px) {
	.apt-boost-modal .hp-modal__content {
		max-width: 480px;
	}
}

@media (max-width: 480px) {
	.apt-boost-modal .hp-modal__content {
		max-width: 100%;
		max-height: 90vh;
		overflow-y: auto;
	}
}

/* ---------- PWA-FIX-06B: a bought promotion shown in place of its own CTA, and an item's promotions ---------- */

.apt-promo-holding {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	max-width: 100%;
	padding: 6px 10px;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	background: #f9fafb;
	font-size: 13px;
	line-height: 1.4;
	color: #101828;
}
.apt-promo-holding__product { font-weight: 700; }
.apt-promo-holding__when { color: #475467; }
.apt-promo-holding__link { font-weight: 600; color: #155eef; text-decoration: underline; }

.apt-promo-holding .apt-promo-status__pill,
.apt-promo-target .apt-promo-status__pill { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid transparent; }
.apt-promo-status__pill--live { background: #ecfdf3; color: #067647; border-color: #abefc6; }
.apt-promo-status__pill--wait { background: #fffaeb; color: #b54708; border-color: #fedf89; }
.apt-promo-status__pill--off { background: #f2f4f7; color: #475467; border-color: #e4e7ec; }

.apt-promo-target { margin-top: 16px; scroll-margin-top: 80px; }
.apt-promo-target__title { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: #0b1b3b; }
.apt-promo-target .apt-promo-status { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.apt-promo-target .apt-promo-status__row { padding: 12px 14px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; min-width: 0; text-align: left; }
.apt-promo-target .apt-promo-status__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.apt-promo-target .apt-promo-status__product { font-weight: 800; color: #0b1b3b; }
.apt-promo-target .apt-promo-status__where { margin: 6px 0 8px; font-size: 14px; color: #475467; }
.apt-promo-target .apt-promo-status__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px 16px; margin: 0; }
.apt-promo-target .apt-promo-status__facts dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #667085; }
.apt-promo-target .apt-promo-status__facts dd { margin: 0; font-size: 14px; color: #101828; overflow-wrap: anywhere; }
.apt-promo-target .apt-promo-status__note { margin: 10px 0 0; font-size: 13px; color: #475467; }
