/* Checkout Form — matches Checkout - Individual Nonprofit.html */

.agp-checkout-section {
	--agp-teal: #1AA18C;
	--agp-teal-deep: #148A77;
	--agp-mint: #E6F7F5;
	--agp-navy: #0D1B2A;
	--agp-navy-soft: #1F2A3A;
	--agp-slate: #6B7280;
	--agp-success: #059669;
	--agp-border: #E5E7EB;
	--agp-bg-summary: #F3FAF8;
	color: var(--agp-navy);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	padding: 56px 32px 80px;
	-webkit-font-smoothing: antialiased;
}

.agp-checkout-container {
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.agp-checkout-summary {
	background: var(--agp-checkout-left-bg, var(--agp-bg-summary));
	border-radius: 18px;
	padding: 30px 32px;
}

.agp-checkout-brand {
	font-size: 15px;
	font-weight: 600;
	color: var(--agp-navy-soft);
}

.agp-checkout-headline {
	font-size: 20px;
	font-weight: 700;
	margin-top: 22px;
	color: var(--agp-navy);
}

.agp-checkout-trial-title {
	font-size: 46px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin-top: 6px;
	color: var(--agp-navy);
}

.agp-checkout-trial-title__unit {
	font-size: 22px;
	font-weight: 700;
	color: var(--agp-slate);
	letter-spacing: 0;
}

.agp-checkout-trial-subtitle {
	font-size: 14.5px;
	color: var(--agp-slate);
	margin-top: 8px;
}

.agp-checkout-plan-label {
	font-size: 13px;
	font-weight: 700;
	margin-top: 26px;
	margin-bottom: 10px;
	color: var(--agp-navy);
}

.agp-checkout-plans {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.agp-checkout-plan {
	position: relative;
	text-align: left;
	padding: 14px 16px;
	border-radius: 12px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	background: #fff;
	border: 1.5px solid var(--agp-border);
	box-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
	font-family: inherit;
	color: inherit;
}

.agp-checkout-plan.is-active {
	border-color: var(--agp-teal);
	box-shadow: 0 0 0 3px rgba(26, 161, 140, 0.14);
}

.agp-checkout-plan__badge {
	position: absolute;
	top: -10px;
	right: 12px;
	font-size: 10.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--agp-teal);
	color: #fff;
}

.agp-checkout-plan__top {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
}

.agp-checkout-plan__radio {
	width: 16px;
	height: 16px;
	border-radius: 999px;
	flex-shrink: 0;
	border: 2px solid #C7CDD4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.agp-checkout-plan.is-active .agp-checkout-plan__radio {
	border-color: var(--agp-teal);
}

.agp-checkout-plan__dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var(--agp-teal);
	display: none;
}

.agp-checkout-plan.is-active .agp-checkout-plan__dot {
	display: block;
}

.agp-checkout-plan__price {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-top: 8px;
	color: var(--agp-navy);
}

.agp-checkout-plan__unit {
	font-size: 13px;
	font-weight: 600;
	color: var(--agp-slate);
}

.agp-checkout-plan__note {
	font-size: 12px;
	color: var(--agp-slate);
	margin-top: 2px;
}

.agp-checkout-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 26px;
}

.agp-checkout-item__name {
	font-size: 15px;
	font-weight: 700;
	color: var(--agp-navy);
}

.agp-checkout-badge {
	font-size: 13px;
	font-weight: 600;
	padding: 4px 11px;
	border-radius: 999px;
	background: #E1F3EF;
	color: var(--agp-teal-deep);
}

.agp-checkout-badge.is-muted {
	background: #E7ECF2;
	color: var(--agp-navy-soft);
}

.agp-checkout-item-desc {
	font-size: 14px;
	color: var(--agp-slate);
	line-height: 1.55;
	margin-top: 8px;
}

.agp-checkout-divider {
	height: 1px;
	background: var(--agp-border);
	margin: 20px 0;
}

.agp-checkout-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 14.5px;
	padding: 6px 0;
}

.agp-checkout-row.is-strong {
	font-size: 15.5px;
	font-weight: 700;
}

.agp-checkout-row.is-muted {
	color: var(--agp-navy-soft);
}

.agp-checkout-row.is-muted .agp-checkout-row__value.is-emphasis {
	font-weight: 700;
	color: var(--agp-navy);
}

.agp-checkout-save-line {
	font-size: 13px;
	font-weight: 600;
	color: var(--agp-success);
	padding-top: 0;
}

.agp-checkout-promo-area {
	margin-top: 10px;
}

.agp-checkout-promo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--agp-border);
	font-size: 13.5px;
	font-weight: 500;
	font-family: inherit;
	color: var(--agp-navy);
	cursor: pointer;
}

.agp-checkout-promo-row {
	display: flex;
	gap: 12px;
	margin-top: 10px;
	align-items: flex-start;
}

.agp-checkout-promo-row .agp-checkout-promo-input-row {
	display: flex;
	gap: 10px;
	align-items: center;
	flex: 1;
	min-width: 0;
}

.agp-checkout-promo-row .agp-checkout-promo-input-row .agp-checkout-input {
	flex: 1;
	min-width: 0;
}

.agp-checkout-promo-apply-btn {
	flex-shrink: 0;
	padding: 10px 18px;
	border-radius: 8px;
	border: 1px solid var(--agp-teal);
	background-color: var(--agp-teal);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
}

.agp-checkout-promo-apply-btn:hover {
	background-color: var(--agp-teal-deep);
	border-color: var(--agp-teal-deep);
}

.agp-checkout-promo-field .agp-checkout-form-label {
	margin-bottom: 6px;
}

.agp-checkout-promo-hint {
	font-size: 12px;
	color: var(--agp-slate);
	margin: 4px 0 0;
}

.agp-checkout-promo-feedback {
	margin-top: 6px;
	font-size: 13px;
}

.agp-checkout-promo-feedback.agp-promo-success {
	color: var(--agp-teal);
}

.agp-checkout-promo-feedback.agp-promo-error {
	color: #ef4444;
}

.agp-checkout-promo-applied {
	margin-top: 10px;
	display: none;
}

.agp-checkout-promo-applied.is-visible {
	display: block;
}

.agp-checkout-promo-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--agp-border);
	border-radius: 8px;
	padding: 6px 8px 6px 10px;
}

.agp-checkout-promo-chip-icon {
	display: inline-flex;
	color: var(--agp-slate);
}

.agp-checkout-promo-chip-code {
	font-size: 13px;
	font-weight: 700;
	color: var(--agp-navy);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.agp-checkout-promo-chip-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: #EEF1F4;
	border-radius: 4px;
	color: var(--agp-slate);
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
}

.agp-checkout-promo-chip-close:hover {
	background: #E5E7EB;
	color: var(--agp-navy);
}

.agp-checkout-promo-applied-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
}

.agp-checkout-promo-applied-discount-text {
	font-size: 12px;
	color: var(--agp-teal);
	font-weight: 500;
}

.agp-checkout-promo-applied-discount-value {
	font-size: 13px;
	font-weight: 600;
	color: var(--agp-navy);
}

.agp-checkout-form-card {
	border: 1px solid var(--agp-border);
	border-radius: 18px;
	padding: 30px 30px 32px;
	background: #fff;
}

.agp-checkout-form-title {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 22px;
	color: var(--agp-navy);
}

.agp-checkout-form-group {
	margin-bottom: 16px;
}

.agp-checkout-form-label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--agp-navy);
}

.agp-checkout-input {
	width: 100%;
	border-radius: 8px;
	border: 1px solid var(--agp-border);
	padding: 10px 12px;
	font-size: 14.5px;
	font-family: inherit;
	box-sizing: border-box;
	background: #fff;
	color: var(--agp-navy);
}

.agp-checkout-input:focus {
	outline: none;
	border-color: var(--agp-teal);
	box-shadow: 0 0 0 3px rgba(26, 161, 140, 0.14);
}

.agp-checkout-input.agp-checkout-input-error {
	border-color: #ef4444;
	box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.25);
}

.agp-checkout-email-feedback {
	margin-top: 4px;
	font-size: 12px;
	color: #ef4444;
}

.agp-checkout-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.agp-checkout-payment-title {
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--agp-navy);
}

#agp-card-element.agp-checkout-input,
.agp-checkout-card-el {
	padding: 12px 13px;
	min-height: 44px;
}

.agp-checkout-submit-btn {
	width: 100%;
	margin-top: 8px;
	padding: 14px 18px;
	border-radius: 999px;
	border: none;
	background: var(--agp-teal);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s;
}

.agp-checkout-submit-btn:hover {
	background: var(--agp-teal-deep);
}

.agp-checkout-submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.agp-checkout-fine {
	font-size: 12px;
	color: var(--agp-slate);
	text-align: center;
	margin-top: 12px;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.agp-checkout-section {
		padding: 36px 16px 56px;
	}

	.agp-checkout-container {
		grid-template-columns: 1fr;
	}

	.agp-checkout-trial-title {
		font-size: 36px;
	}

	.agp-checkout-plans {
		grid-template-columns: 1fr;
	}

	.agp-checkout-two-col {
		grid-template-columns: 1fr;
	}
}
