/* OfferPact Checkout Pro subscriptions. Free's one-time popup stylesheet is loaded re-scoped to #ivcc-pro-sub (sheet
   width, head, fields, payment method rows, buttons, secure footer, mobile bottom sheet); these are small additions. */
#ivcc-pro-sub .ivcc-sub-per { font-size: 14px; font-weight: 500; color: var(--ivcc-muted); }
#ivcc-pro-sub .ivcc-sub-form { display: block; }
#ivcc-pro-sub .ivcc-sub-card-area { display: block; min-width: 0; }
#ivcc-pro-sub .ivcc-sub-hint { margin: 0; }
#ivcc-pro-sub .ivcc-sub-card-area .ivcc-pe { min-height: 0; }
#ivcc-pro-sub .ivcc-sub-summary { margin: 16px 0 10px; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--ivcc-ink); font-variant-numeric: tabular-nums; }
#ivcc-pro-sub .ivcc-sub-consent { margin: 0; }
#ivcc-pro-sub .ivcc-sub-consent a { white-space: nowrap; }
#ivcc-pro-sub .ivcc-check input[aria-invalid="true"] { outline: 2px solid #d92d20; outline-offset: 1px; }
#ivcc-pro-sub .ivcc-sub-submit { margin-top: 14px; }
#ivcc-pro-sub .ivcc-btn--paypal { font-weight: 700; }
#ivcc-pro-sub .ivcc-sub-status { padding: 4px 0; }
#ivcc-pro-sub .ivcc-sub-status__icon { display: flex; justify-content: center; align-items: center; min-height: 48px; }
#ivcc-pro-sub .ivcc-sub-status__icon--info { min-height: 0; }
#ivcc-pro-sub .ivcc-sub-status__icon--wait .ivcc-spin { width: 28px; height: 28px; }
#ivcc-pro-sub .ivcc-sub-status-msg { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--ivcc-text); }
#ivcc-pro-sub .ivcc-sub-status .ivcc-fine a { color: var(--ivcc-link); text-decoration: underline; }
#ivcc-pro-sub [hidden] { display: none !important; }
#ivcc-pro-sub .ivcc-x { width: 44px; height: 44px; top: 8px; right: 8px; } /* same glyph as the one-time popup, 44px touch target */

/* Subscriber self-service page ([ivcc_manage_subscription]): the checkout's look (tokens, fields, buttons) as a
   centered card. Colours come from these tokens; the accent from the site's OfferPact style (inline variables). */
.ivcc-sub-manage {
	--ivcc-accent: #2563eb; --ivcc-on-accent: #fff; --ivcc-radius: 8px; --ivcc-field-radius: 6px;
	--ivcc-ink: #1a1f2c; --ivcc-text: #3d4452; --ivcc-muted: #5f6878; --ivcc-line: #e3e6eb; --ivcc-bg: #fff; --ivcc-soft: #f6f7f9;
	--ivcc-input-line: #878f9c; --ivcc-link: #1d4ed8; --ivcc-focus: color-mix(in srgb, var(--ivcc-accent) 45%, transparent);
	--ivcc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, Arial, sans-serif;
	box-sizing: border-box; width: 100%; max-width: 520px; margin: 32px auto; padding: 28px 28px 22px;
	background: var(--ivcc-bg); color: var(--ivcc-ink); border: 1px solid var(--ivcc-line); border-radius: 12px;
	box-shadow: 0 12px 32px -16px rgba(17,24,39,.22); font: 400 15px/1.5 var(--ivcc-font); text-align: left;
}
.ivcc-sub-manage *, .ivcc-sub-manage *::before, .ivcc-sub-manage *::after { box-sizing: border-box; }
.ivcc-sub-manage p { margin: 0; }
.ivcc-sub-manage__title { margin: 0 0 6px; font: 600 20px/1.3 var(--ivcc-font); color: var(--ivcc-ink); letter-spacing: 0; text-transform: none; }
.ivcc-sub-manage .ivcc-sub-manage__lead { margin: 0 0 18px; color: var(--ivcc-text); font-size: 14px; }
.ivcc-sub-manage__form { display: block; }
.ivcc-sub-manage label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--ivcc-text); }
.ivcc-sub-manage input[type=email] {
	display: block; width: 100%; height: 44px; margin: 0; padding: 0 12px; border: 1px solid var(--ivcc-input-line); border-radius: var(--ivcc-field-radius);
	background: #fff; color: var(--ivcc-ink); font: 400 16px/1.2 var(--ivcc-font); box-shadow: 0 1px 1px rgba(17,24,39,.04); appearance: none;
}
.ivcc-sub-manage input[type=email]:focus { outline: 0; border-color: color-mix(in srgb, var(--ivcc-accent) 70%, var(--ivcc-input-line)); box-shadow: 0 0 0 3px var(--ivcc-focus); }
.ivcc-sub-manage input[aria-invalid="true"] { border-color: #d92d20; }
.ivcc-sub-manage .ivcc-btn {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 14px 0 0; padding: 12px 16px; border: 0;
	border-radius: min(var(--ivcc-radius), 24px); background: var(--ivcc-accent); color: var(--ivcc-on-accent); font: 600 16px/1.25 var(--ivcc-font);
	text-decoration: none; cursor: pointer; box-shadow: 0 1px 2px rgba(17,24,39,.12);
}
.ivcc-sub-manage .ivcc-btn:hover:not(:disabled) { filter: brightness(1.06); }
.ivcc-sub-manage .ivcc-btn:disabled { opacity: .55; cursor: progress; }
.ivcc-sub-manage .ivcc-btn--ghost { background: transparent; color: var(--ivcc-ink); border: 1px solid var(--ivcc-input-line); box-shadow: none; }
.ivcc-sub-manage .ivcc-btn--danger { background: #b42318; color: #fff; }
.ivcc-sub-manage .ivcc-link { display: inline-flex; align-items: center; min-height: 44px; margin: 6px 0 0; padding: 0 2px; border: 0; background: none; color: var(--ivcc-link); font: 500 14px/1.4 var(--ivcc-font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ivcc-sub-manage .ivcc-link--danger { color: #b42318; }
.ivcc-sub-manage :is(.ivcc-btn, .ivcc-link, a):focus-visible { outline: 2px solid var(--ivcc-focus); outline-offset: 2px; }
.ivcc-sub-manage a { color: var(--ivcc-link); }
.ivcc-sub-manage .ivcc-sub-manage__fine { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--ivcc-muted); }
.ivcc-sub-manage__back { display: inline-block; margin: 18px 0 0; font-size: 14px; }
.ivcc-sub-manage .ivcc-sub-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--ivcc-field-radius); font-size: 14px; line-height: 1.45; background: #eff4fe; color: #1e3a8a; }
.ivcc-sub-manage .ivcc-sub-msg--error { background: #fdf2f1; color: #9b1c14; }
.ivcc-sub-manage .ivcc-sub-msg--ok { background: #e7f6ec; color: #166534; }
.ivcc-sub-manage .ivcc-sub-msg:empty { display: none; } /* live region stays in the accessibility tree */
.ivcc-sub-manage .ivcc-sub-manage__notice { margin: 0 0 16px; padding: 10px 12px; border-radius: var(--ivcc-field-radius); background: #fdf3d8; color: #7c4a03; font-size: 14px; }
.ivcc-sub-card { margin: 12px 0 0; padding: 16px; border: 1px solid var(--ivcc-line); border-radius: 10px; background: var(--ivcc-bg); }
.ivcc-sub-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ivcc-sub-card__name { font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--ivcc-ink); overflow-wrap: anywhere; }
.ivcc-sub-manage .ivcc-sub-card__meta { margin: 4px 0 0; font-size: 14px; color: var(--ivcc-text); font-variant-numeric: tabular-nums; }
.ivcc-sub-manage .ivcc-sub-card__when { margin: 2px 0 0; font-size: 14px; color: var(--ivcc-muted); }
.ivcc-sub-manage .ivcc-sub-card__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ivcc-muted); }
.ivcc-sub-manage .ivcc-sub-card__confirm { margin: 12px 0 0; padding: 12px; border-radius: var(--ivcc-field-radius); background: var(--ivcc-soft); font-size: 14px; color: var(--ivcc-text); }
.ivcc-sub-card__confirm .ivcc-btn { margin-top: 10px; }
.ivcc-sub-pill { flex: none; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.6; background: #eef0f3; color: #3d4452; white-space: nowrap; }
.ivcc-sub-pill--active { background: #e7f6ec; color: #166534; }
.ivcc-sub-pill--attention { background: #fdf3d8; color: #7c4a03; }
.ivcc-sub-pill--ended { background: #f1f2f4; color: #5f6878; }
.ivcc-sub-manage [hidden] { display: none !important; }
@media (max-width: 600px) {
	/* Flat on phones: some themes give content no side padding, so a bordered card would touch the screen edges. */
	.ivcc-sub-manage { margin: 8px auto; padding: 12px 16px 18px; border: 0; border-radius: 0; box-shadow: none; }
	.ivcc-sub-card { padding: 14px; }
}
