/* Add here all your CSS customizations */

.yoduuka-back-area {
	float: left;
	height: 56px;
	display: flex;
	align-items: center;
	margin-left: 14px;
}

.yoduuka-back-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 40px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	background: #f4f8ff;
	color: #1769e0;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.yoduuka-back-button i {
	font-size: 23px;
	line-height: 1;
}

.yoduuka-back-button:hover,
.yoduuka-back-button:focus {
	background: #e7f1ff;
	border-color: #b9d2f5;
	color: #0d4fb6;
	outline: none;
}

.yoduuka-back-button:active {
	transform: translateX(-2px);
}

@media only screen and (max-width: 575px) {
	.yoduuka-back-area {
		margin-left: 10px;
	}

	.yoduuka-back-button {
		width: 38px;
		min-width: 38px;
		padding: 0;
	}
}

/* Customer installments */
.content-body.card-margin.installment-page {
	padding-top: 30px;
}

.content-body.card-margin.installment-page .card {
	margin-top: 0;
}

.content-body.card-margin.installment-page .page-header {
	margin-bottom: 30px;
}

.installment-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	margin-bottom: 22px;
	padding: 24px 26px;
	border-radius: 18px;
	background: linear-gradient(135deg, #123b63 0%, #0b79a8 100%);
	box-shadow: 0 12px 30px rgba(18, 59, 99, .16);
	color: #fff;
}

.installment-hero h3 {
	margin: 0 0 5px;
	color: #fff;
	font-size: 1.35rem;
}

.installment-hero p,
.installment-hero small {
	margin: 0;
	color: rgba(255, 255, 255, .78) !important;
}

.installment-hero .btn {
	flex: 0 0 auto;
	border: 0;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
}

.installment-hero > .d-flex {
	flex-wrap: wrap;
}

.installment-stat-grid {
	margin-bottom: 22px;
}

.installment-stat-card {
	position: relative;
	height: 100%;
	min-height: 142px;
	overflow: hidden;
	border: 1px solid #e6ebf2;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(33, 52, 82, .07);
}

.installment-stat-card::after {
	content: "";
	position: absolute;
	right: -32px;
	top: -36px;
	width: 105px;
	height: 105px;
	border-radius: 50%;
	background: var(--installment-tint);
}

.installment-stat-card .card-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: 18px;
}

.installment-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 15px;
	border-radius: 11px;
	background: var(--installment-tint);
	color: var(--installment-color);
	font-size: 1.35rem;
}

.installment-stat-label {
	display: block;
	margin-bottom: 4px;
	color: #7b8797;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.installment-stat-value {
	display: block;
	color: #243247;
	font-size: clamp(1.1rem, 1.8vw, 1.42rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.025em;
}

.installment-stat-blue { --installment-color: #1677c8; --installment-tint: #e8f4ff; }
.installment-stat-red { --installment-color: #d94949; --installment-tint: #fff0f0; }
.installment-stat-green { --installment-color: #1c9b68; --installment-tint: #e9f8f1; }
.installment-stat-purple { --installment-color: #7758c7; --installment-tint: #f1edff; }
.installment-stat-orange { --installment-color: #d87b1f; --installment-tint: #fff4e8; }

.installment-panel {
	overflow: hidden;
	border: 1px solid #e5eaf1;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(33, 52, 82, .06);
}

.installment-panel > .card-header {
	padding: 18px 20px;
	border-bottom-color: #edf0f4;
	background: #fff;
}

.installment-panel .table thead th {
	border-top: 0;
	background: #f7f9fc;
	color: #768294;
	font-size: .69rem;
	letter-spacing: .035em;
	text-transform: uppercase;
}

.installment-panel .table td {
	padding-top: 14px;
	padding-bottom: 14px;
	vertical-align: middle;
}

.installment-form-card {
	margin-bottom: 22px;
	overflow: hidden;
	border: 1px solid #e5eaf1;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(33, 52, 82, .06);
}

.installment-select-result strong {
	color: #27364a;
}

.installment-select-result small {
	color: #6f7d8f;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] .installment-select-result strong,
.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] .installment-select-result small {
	color: #fff !important;
}

@media only screen and (max-width: 767px) {
	.content-body.card-margin.installment-page {
		padding-top: 0;
	}

	.content-body.card-margin.installment-page .page-header {
		margin-bottom: 26px;
	}

	.installment-hero {
		align-items: stretch;
		flex-direction: column;
		padding: 20px;
	}

	.installment-hero .btn {
		width: 100%;
	}

	.installment-hero > .d-flex {
		display: grid !important;
		grid-template-columns: 1fr;
		width: 100%;
	}

	.installment-stat-card {
		min-height: 132px;
	}

	.installment-stat-card .card-body {
		padding: 15px;
	}

	.installment-stat-value {
		font-size: 1.05rem;
	}
}
