.srp-search-wrap {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
}

.srp-exam-list {
	margin-bottom: 18px;
	text-align: center;
}

.srp-exam-loading {
	text-align: center;
	font-size: 14px;
	color: #888;
	font-style: italic;
	margin: 10px 0 18px;
}

.srp-exam-list-label {
	font-size: 14px;
	font-weight: 600;
	color: #444;
	margin-bottom: 8px;
}

.srp-exam-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.srp-exam-chip {
	padding: 8px 16px;
	background: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	cursor: pointer;
	transition: all .2s ease;
}

.srp-exam-chip:hover {
	background: #e5e5e5;
}

.srp-exam-chip.active {
	background: #146c43;
	border-color: #146c43;
	color: #fff;
}

.srp-selected-exam {
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #146c43;
	margin: 0 0 14px;
}

.srp-form-section {
	position: relative;
	transition: opacity .2s ease;
}

.srp-form-section.srp-locked .srp-tabs,
.srp-form-section.srp-locked .srp-tab-panel {
	opacity: 0.4;
	pointer-events: none;
	filter: grayscale(60%);
}

.srp-lock-hint {
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #a3231a;
	background: #fdecea;
	border: 1px solid #f5c2c0;
	border-radius: 6px;
	padding: 10px 14px;
	margin-bottom: 14px;
}

.srp-tabs {
	display: flex;
	border-bottom: 2px solid #e0e0e0;
	margin-bottom: 20px;
}

.srp-tab-btn {
	flex: 1;
	padding: 12px 10px;
	background: #f5f5f5;
	border: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: #555;
	border-bottom: 3px solid transparent;
	transition: all .2s ease;
}

.srp-tab-btn:hover {
	background: #ececec;
}

.srp-tab-btn.active {
	background: #fff;
	color: #146c43;
	border-bottom-color: #146c43;
}

.srp-tab-panel {
	display: none;
}

.srp-tab-panel.active {
	display: block;
}

.srp-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 20px;
}

.srp-form label {
	font-weight: 600;
	font-size: 14px;
}

.srp-form input[type="text"] {
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
}

.srp-btn {
	margin-top: 8px;
	padding: 12px 18px;
	background: #146c43;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease;
}

.srp-btn:hover {
	background: #0f5132;
}

.srp-loading {
	text-align: center;
	padding: 16px;
	font-style: italic;
	color: #777;
}

.srp-message {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 6px;
	background: #fdecea;
	color: #a3231a;
	border: 1px solid #f5c2c0;
}

.srp-result-card {
	margin-top: 24px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.srp-result-header {
	text-align: center;
	margin-bottom: 18px;
	border-bottom: 2px solid #146c43;
	padding-bottom: 14px;
}

.srp-result-logo {
	max-height: 70px;
	margin-bottom: 8px;
}

.srp-school-name {
	margin: 4px 0;
	font-size: 22px;
}

.srp-result-title {
	margin: 0;
	font-size: 15px;
	color: #666;
	font-weight: 500;
}

.srp-exam-name {
	margin: 8px 0 0;
	font-size: 17px;
	font-weight: 700;
	color: #146c43;
	background: #eaf6ef;
	display: inline-block;
	padding: 4px 16px;
	border-radius: 20px;
}

.srp-info-table,
.srp-marks-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 16px;
}

.srp-info-table td {
	padding: 6px 8px;
	font-size: 14px;
}

.srp-marks-table th,
.srp-marks-table td {
	border: 1px solid #ddd;
	padding: 8px 10px;
	text-align: center;
	font-size: 14px;
}

.srp-marks-table th {
	background: #146c43;
	color: #fff;
}

.srp-marks-table tfoot th {
	background: #f0f0f0;
	color: #222;
}

.srp-summary {
	display: flex;
	gap: 24px;
	font-size: 16px;
	margin-bottom: 10px;
}

.srp-remarks {
	font-size: 14px;
	color: #555;
}

.srp-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.srp-badge-pass {
	background: #d1e7dd;
	color: #0f5132;
}

.srp-badge-fail {
	background: #f8d7da;
	color: #842029;
}

.srp-print-btn-wrap {
	text-align: center;
	margin-top: 18px;
}

@media print {
	.srp-tabs, .srp-form, .srp-loading, .srp-print-btn-wrap {
		display: none !important;
	}
	.srp-result-card {
		box-shadow: none;
		border: none;
	}
}

@media (max-width: 480px) {
	.srp-tab-btn {
		font-size: 13px;
		padding: 10px 6px;
	}
	.srp-summary {
		flex-direction: column;
		gap: 4px;
	}
}
