/* Adroit Installments
   Deliberately small and neutral so it inherits the active theme. */

.adroit-inst-cta {
	margin: 12px 0;
}

.adroit-inst-btn {
	display: inline-block;
	padding: 10px 18px;
	border: 0;
	border-radius: 6px;
	background: #1d5ff5;
	color: #fff;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	text-decoration: none;
}

.adroit-inst-btn:hover,
.adroit-inst-btn:focus {
	background: #164bc4;
	color: #fff;
}

.adroit-inst-notice {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-left: 3px solid #d98500;
	background: #fff8ec;
}

.adroit-inst-plan {
	margin: 0 0 20px;
	padding: 18px;
	border: 1px solid #e2e4e7;
	border-radius: 10px;
	background: #fff;
}

.adroit-inst-plan--suspended {
	border-color: #e0b4b4;
	background: #fff9f9;
}

.adroit-inst-plan__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.adroit-inst-plan__title {
	margin: 0;
	font-size: 1.05rem;
}

.adroit-inst-badge {
	padding: 3px 10px;
	border-radius: 999px;
	background: #eef1f5;
	font-size: 0.8rem;
	white-space: nowrap;
}

.adroit-inst-badge--active { background: #e6f4ea; }
.adroit-inst-badge--suspended { background: #fdecea; }
.adroit-inst-badge--completed { background: #e8eefc; }

.adroit-inst-suspended {
	margin: 10px 0 0;
	color: #8a1f11;
}

.adroit-inst-totals {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin: 14px 0;
	padding: 0;
	list-style: none;
}

.adroit-inst-totals li {
	display: flex;
	flex-direction: column;
	font-size: 0.9rem;
}

.adroit-inst-totals span {
	color: #6a6f76;
}

.adroit-inst-list {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.adroit-inst-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 9px 0;
	border-top: 1px solid #eef0f2;
}

.adroit-inst-row__amount {
	font-variant-numeric: tabular-nums;
}

.adroit-inst-row__status {
	font-size: 0.88rem;
	color: #6a6f76;
}

.adroit-inst-row--paid .adroit-inst-row__status { color: #1d7a3d; }
.adroit-inst-row--overdue .adroit-inst-row__status { color: #b32b1c; }

.adroit-inst-pay {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	flex-wrap: wrap;
}

.adroit-inst-pay__label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.85rem;
	color: #6a6f76;
}

.adroit-inst-hint {
	border-left-color: #2271b1;
	background: #f0f6fc;
	font-size: 0.85rem;
}

.adroit-inst-link {
	display: inline-block;
	margin-top: 6px;
	font-size: 0.9rem;
}
