/* Admissions page — Fee Structure beautify.
   Theme palette: dark blue #011b3a, green #81ca00, accent #00aaff. */

/* --- Section heading ------------------------------------------------ */

.sjs-fee-heading {
	margin: 0 0 22px;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
	color: #011b3a;
}

.sjs-fee-heading > span {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #7a8699;
}

/* --- Table ---------------------------------------------------------- */

.sjs-fee-table-wrap {
	overflow-x: auto;
	border: 1px solid #e4eaf1;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(1, 27, 58, 0.10);
	background: #ffffff;
	-webkit-overflow-scrolling: touch;
}

.sjs-fee-table {
	width: 100%;
	min-width: 620px;
	margin: 0 !important;
	border-collapse: collapse;
	font-size: 14.5px;
	line-height: 1.45;
}

.sjs-fee-table thead th {
	padding: 14px 18px;
	background: #011b3a;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	white-space: nowrap;
	border: none;
}

.sjs-fee-table thead th em {
	font-style: normal;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: #a8e05f;
}

.sjs-fee-table tbody td {
	padding: 11px 18px;
	border: none;
	border-bottom: 1px solid #edf1f6;
	vertical-align: middle;
	color: #3d4a5c;
}

/* Group separator — a stronger line where each level begins */
.sjs-fee-table tbody tr.sjs-group-start td {
	border-top: 2px solid #d7e0ea;
}

.sjs-fee-table tbody tr:first-child td {
	border-top: none;
}

/* Level cell (rowspan) */
.sjs-fee-table td.sjs-level {
	background: #f4f8ee;
	border-left: 4px solid #81ca00;
	border-right: 1px solid #e4eaf1;
	vertical-align: top;
	padding-top: 16px;
	min-width: 130px;
}

.sjs-fee-table td.sjs-level strong {
	display: block;
	color: #011b3a;
	font-size: 15px;
}

.sjs-fee-table td.sjs-level span {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	font-weight: 400;
	color: #7a8699;
}

.sjs-fee-table td.sjs-item {
	font-weight: 600;
	color: #011b3a;
	white-space: nowrap;
}

/* Money columns */
.sjs-fee-table th.sjs-col-num,
.sjs-fee-table td.sjs-num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* Inline note row (e.g. "KG1 Meals Free") */
.sjs-fee-table tr.sjs-note-row td {
	padding: 7px 18px;
	background: #fbfdf5;
	font-size: 12.5px;
	color: #6b8a2a;
	border-bottom: 1px solid #edf1f6;
}

/* Total row */
.sjs-fee-table tr.sjs-total td {
	background: #eaf4fb;
	border-bottom: none;
	font-weight: 700;
	color: #011b3a;
}

.sjs-fee-table tr.sjs-total td.sjs-num {
	color: #01579b;
}

/* Subtle row hover (skip the rowspan level cell so it stays put) */
.sjs-fee-table tbody tr:not(.sjs-note-row):hover td:not(.sjs-level) {
	background: #f7fafd;
}

.sjs-fee-table tbody tr.sjs-total:hover td:not(.sjs-level) {
	background: #e2eef9;
}

/* --- Notes under the table ------------------------------------------ */

ul.sjs-fee-notes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 18px 0 0;
	padding: 16px 20px;
	list-style: none;
	background: #f4f8ee;
	border: 1px solid #e0ecce;
	border-left: 4px solid #81ca00;
	border-radius: 10px;
}

ul.sjs-fee-notes li {
	position: relative;
	flex: 1 1 300px;
	margin: 0;
	padding-left: 20px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #4a5568;
}

ul.sjs-fee-notes li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: #81ca00;
}

/* --- Responsive ------------------------------------------------------ */

@media (max-width: 767px) {
	.sjs-fee-heading {
		font-size: 19px;
	}

	.sjs-fee-table {
		font-size: 13.5px;
	}

	.sjs-fee-table thead th,
	.sjs-fee-table tbody td {
		padding: 9px 12px;
	}
}
