.cap-account {
	max-width: 900px;
	margin: 20px auto;
	font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1a1f2b;
}
.cap-offer-message {
	font-size: 14px;
	line-height: 1.6;
}
.cap-offer-message p:first-child {
	margin-top: 0;
}
.cap-offer-message p:last-child {
	margin-bottom: 0;
}
.cap-offer-message ul,
.cap-offer-message ol {
	margin: 0.5em 0;
	padding-left: 1.4em;
}
.cap-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}
.cap-header h2 {
	color: #1f3864;
	margin: 0 0 4px;
}
.cap-header-identity {
	display: flex;
	align-items: center;
	gap: 14px;
}
.cap-header-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}
.cap-welcome {
	margin: 0;
	color: #5a6675;
}
.cap-note {
	background: #fff2cc;
	border-left: 4px solid #bf8f00;
	padding: 10px 14px;
	color: #594100;
	font-size: 14px;
	border-radius: 4px;
	margin-bottom: 16px;
}
.cap-success {
	background: #eafaf1;
	border-left: 4px solid #0a7d3a;
	padding: 10px 14px;
	color: #0a5c2a;
	font-size: 14px;
	border-radius: 4px;
	margin-bottom: 16px;
}
.cap-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 2px solid #e5e5e5;
	margin-bottom: 20px;
}
.cap-nav-item {
	display: inline-block;
	padding: 10px 16px;
	text-decoration: none;
	color: #5a6675;
	font-weight: 600;
	font-size: 14px;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
}
.cap-nav-item:hover {
	color: #1f3864;
}
.cap-nav-item.active {
	color: #2e75b6;
	border-bottom-color: #2e75b6;
}
.cap-nav-logout {
	margin-left: auto;
}
.cap-new-badge {
	display: inline-block;
	background: #b42318;
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 10px;
	vertical-align: middle;
	margin-left: 4px;
}
.cap-card {
	background: #f9fafc;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 18px;
}
.cap-card h3 {
	margin-top: 0;
	color: #1f3864;
}
.cap-hint {
	font-size: 13px;
	color: #5a6675;
}
.cap-dl {
	display: grid;
	grid-template-columns: 160px 1fr;
	row-gap: 8px;
	column-gap: 12px;
	margin: 12px 0;
}
.cap-dl dt {
	font-weight: 600;
	color: #5a6675;
}
.cap-dl dd {
	margin: 0;
}
.cap-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 14px 0;
}
.cap-form-row-wide {
	grid-column: 1 / -1;
}
.cap-form-subheading {
	margin: 4px 0 0;
	padding-top: 14px;
	border-top: 1px solid #e5e5e5;
	color: #1f3864;
	font-size: 14px;
}
.cap-form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
}
.cap-form-row input[type="text"],
.cap-form-row input[type="tel"],
.cap-form-row select,
.cap-form-row textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}
.cap-submit {
	display: inline-block;
	background: #2e75b6;
	color: #fff;
	border: none;
	text-decoration: none;
	padding: 10px 22px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}
.cap-submit:hover {
	background: #1f5a91;
	color: #fff;
}
.cap-pay-now {
	background: #0a7d3a;
}
.cap-pay-now:hover {
	background: #08602c;
}
.cap-link {
	color: #2e75b6;
	font-weight: 600;
	text-decoration: none;
}
.cap-course-card h3 {
	margin-bottom: 6px;
}
.cap-big-stat {
	font-size: 34px;
	font-weight: 700;
	color: #1f3864;
	margin: 6px 0;
}
.cap-big-stat span {
	font-size: 14px;
	font-weight: 400;
	color: #5a6675;
	margin-left: 8px;
}
.cap-month {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	margin-bottom: 10px;
	background: #fff;
	overflow: hidden;
}
.cap-month-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	list-style: none;
}
.cap-month-summary::-webkit-details-marker {
	display: none;
}
.cap-month-summary::marker {
	content: "";
}
.cap-month-left {
	display: flex;
	align-items: center;
	gap: 6px;
}
.cap-month-caret {
	display: inline-block;
	color: #5a6675;
	transition: transform 0.15s ease;
}
.cap-month[open] .cap-month-caret {
	transform: rotate(90deg);
}
.cap-month-name {
	color: #1f3864;
}
.cap-month-stat {
	font-weight: 400;
	font-size: 13px;
	color: #5a6675;
}
.cap-month .cap-table {
	border-top: 1px solid #e5e5e5;
}
.cap-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.cap-table th,
.cap-table td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #e5e5e5;
}
.cap-status {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 12.5px;
	font-weight: 600;
}
.cap-status-present {
	background: #eafaf1;
	color: #0a5c2a;
}
.cap-status-absent {
	background: #fdecea;
	color: #a52418;
}
.cap-status-leave,
.cap-status-late {
	background: #fff2cc;
	color: #594100;
}
.cap-teacher-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.cap-teacher-photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}
.cap-teacher-info h3 {
	margin: 0 0 6px;
}
.cap-teacher-info p {
	margin: 0;
	color: #333;
	font-size: 14px;
	line-height: 1.5;
}
.cap-fee-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 14px 0;
}
.cap-fee-tile {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 14px;
	text-align: center;
}
.cap-fee-label {
	display: block;
	font-size: 12.5px;
	color: #5a6675;
	margin-bottom: 6px;
}
.cap-fee-amount {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: #1f3864;
}
.cap-fee-paid {
	color: #0a7d3a;
}
.cap-fee-due {
	color: #b42318;
}
@media (max-width: 600px) {
	.cap-dl {
		grid-template-columns: 1fr;
	}
	.cap-form-grid {
		grid-template-columns: 1fr;
	}
	.cap-fee-grid {
		grid-template-columns: 1fr;
	}
	.cap-teacher-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}
