/* FFL Overwatch Connect — My Account › Layaways + the pay page. Structure and spacing only; the
   dealer theme owns colours and type (design §5.10 inherit-don't-impose). */
.fflo-plan-card,
.fflo-pay-card {
	border: 1px solid rgba(127, 127, 127, 0.35);
	padding: 1.25rem 1.4rem 1.4rem;
	margin: 0 0 1.25rem;
}
.fflo-pay-page {
	max-width: 36rem;
	margin: 2rem auto;
	padding: 0 1rem;
}
.fflo-plan__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 0 0 1rem;
}
.fflo-plan__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.fflo-plan__number,
.fflo-pay__title {
	margin: 0;
	line-height: 1.1;
}
.fflo-status {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 32px;
	padding: 0 0.75rem;
	border: 1px solid currentColor;
	font-weight: 700;
	white-space: nowrap;
}
.fflo-plan__progress {
	margin: 0 0 1.1rem;
}
.fflo-progress {
	height: 10px;
	background: rgba(127, 127, 127, 0.25);
	overflow: hidden;
}
.fflo-progress__bar {
	display: block;
	height: 100%;
	background: currentColor;
}
.fflo-progress__label {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0.45rem 0 0;
	font-size: 0.9em;
}
.fflo-money {
	margin: 0 0 1.1rem;
	font-variant-numeric: tabular-nums;
}
.fflo-money__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(127, 127, 127, 0.25);
}
.fflo-money__row:last-child {
	border-bottom: 0;
}
.fflo-money dt,
.fflo-money dd {
	margin: 0;
}
.fflo-money dd {
	font-weight: 700;
	text-align: right;
}
.fflo-money__row--owed {
	font-size: 1.1em;
}
.fflo-money__row--owed dd {
	font-size: 1.3em;
}
.fflo-plan__section {
	margin: 0 0 1.1rem;
}
.fflo-items {
	list-style: none;
	margin: 0;
	padding: 0;
}
.fflo-items__row {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid rgba(127, 127, 127, 0.25);
}
.fflo-items__row:last-child {
	border-bottom: 0;
}
.fflo-items__qty {
	font-weight: 700;
	min-width: 2.2em;
}
.fflo-items__name {
	flex: 1;
}
.fflo-items__sku {
	font-size: 0.85em;
	white-space: nowrap;
}
.fflo-history {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}
.fflo-history th,
.fflo-history td {
	padding: 0.45rem 0.5rem;
	text-align: left;
	border-bottom: 1px solid rgba(127, 127, 127, 0.25);
}
.fflo-history th:first-child,
.fflo-history td:first-child {
	padding-left: 0;
}
.fflo-history__amount {
	text-align: right !important;
	font-weight: 700;
}
.fflo-plan__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 0.25rem 0 0;
}
.fflo-btn {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 1.4rem;
	cursor: pointer;
}
.fflo-btn--wide {
	width: 100%;
}
.fflo-plan__actions-note {
	font-size: 0.9em;
}
.fflo-pay-form {
	margin: 0.5rem 0 0;
}
.fflo-pay-amount {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	margin: 0 0 0.6rem;
}
.fflo-pay-amount__symbol {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	font-size: 1.2em;
}
.fflo-pay-amount input {
	flex: 1;
	min-height: 48px;
	font-size: 1.2em;
	font-variant-numeric: tabular-nums;
	padding: 0 0.75rem;
}
.fflo-pay-amount__full {
	min-height: 48px;
	padding: 0 1rem;
	cursor: pointer;
	white-space: nowrap;
}
.fflo-pay-form__hint {
	margin: 0 0 1rem;
	font-size: 0.9em;
	line-height: 1.5;
}
.fflo-error {
	border: 1px solid currentColor;
	padding: 0.75rem 1rem;
	margin: 0 0 1rem;
}
@media (max-width: 480px) {
	.fflo-pay-amount {
		flex-wrap: wrap;
	}
	.fflo-pay-amount__full {
		width: 100%;
	}
}

/* My Account › Membership (memberships slice g). Same inherit-don't-impose rule: structure only. */
.fflo-ms-number {
	margin: 0.35rem 0 0;
	font-size: 0.9em;
}
.fflo-ms-detail {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid currentColor;
	line-height: 1.5;
}
.fflo-ms-fact dd {
	max-width: 60%;
	line-height: 1.45;
}
.fflo-ms-fact small {
	font-weight: 400;
	font-size: 0.85em;
}
.fflo-ms-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.fflo-ms-list li {
	padding: 0.4rem 0;
	border-bottom: 1px solid rgba(127, 127, 127, 0.25);
}
.fflo-ms-list li:last-child {
	border-bottom: 0;
}
.fflo-ms-list small {
	font-size: 0.85em;
	opacity: 0.85;
}
.fflo-ms-form {
	display: inline-block;
	margin: 0;
}
.fflo-ms-confirm {
	flex: 1 1 100%;
}
.fflo-ms-card .fflo-plan__actions {
	margin: 0.25rem 0 1.1rem;
}
/* The quiet button: an outline in the text colour. Not .fflo-btn on purpose — that is the theme's filled primary, and a
   cancel is never the page's call to action. */
.fflo-ms-confirm__summary {
	list-style: none;
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 1.4rem;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	width: max-content;
	max-width: 100%;
}
.fflo-ms-confirm__summary:hover,
.fflo-ms-confirm__summary:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.fflo-ms-confirm[open] .fflo-ms-confirm__summary::after {
	content: '';
}
.fflo-ms-confirm__summary::-webkit-details-marker {
	display: none;
}
.fflo-ms-confirm__summary::after {
	content: '\2026';
}
.fflo-ms-confirm__body {
	margin: 0.75rem 0 0;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(127, 127, 127, 0.35);
	max-width: 40rem;
}
.fflo-ms-confirm__body p {
	margin: 0 0 0.75rem;
	line-height: 1.5;
}
@media (max-width: 600px) {
	.fflo-ms-fact {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.2rem;
	}
	.fflo-ms-fact dd {
		max-width: 100%;
		text-align: left;
	}
}

/* Seats (memberships slice h): a seat row is name + tag on the left, its confirmation on the right; the invite form is one line. */
.fflo-ms-seat {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
}
.fflo-ms-seat .fflo-ms-confirm {
	flex: 0 1 auto;
	text-align: right;
}
.fflo-ms-seat .fflo-ms-confirm__summary {
	min-height: 40px;
	padding: 0 1rem;
	font-size: 0.9em;
}
.fflo-ms-seat .fflo-ms-confirm__body {
	text-align: left;
}
.fflo-ms-invite {
	margin: 1rem 0 0;
}
.fflo-ms-invite label {
	display: block;
	font-weight: 700;
	margin: 0 0 0.4rem;
}
.fflo-ms-invite__row {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.fflo-ms-invite__row input[type="email"] {
	flex: 1 1 16rem;
	min-height: 48px;
	padding: 0 0.75rem;
}

/* Change tier (memberships slice i): one row per target tier — name + price on the left, its confirmation on the right. */
.fflo-ms-tier {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
}
.fflo-ms-tier__what small {
	display: block;
	margin-top: 0.15rem;
}
.fflo-ms-tier .fflo-ms-confirm {
	flex: 0 1 auto;
	text-align: right;
}
.fflo-ms-tier .fflo-ms-confirm__summary {
	min-height: 40px;
	padding: 0 1rem;
	font-size: 0.9em;
}
.fflo-ms-tier .fflo-ms-confirm__body {
	text-align: left;
}

/* Add payment method › the billing address of the card being added. The fields themselves keep WooCommerce's own
   address-form classes, so the dealer theme styles them exactly as it styles Edit address. */
.fflo-card-address {
	margin: 1.5rem 0;
}
.fflo-card-address > p {
	margin: 0 0 0.75rem;
}
