.ott-installment-table {
	margin: 16px 0;
	overflow: hidden;
	border: 1px solid #dfe7f0;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 14px rgba( 15, 23, 42, .06 );
	color: #172033;
}

.ott-installment-table__heading {
	padding: 14px 15px 10px;
	background: linear-gradient( 135deg, #f8fbff 0%, #f1f7ff 100% );
}

.ott-installment-table__heading h2 {
	margin: 0 0 3px;
	font-size: 1.06em;
	line-height: 1.3;
	font-weight: 700;
}

.ott-installment-table__heading p,
.ott-installment-table__note {
	margin: 0;
	color: #526176;
	font-size: .84em;
	line-height: 1.4;
}

.ott-single-payment {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 10px 14px;
	padding: 10px 12px;
	border: 1px solid #dbeafe;
	border-radius: 8px;
	background: #f5f9ff;
	font-size: .9em;
	font-weight: 600;
}

.ott-single-payment strong {
	font-size: 1.08em;
	color: #0f3e74;
}

.ott-single-payment__amounts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.ott-unit-quantity {
	color: #526176;
	font-size: .82em;
	white-space: nowrap;
}

.ott-unit-quantity__times {
	padding: 0 2px;
}

.ott-bank td .ott-unit-quantity--row {
	display: inline;
	margin-left: 7px;
	color: #334155;
	font-size: .86em;
	font-weight: 700;
	vertical-align: middle;
}

.ott-bank td .ott-unit-quantity--row::before {
	content: '\2022';
	margin-right: 7px;
	color: #94a3b8;
}

.ott-row-unit-quantity {
	white-space: nowrap;
}

.ott-bank-tabs {
	display: flex;
	gap: 3px;
	overflow-x: auto;
	padding: 6px 8px;
	border-top: 1px solid #e7edf4;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
	white-space: nowrap;
	scrollbar-width: thin;
}

.ott-bank-tab {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 9px;
	border: 0;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	color: #475569;
	font-size: .82em;
	font-weight: 600;
	cursor: pointer;
}

.ott-bank-tab:hover,
.ott-bank-tab.is-active {
	background: #fff;
	color: #0f3e74;
}

.ott-bank-tab.is-active {
	border-color: #bfdbfe;
	box-shadow: 0 2px 6px rgba( 37, 99, 235, .1 );
}

.ott-bank-tab img {
	width: 20px;
	height: 16px;
	object-fit: contain;
}

.ott-installment-table__body {
	padding: 0 10px;
}

.ott-bank[hidden] {
	display: none !important;
}

.ott-bank table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: .9em;
	table-layout: fixed;
}

.ott-bank th,
.ott-bank td {
	padding: 9px 6px;
	border: 0;
	border-bottom: 1px solid #e7edf4;
	text-align: left;
	vertical-align: middle;
}

.ott-bank th {
	color: #64748b;
	font-size: .78em;
	font-weight: 700;
	letter-spacing: .025em;
	text-transform: uppercase;
	background: #f8fafc;
}

.ott-bank th:first-child,
.ott-bank td:first-child {
	width: 45%;
}

.ott-bank th:nth-child(n+2),
.ott-bank td:nth-child(n+2) {
	text-align: right;
	white-space: nowrap;
}

.ott-bank tbody tr:last-child td {
	border-bottom: 0;
}

.ott-bank tbody tr:not(:last-child):hover td {
	background: #fbfdff;
}

.ott-bank td small {
	display: inline-flex;
	margin-left: 4px;
	padding: 2px 4px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #526176;
	font-size: .72em;
	font-weight: 600;
}

.ott-bank td.ott-monthly,
.ott-bank td.ott-total {
	font-size: .98em;
	font-weight: 700;
}

.ott-bank td.ott-total {
	color: #0f3e74;
}

.ott-installment-table__note {
	padding: 9px 14px 11px;
	border-top: 1px solid #e7edf4;
}

@media (max-width: 640px) {
	.ott-installment-table__heading {
		padding: 12px 12px 8px;
	}

	.ott-single-payment {
		margin: 9px 12px;
	}

	.ott-installment-table__body {
		padding: 0 7px;
	}

	.ott-bank th,
	.ott-bank td {
		padding: 8px 4px;
	}

	.ott-installment-table__note {
		padding: 8px 12px 10px;
	}
}
