/* Annamalai University Results — front-end lookup, styled to the site's tokens. */

.anmedu-result-mount {
	margin: 0;
}

.anr-card {
	background: #fff;
	border: 1px solid #dbe2f2;
	border-radius: 2px;
	overflow: hidden;
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.anr-head {
	background: #0d3159;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 14px 22px;
}

.anr-body {
	padding: 22px;
}

.anr-intro {
	margin: 0 0 18px;
	color: #334155;
	font-size: 15px;
	line-height: 1.65;
}

.anr-fields {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 14px;
}

.anr-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.anr-label {
	color: #5d6d7e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.anr-input {
	width: 100%;
	height: 44px;
	box-sizing: border-box;
	border: 1px solid #dbe2f2;
	border-radius: 2px;
	background: #fff;
	color: #0d3159;
	font-family: inherit;
	font-size: 15px;
	padding: 0 12px;
}

.anr-input:focus {
	border-color: #c9a227;
	box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.18);
	outline: none;
}

.anr-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.anr-actions {
	margin-top: 16px;
}

.anr-btn {
	display: inline-block;
	border: 0;
	border-radius: 2px;
	background: #c9a227;
	color: #071c33;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1;
	padding: 15px 26px;
	text-transform: uppercase;
	transition: background-color 0.15s ease;
}

.anr-btn:hover,
.anr-btn:focus {
	background: #b08f20;
}

.anr-btn:disabled {
	cursor: progress;
	opacity: 0.65;
}

.anr-msg {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.5;
}

.anr-msg.is-error {
	color: #a02020;
}

.anr-msg.is-ok {
	color: #1f6b3a;
}

.anr-found {
	margin-top: 20px;
	border: 1px solid #dbe2f2;
	border-top: 3px solid #c9a227;
	background: #f9fbfd;
	padding: 20px 22px;
}

.anr-found-title {
	margin: 0 0 14px;
	color: #0d3159;
	font-family: 'Palatino Linotype', Palatino, Georgia, serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.anr-found-title:focus {
	outline: none;
}

.anr-kv {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 9px 18px;
	margin: 0;
	font-size: 14px;
}

.anr-kv dt {
	color: #5d6d7e;
	font-weight: 400;
}

.anr-kv dd {
	margin: 0;
	color: #0d3159;
	font-weight: 600;
}

.anr-badge {
	display: inline-block;
	border-radius: 2px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 4px 9px;
	text-transform: uppercase;
}

.anr-badge.pass {
	background: #e7f3ea;
	color: #1f6b3a;
}

.anr-badge.fail {
	background: #fbeaea;
	color: #a02020;
}

.anr-badge.reval {
	background: #fdf3d9;
	color: #7a5a00;
}

.anr-badge.withheld {
	background: #eceff3;
	color: #50575e;
}

.anr-dl {
	display: inline-block;
	margin-top: 18px;
	border-radius: 2px;
	background: #c9a227;
	color: #071c33;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	padding: 14px 24px;
	text-decoration: none;
	text-transform: uppercase;
}

.anr-dl:hover,
.anr-dl:focus {
	background: #b08f20;
	color: #071c33;
}

.anr-note {
	margin: 12px 0 0;
	color: #5d6d7e;
	font-size: 13px;
	line-height: 1.55;
}

@media (max-width: 860px) {
	.anr-fields {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 620px) {
	.anr-body {
		padding: 18px;
	}

	.anr-fields {
		grid-template-columns: 1fr;
	}

	.anr-btn,
	.anr-dl {
		display: block;
		text-align: center;
		width: 100%;
	}

	.anr-kv {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.anr-kv dd {
		margin-bottom: 8px;
	}
}
