/* NBU Admit Card & Exam Routine add-on — public styles */

/* ------------------------------------------------------------------ */
/* Shared form & buttons (match base plugin's public look)             */
/* ------------------------------------------------------------------ */

.numar-form {
	max-width: 520px;
	margin: 1em 0 2em;
}
.numar-form p {
	margin: 0 0 1em;
}
.numar-form label {
	font-weight: 600;
	display: block;
}
.numar-form input,
.numar-form select {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	margin-top: 4px;
	font-weight: 400;
}
.numar-btn {
	display: inline-block;
	background: #16305c;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 10px 22px;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none;
}
.numar-btn:hover,
.numar-btn:focus {
	background: #274f7a;
	color: #fff;
}
.numar-notice {
	border-left: 4px solid;
	border-radius: 3px;
	padding: 12px 16px;
	margin: 1em 0;
}
.numar-notice-error {
	border-color: #8a1f11;
	background: #fcf0f1;
}

/* ------------------------------------------------------------------ */
/* Routine display                                                     */
/* ------------------------------------------------------------------ */

.numar-picker {
	margin: 0 0 1.2em;
}
.numar-picker select {
	padding: 7px 10px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	margin-left: 6px;
	max-width: 100%;
}
.numar-routine-title {
	margin: 0.6em 0 0.1em;
}
.numar-routine-sub {
	color: #50575e;
	margin: 0 0 0.8em;
}
.numar-routine-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0.5em 0 1em;
	background: #fff;
}
.numar-routine-table th,
.numar-routine-table td {
	border: 1px solid #c9d4dd;
	padding: 8px 12px;
	text-align: left;
	vertical-align: top;
}
.numar-routine-table thead th {
	background: #16305c;
	color: #fff;
}
.numar-routine-table tbody tr:nth-child(even) {
	background: #f2f7fb;
}
.numar-print-wrap {
	margin-top: 0.5em;
}

/* ------------------------------------------------------------------ */
/* Admit card                                                          */
/* ------------------------------------------------------------------ */

.numar-admit-wrap {
	margin: 1em 0 2em;
}
.numar-admit-card {
	max-width: 820px;
	background: #fff;
	border: 2px solid #16305c;
	border-radius: 4px;
	padding: 26px 32px;
	font-family: Arial, Helvetica, sans-serif;
	color: #1d2327;
	position: relative;
}
/* Faint watermark */
.numar-admit-card::before {
	content: "ADMIT CARD";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 72px;
	font-weight: 800;
	letter-spacing: 8px;
	color: rgba(22, 48, 92, 0.05);
	transform: rotate(-24deg);
	pointer-events: none;
}
.numar-admit-head {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	border-bottom: 2px solid #16305c;
	padding-bottom: 14px;
	margin-bottom: 14px;
}
.numar-admit-logo {
	max-height: 84px;
	max-width: 90px;
	flex: 0 0 auto;
}
.numar-admit-head-text {
	flex: 1 1 auto;
	text-align: center;
}
.numar-admit-head-text h2 {
	margin: 0;
	font-size: 24px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #16305c;
}
.numar-admit-head-text h3 {
	margin: 4px 0 2px;
	font-size: 17px;
	letter-spacing: 4px;
	color: #b03060;
}
.numar-admit-head-text p {
	margin: 0;
	font-weight: 600;
}
.numar-photo-box {
	flex: 0 0 120px;
	height: 140px;
	border: 1.5px dashed #6c7781;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 11px;
	color: #6c7781;
	padding: 6px;
	box-sizing: border-box;
}

.numar-admit-meta {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 14px;
}
.numar-admit-meta th,
.numar-admit-meta td {
	border: 1px solid #c9d4dd;
	padding: 7px 10px;
	text-align: left;
	font-size: 14px;
}
.numar-admit-meta th {
	background: #eef4f9;
	width: 17%;
	white-space: nowrap;
}
.numar-admit-subhead {
	margin: 12px 0 4px;
	color: #16305c;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
}

.numar-admit-foot {
	display: flex;
	gap: 26px;
	align-items: flex-end;
	margin-top: 18px;
}
.numar-instructions {
	flex: 1 1 auto;
	font-size: 12.5px;
}
.numar-instructions h4 {
	margin: 0 0 4px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #16305c;
}
.numar-instructions ol {
	margin: 0;
	padding-left: 18px;
}
.numar-instructions li {
	margin-bottom: 3px;
}
.numar-signatures {
	flex: 0 0 240px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.numar-sign-block {
	text-align: center;
	font-size: 12px;
}
.numar-sign-line {
	border-bottom: 1px solid #1d2327;
	height: 34px;
	margin-bottom: 4px;
}
.numar-sign-img {
	max-height: 44px;
	display: block;
	margin: 0 auto 2px;
}
.numar-generated {
	margin: 16px 0 0;
	font-size: 11px;
	color: #787c82;
	text-align: right;
}

/* ------------------------------------------------------------------ */
/* Print: only the admit card / routine, clean page                    */
/* ------------------------------------------------------------------ */

@media print {
	.numar-no-print,
	.numar-picker,
	.numar-print-wrap,
	header,
	footer,
	nav,
	aside,
	#wpadminbar {
		display: none !important;
	}
	body {
		background: #fff !important;
	}
	.numar-admit-card {
		border-width: 1.5px;
		max-width: 100%;
		padding: 18px 22px;
		page-break-inside: avoid;
	}
	.numar-routine-table thead th {
		background: #16305c !important;
		color: #fff !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}

@media (max-width: 680px) {
	.numar-admit-head {
		flex-wrap: wrap;
		justify-content: center;
	}
	.numar-admit-foot {
		flex-direction: column;
		align-items: stretch;
	}
	.numar-signatures {
		flex-direction: row;
		justify-content: space-between;
		flex: 1 1 auto;
	}
	.numar-sign-block {
		flex: 1 1 45%;
	}
}

/* Marksheet results-page lookup */
.numar-marksheet-lookup { max-width: 640px; }
.numar-ms-form input[type="text"], .numar-ms-form input[type="date"] { padding: 8px 10px; border: 1px solid #b8c0cc; border-radius: 6px; min-width: 240px; }
.numar-btn { display: inline-block; background: #16305c; color: #fff; border: 0; border-radius: 6px; padding: 9px 16px; font-weight: 600; cursor: pointer; text-decoration: none; }
.numar-btn:hover { background: #274f7a; color: #fff; }
.numar-ms-error { color: #b32d2e; font-weight: 600; }
.numar-ms-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.numar-ms-table th, .numar-ms-table td { border: 1px solid #e2e6ec; padding: 10px 12px; text-align: left; vertical-align: middle; }
.numar-ms-table thead th { background: #f3f6fa; }
