.chirp-payment-plans {
	margin: 1.5em 0;
	padding: 18px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.chirp-payment-plans__title {
	margin-top: 0;
}

.chirp-payment-plan {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 10px;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}

.chirp-payment-plan:last-of-type {
	border-bottom: 0;
}

.chirp-payment-plan input {
	margin-top: 4px;
	flex: 0 0 auto;
}

.chirp-payment-plan__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
}

.chirp-payment-plan__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.chirp-payment-plan__chevron {
	font-size: 1.25em;
	line-height: 1;
	font-weight: 400;
}

.chirp-payment-plan__details {
	display: none;
	flex-direction: column;
	gap: 6px;
}

.chirp-payment-plan.is-selected .chirp-payment-plan__details {
	display: flex;
}

.chirp-payment-plan.is-selected .chirp-payment-plan__chevron {
	font-weight: 600;
}

.chirp-payment-plan__details small,
.chirp-payment-plans__note {
	opacity: .75;
}

.chirp-payment-plan__details small {
	display: block;
	font-size: .92em;
	font-weight: 600;
	opacity: 1;
}

.chirp-payment-plan__amount {
	display: inline-block;
	font-size: 1.15em;
	font-weight: 600;
}

.chirp-payment-plans__note {
	line-height: 1.55;
}

.chirp-balance-payment {
	max-width: 560px;
	margin: 30px auto;
	padding: 25px;
	border: 1px solid #ddd;
}

.chirp-balance-payment input {
	width: 100%;
	box-sizing: border-box;
}

.chirp-balance-payment .button {
	margin-top: 8px;
}

.chirp-payment-amount-note {
	display: inline-block;
	margin-top: 6px;
}

/* Hide native WooCommerce subtotal/current-payment total rows because Chirp
 * renders the payment-event summary immediately below the plan choices. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total {
	display: none !important;
}

/* Every currency amount generated by Chirp on the checkout is NavajoWhite. */
#chirp-payment-plans .woocommerce-Price-amount,
#chirp-payment-plans .woocommerce-Price-currencySymbol,
.chirp-payment-amount-note .woocommerce-Price-amount,
.chirp-payment-amount-note .woocommerce-Price-currencySymbol {
	color: #ffdead !important;
}

#chirp-payment-plans .chirp-payment-plan__details small {
	color: inherit;
}

.chirp-payment-summary {
	margin-top: 18px;
	padding: 18px 20px;
	background: #fff;
	border-radius: 4px;
	color: #111;
}

.chirp-payment-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 7px 0;
	color: #111;
}

.chirp-payment-summary__row > span,
.chirp-payment-summary__row > strong,
.chirp-payment-summary__future-note,
.chirp-payment-summary__total > span,
.chirp-payment-summary__total > strong {
	color: #111 !important;
}

.chirp-payment-summary .woocommerce-Price-amount,
.chirp-payment-summary .woocommerce-Price-currencySymbol {
	color: #111 !important;
}

.chirp-payment-summary__row--future {
	padding-bottom: 4px;
}

.chirp-payment-summary__future-note {
	font-size: .9em;
	padding: 8px 0 0;
	opacity: .75;
}

.chirp-payment-summary__total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-top: 10px;
	padding-top: 14px;
	border-top: 1px solid #ddd;
	font-size: 1.12em;
	color: #111;
}

.chirp-payment-summary__total .woocommerce-Price-amount {
	font-size: 1.12em;
	font-weight: 700;
}
