@charset "utf-8";
/* AHC overrides - footer (custom design); original site CSS left untouched */

footer .footlink h4 {
	font-family: 'Roboto Condensed', sans-serif;
	color: #fff;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin: 5px 0 14px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, .25);
}
footer .footlink .foot-logo {
	background-color: #fff;
	border-radius: 6px;
	display: inline-block;
	margin: 5px 0 12px;
	padding: 8px 14px;
}
footer .footlink .foot-logo .foot-brand-text {
	display: block;
	color: #188542;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: .3px;
	line-height: 1.2;
	white-space: nowrap;
}
footer .footlink p { margin-bottom: 6px; }
footer .footlink .foot-muted { color: rgba(255, 255, 255, .75); }
footer .footlink ul.foot-links li {
	display: block;
	border-right: 0;
	text-align: left;
	padding: 3px 0;
}
footer .footlink ul.foot-links li a { padding: 0; margin: 0; }
footer .footlink ul.foot-links li a:hover { text-decoration: underline; }
footer .footlink ul.foot-links li a i { margin-right: 6px; }
footer .footlink .foot-contact i { width: 16px; text-align: center; margin-right: 6px; }
footer .footbottom .foot-copyright { text-align: right; }
@media (max-width: 991px) {
	footer .footbottom .foot-copyright { text-align: left; }
}

/* ============================================================
   Registration / Login (home page auth card)
   ============================================================ */

/* Bootstrap's .btn display rule outweighs the UA [hidden] default. */
[hidden] { display: none !important; }

.portal-alert {
	border-radius: 4px;
	font-size: 14px;
	padding: 14px 18px;
}
.portal-alert .fa { margin-right: 6px; }
.portal-alert-code { font-size: 17px; letter-spacing: 2px; }

/* --- card + tabs --- */
.auth-card {
	background-color: #fff;
	border: 1px solid #e3e7e3;
	border-radius: 10px;
	box-shadow: 0 4px 22px rgba(20, 70, 40, .10);
	margin-bottom: 30px;
	overflow: hidden;
}
.auth-tabs {
	border-bottom: 1px solid #e3e7e3;
	display: table;
	margin: 0;
	table-layout: fixed;
	width: 100%;
}
.auth-tabs > li {
	display: table-cell;
	float: none;
	margin: 0;
	text-align: center;
	width: 50%;
}
.auth-tabs > li > a {
	background-color: #f4f6f4;
	border: 0 !important;
	border-radius: 0;
	border-top: 3px solid transparent !important;
	color: #6b6f6b;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .4px;
	margin: 0;
	padding: 16px 10px;
	text-transform: uppercase;
	transition: background-color .18s, color .18s;
}
.auth-tabs > li > a .fa { margin-right: 7px; }
.auth-tabs > li > a:hover { background-color: #eef2ee; color: #188542; }
.auth-tabs > li.active > a,
.auth-tabs > li.active > a:hover,
.auth-tabs > li.active > a:focus {
	background-color: #fff;
	border: 0;
	border-top: 3px solid #F98A36 !important;
	color: #188542;
}
.auth-tabs > li > a:focus { outline: 0; }
.auth-tabs > li > a:focus-visible {
	box-shadow: inset 0 0 0 2px rgba(24, 133, 66, .4);
	outline: 0;
}

/* --- form --- */
.auth-form { padding: 28px 30px 22px; }
.auth-form .form-group { margin-bottom: 18px; }
.auth-form label {
	color: #444;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}
.auth-form .req { color: #d43f3a; }
.auth-form .form-control {
	border-color: #d6dcd6;
	border-radius: 3px;
	box-shadow: none;
	font-size: 14px;
	height: 42px;
	transition: border-color .2s, box-shadow .2s;
}
.auth-form .form-control:focus {
	border-color: #4eaa72;
	box-shadow: 0 0 0 3px rgba(24, 133, 66, .12);
}
.auth-form .input-group-addon {
	background-color: #f4f6f4;
	color: #188542;
	font-size: 13px;
	min-width: 44px;
}
.auth-form .help-block {
	color: #a94442;
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 0;
	margin-top: 5px;
}
.auth-form .has-error .form-control { border-color: #d9534f; }
.auth-form .has-error .input-group-addon { border-color: #d9534f; color: #d9534f; }
.auth-form .input-group > .form-control:not(:last-child) {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}
.auth-form .input-group > .form-control:not(:first-child) {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}
.auth-form .input-group-btn .js-toggle-password {
	background-color: #fff;
	border-color: #d6dcd6;
	border-radius: 0 3px 3px 0;
	color: #999;
	height: 42px;
	padding: 0 10px;
}
.auth-form .input-group-btn .js-toggle-password:hover,
.auth-form .input-group-btn .js-toggle-password:focus {
	background-color: #f4f6f4;
	border-color: #aec2b4;
	color: #555;
}
.auth-form .has-error .input-group-btn .js-toggle-password {
	border-color: #d9534f;
}
.auth-form .auth-alert {
	border-radius: 4px;
	font-size: 13px;
	margin-bottom: 20px;
	padding: 10px 14px;
}
.remember-row { margin-top: -4px; }
.remember-label { color: #666; font-size: 13px; font-weight: normal !important; }
.remember-label input { margin-right: 4px; }

/* --- Forgot-password step indicator --- */
.fpw-steps {
	align-items: center;
	background: #f8faf8;
	border-bottom: 1px solid #e3e7e3;
	display: flex;
	padding: 20px 28px 16px;
}
.fpw-step {
	align-items: center;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	position: relative;
}
.fpw-step-circle {
	align-items: center;
	background: #dde3dd;
	border-radius: 50%;
	color: #8a8f8a;
	display: flex;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 700;
	height: 36px;
	justify-content: center;
	transition: background .2s, color .2s;
	width: 36px;
}
.fpw-step.active .fpw-step-circle {
	background: #188542;
	box-shadow: 0 2px 8px rgba(24, 133, 66, .30);
	color: #fff;
}
.fpw-step.done .fpw-step-circle {
	background: #188542;
	color: #fff;
}
.fpw-step-label {
	color: #aab0aa;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .5px;
	margin-top: 6px;
	text-transform: uppercase;
	white-space: nowrap;
}
.fpw-step.active .fpw-step-label { color: #188542; }
.fpw-step.done .fpw-step-label { color: #4eaa72; }
.fpw-step-line {
	background: #dde3dd;
	flex: 1;
	height: 2px;
	margin: 0 6px;
	margin-bottom: 22px;
	transition: background .2s;
}
.fpw-step-line.done { background: #188542; }
.form-hint-text {
	color: #666;
	font-size: 13px;
	margin-bottom: 18px;
}

.btn-portal {
	background-color: #188542;
	background-image: linear-gradient(180deg, #1c9149, #16793c);
	border: 0;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(24, 133, 66, .25);
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .6px;
	padding: 11px 26px;
	text-transform: uppercase;
	transition: background-color .18s, box-shadow .18s;
}
.btn-portal:hover, .btn-portal:focus {
	background-color: #116e35;
	background-image: linear-gradient(180deg, #188542, #116e35);
	box-shadow: 0 3px 10px rgba(24, 133, 66, .30);
	color: #fff;
}
.btn-portal:focus-visible { box-shadow: 0 0 0 3px rgba(24, 133, 66, .35); outline: 0; }
.btn-portal[disabled], .btn-portal[disabled]:hover {
	background-color: #9dbfa9;
	background-image: none;
	box-shadow: none;
	opacity: 1;
}
.btn-portal .fa { margin-right: 6px; }
/* .btn-portal hard-codes its own padding/font-size, which would otherwise
   beat Bootstrap's .btn-sm/.btn-xs sizing. Re-assert the smaller sizes here. */
.btn-portal.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 3px; }
.btn-portal.btn-xs { padding: 1px 5px; font-size: 12px; border-radius: 3px; }

.btn-portal-danger {
	background-color: #d9534f;
	background-image: none;
	box-shadow: 0 2px 6px rgba(217, 83, 79, .25);
}
.btn-portal-danger:hover, .btn-portal-danger:focus {
	background-color: #c9302c;
	background-image: none;
	box-shadow: 0 3px 10px rgba(217, 83, 79, .30);
}
.btn-portal-danger:focus-visible { box-shadow: 0 0 0 3px rgba(217, 83, 79, .35); }

.register-hint {
	color: #8a8f8a;
	font-size: 12px;
	margin: 10px 0 0;
	text-align: center;
}
.register-hint .fa { color: #F98A36; }

/* --- OTP UI --- */
.btn-send-otp {
	background-color: #F98A36;
	border: 1px solid #F98A36;
	border-radius: 0 3px 3px 0;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	height: 42px;
	text-transform: uppercase;
	transition: background-color .18s, color .18s;
	white-space: nowrap;
}
.btn-send-otp:hover, .btn-send-otp:focus { background-color: #e07a28; border-color: #e07a28; color: #fff; }
.btn-send-otp:focus-visible { box-shadow: 0 0 0 3px rgba(249, 138, 54, .35); outline: 0; }
.btn-change-value {
	background-color: #fff;
	border: 1px solid #c5cbc5;
	border-radius: 0 3px 3px 0;
	color: #6b6f6b;
	font-size: 12px;
	font-weight: 600;
	height: 42px;
	text-transform: uppercase;
}
.btn-change-value:hover { background-color: #f4f6f4; }
.btn-change-value:focus-visible { box-shadow: 0 0 0 3px rgba(24, 133, 66, .25); outline: 0; }

.otp-box {
	align-items: center;
	display: flex;
	gap: 8px;
	margin-top: 10px;
}
.otp-box[hidden] { display: none; }
.otp-input {
	font-size: 16px !important;
	font-weight: bold;
	letter-spacing: 6px;
	max-width: 150px;
	text-align: center;
}
.btn-verify {
	background-color: #188542;
	border: 0;
	border-radius: 3px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	height: 42px;
	padding: 0 18px;
	text-transform: uppercase;
}
.btn-verify:hover, .btn-verify:focus { background-color: #116e35; color: #fff; }
.btn-verify:focus-visible { box-shadow: 0 0 0 3px rgba(24, 133, 66, .35); outline: 0; }
.resend-link {
	color: #F98A36 !important;
	font-size: 12px;
	padding: 0 !important;
}
.resend-link[disabled] { color: #aaa !important; cursor: not-allowed; text-decoration: none; }

.otp-badge {
	background-color: #eaf6ee;
	border: 1px solid #b9dfc6;
	border-radius: 999px;
	color: #188542;
	font-size: 11px;
	font-weight: 600;
	margin-left: 8px;
	padding: 2px 10px;
	text-transform: uppercase;
}
.otp-badge .fa { margin-right: 3px; }
.input-group-btn .otp-badge {
	align-items: center;
	border-radius: 0 3px 3px 0;
	display: inline-flex;
	height: 42px;
	margin-left: 0;
	padding: 0 12px;
	white-space: nowrap;
}
.otp-group.is-verified .form-control[readonly] {
	background-color: #f4faf6;
	border-color: #b9dfc6;
	color: #2d6a44;
}
.otp-status { display: block; font-size: 12px; margin-top: 6px; min-height: 1px; }
.otp-status.status-ok { color: #188542; }
.otp-status.status-error { color: #d9534f; }
.otp-status.status-info { color: #777; }

/* --- captcha --- */
.captcha-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.captcha-row img {
	border: 1px solid #d8ded8;
	border-radius: 4px;
}
.btn-captcha-refresh {
	background-color: #f4f6f4;
	border: 1px solid #d8ded8;
	border-radius: 50%;
	color: #188542;
	font-size: 14px;
	height: 42px;
	transition: background-color .18s, border-color .18s, color .18s;
	width: 42px;
}
.btn-captcha-refresh:hover { background-color: #188542; border-color: #188542; color: #fff; }
.btn-captcha-refresh:focus-visible { box-shadow: 0 0 0 3px rgba(24, 133, 66, .25); outline: 0; }
.captcha-input { max-width: 230px; text-transform: uppercase; }

/* --- success modal --- */
.success-dialog { max-width: 430px; }
.success-modal {
	border: 0;
	border-radius: 10px;
	border-top: 5px solid #188542;
	padding: 34px 32px 30px;
	text-align: center;
}
.success-icon {
	background-color: #eaf6ee;
	border: 2px solid #188542;
	border-radius: 50%;
	color: #188542;
	font-size: 34px;
	height: 78px;
	line-height: 74px;
	margin: 0 auto 16px;
	width: 78px;
}
.success-modal h3 {
	color: #188542;
	font-weight: 700;
	margin: 0 0 10px;
}
.success-society { color: #555; font-size: 14px; margin-bottom: 18px; }
.code-label {
	color: #999;
	font-size: 11px;
	letter-spacing: 1px;
	margin-bottom: 6px;
	text-transform: uppercase;
}
.reg-code-box {
	align-items: center;
	background-color: #f4faf6;
	border: 2px dashed #188542;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 0 auto 16px;
	max-width: 290px;
	padding: 12px 18px;
}
.reg-code-box span {
	color: #188542;
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 8px;
}
.frn-code-box {
	background-color: #f4faf6;
	border: 2px dashed #188542;
	border-radius: 8px;
	display: inline-block;
	margin: 0 auto;
	padding: 12px 30px;
}
.frn-code-value {
	color: #188542;
	display: block;
	font-family: 'Roboto', sans-serif;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 8px;
}
.btn-copy {
	background-color: #fff;
	border: 1px solid #c5cbc5;
	border-radius: 4px;
	color: #6b6f6b;
	font-size: 14px;
	height: 34px;
	transition: .2s;
	width: 34px;
}
.btn-copy:hover { border-color: #188542; color: #188542; }
.mail-note { color: #555; font-size: 13px; margin-bottom: 8px; }
.mail-note .fa { color: #F98A36; margin-right: 4px; }
.success-note { color: #8a8f8a; font-size: 12px; margin-bottom: 20px; }

/* --- freeze confirmation modal --- */
.confirm-modal { border-top-color: #F98A36; }
.confirm-modal h3 { color: #c96a16; }
.confirm-modal .success-icon {
	background-color: #fdf1e6;
	border-color: #F98A36;
	color: #F98A36;
}
.confirm-modal .js-freeze-message {
	color: #555;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 22px;
}
.confirm-actions { display: flex; gap: 12px; justify-content: center; }
.confirm-actions .btn { min-width: 130px; }

/* --- dashboard --- */
.dash-head {
	align-items: center;
	border-bottom: 1px solid #e6eae6;
	display: flex;
	justify-content: space-between;
	margin-bottom: 22px;
	padding-bottom: 14px;
}
.dash-welcome { color: #188542; font-weight: 700; margin: 0 0 4px; }
.dash-society { color: #777; font-size: 14px; margin: 0; }
.btn-logout {
	background-color: #d9534f;
	border: 1px solid #d9534f;
	border-radius: 4px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 8px 18px;
	text-transform: uppercase;
	transition: .2s;
}
.btn-logout:hover { background-color: #c9302c; border-color: #c9302c; color: #fff; }
.dash-card {
	background-color: #fff;
	border: 1px solid #e3e7e3;
	border-radius: 8px;
	box-shadow: 0 1px 8px rgba(0, 0, 0, .05);
	margin-bottom: 25px;
	padding: 20px 22px;
}
.dash-card-green {
	border-color: #cfe5d7;
	box-shadow: 0 2px 14px rgba(24, 133, 66, .18);
}
.dash-card-title {
	border-bottom: 1px solid #eef1ee;
	color: #444;
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 14px;
	padding-bottom: 10px;
	text-transform: uppercase;
}
.dash-card-title .fa { color: #188542; margin-right: 6px; }
.dash-table { margin-bottom: 0; }
.dash-table .otp-badge { display: block; margin: 4px 0 0; width: fit-content; }
.dash-table th { color: #888; font-size: 12px; font-weight: 600; text-transform: uppercase; width: 42%; }
.dash-table td { font-size: 14px; }
.dash-code {
	color: #188542;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 3px;
}
.dash-empty { color: #8a8f8a; padding: 26px 10px; text-align: center; }
.dash-empty .fa { color: #F98A36; font-size: 30px; margin-bottom: 12px; }
.dash-empty p { margin-bottom: 4px; }

/* --- application info content (home page) --- */
.page-title-brand {
	align-items: center;
	display: flex;
	gap: 14px;
}
.title-logo { height: 54px; width: auto; }

.notice-card {
	align-items: center;
	background-color: #fff;
	border: 1px solid #e3e7e3;
	border-left: 4px solid #F98A36;
	border-radius: 8px;
	box-shadow: 0 1px 8px rgba(0, 0, 0, .05);
	display: flex;
	gap: 16px;
	margin-bottom: 18px;
	padding: 16px 20px;
}
.notice-icon {
	align-items: center;
	background-color: #fdf3ea;
	border-radius: 8px;
	color: #d96d12;
	display: flex;
	flex: 0 0 46px;
	font-size: 20px;
	height: 46px;
	justify-content: center;
	width: 46px;
}
.notice-body { flex: 1; min-width: 0; }
.notice-card .notice-title {
	background: none;
	border: 0;
	color: #333;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 3px;
	padding: 0;
}
.notice-text { color: #777; font-size: 12px; margin: 0; }
.btn-notice { display: inline-block; font-size: 12px; margin-top: 10px; padding: 5px 12px; }
.notice-important {
	background-color: #fdf3f3;
	border-color: #f0d4d4;
	border-left-color: #d9534f;
}
.notice-icon-danger { background-color: #f9e2e2; color: #c9302c; }
.notice-tag {
	background-color: #d9534f;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	margin-bottom: 6px;
	padding: 2px 10px;
}
.notice-text-hi {
	color: #a94442;
	font-size: 14.4px;
	font-weight: 700;
	line-height: 1.9;
	margin: 0;
}
.notice-text-hi strong { border-bottom: 2px solid #d9534f; }

.info-row { margin-bottom: 5px; }
.info-card {
	background-color: #fff;
	border: 1px solid #e3e7e3;
	border-radius: 8px;
	box-shadow: 0 1px 8px rgba(0, 0, 0, .05);
	margin-bottom: 20px;
	padding: 18px 20px;
}
.info-card .info-card-title {
	background: none;
	border: 0;
	border-bottom: 1px solid #eef1ee;
	color: #444;
	font-family: 'Roboto', sans-serif;
	font-size: 12.6px;
	font-weight: 700;
	margin: 0 0 14px;
	padding: 0 0 10px;
	text-transform: uppercase;
}
.info-card-title .fa { color: #188542; margin-right: 7px; }
.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-list > li {
	color: #444;
	display: flex;
	font-size: 12.6px;
	gap: 12px;
	line-height: 1.7;
	margin-bottom: 14px;
}
.guide-list > li:last-child { margin-bottom: 0; }
.guide-bullet {
	align-items: center;
	background-color: #eaf6ee;
	border-radius: 50%;
	color: #188542;
	display: flex;
	flex: 0 0 24px;
	font-size: 11px;
	height: 24px;
	justify-content: center;
	margin-top: 2px;
	width: 24px;
}
.gl-chip {
	border-radius: 3px;
	display: inline-block;
	font-weight: 700;
	line-height: 1.4;
	padding: 0 8px;
}
.gl-chip-yes { background-color: #eaf6ee; color: #116e35; }
.gl-chip-no { background-color: #fdf3ea; color: #b35a0a; }
.help-chip {
	align-items: center;
	border: 1px solid #e3e7e3;
	border-radius: 8px;
	color: inherit;
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
	padding: 11px 14px;
	text-decoration: none;
	transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.help-chip:last-child { margin-bottom: 0; }
.help-chip:hover, .help-chip:focus {
	background-color: #f8fbf9;
	border-color: #b9dfc6;
	text-decoration: none;
}
.help-chip:focus-visible { box-shadow: 0 0 0 3px rgba(24, 133, 66, .25); outline: 0; }
.help-chip-icon {
	align-items: center;
	background-color: #eaf6ee;
	border-radius: 50%;
	color: #188542;
	display: flex;
	flex: 0 0 36px;
	font-size: 15px;
	height: 36px;
	justify-content: center;
	width: 36px;
}
.help-chip-body { min-width: 0; }
.help-chip-label {
	color: #888;
	display: block;
	font-size: 11px;
	letter-spacing: .3px;
	text-transform: uppercase;
}
.help-chip-value {
	color: #188542;
	display: block;
	font-size: 14px;
	font-weight: 700;
	word-break: break-all;
}

/* --- small screens --- */
@media (max-width: 600px) {
	.auth-form { padding: 22px 16px 18px; }
	.auth-tabs > li > a { font-size: 12px; padding: 13px 4px; }
	.otp-box { flex-wrap: wrap; }
	.captcha-input { max-width: 100%; }
	.dash-head { align-items: flex-start; flex-direction: column; gap: 12px; }
	.reg-code-box span { font-size: 24px; letter-spacing: 5px; }
	.notice-card { align-items: flex-start; flex-direction: column; }
	.btn-notice { display: block; text-align: center; }
	.page-title-brand { gap: 10px; }
	.title-logo { height: 42px; }
	.notice-text-hi { font-size: 13.5px; line-height: 1.8; }
}

@media (prefers-reduced-motion: reduce) {
	.btn-portal, .help-chip, .auth-tabs > li > a, .auth-form .form-control,
	.btn-send-otp, .btn-captcha-refresh, .notice-card { transition: none; }
}

/* ===================== Application wizard ===================== */

/* --- dashboard action rows --- */
.dash-action {
	align-items: center;
	border: 1px solid #e6e9e6;
	border-radius: 6px;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 14px 16px;
}
.dash-action-title { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.dash-action-title .fa { color: #188542; margin-right: 6px; }
.dash-action-text { color: #6d726d; font-size: 13px; margin: 0; }
.dash-action-text strong { color: #000; }
.dash-action .btn-portal { padding: 8px 18px; white-space: nowrap; }

/* --- applications table --- */
.apps-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 14px;
}
.apps-head .dash-card-title { margin: 0; }
.apps-table > tbody > tr > td { vertical-align: middle; }
.apps-table > thead > tr > th { width: auto; }
.apps-table > thead > tr > th:first-child,
.apps-table > tbody > tr > td:first-child { white-space: nowrap; width: 1%; }
.apps-table .apps-course { font-size: 12px; }
.apps-table .apps-course small { font-size: 11px; }

.status-badge {
	border-radius: 12px;
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .4px;
	padding: 3px 10px;
	text-transform: uppercase;
	white-space: nowrap;
}
.status-badge .fa { margin-right: 3px; }
.status-badge-draft { background: #fff3e2; color: #b06a13; }
.status-badge-submitted { background: #e3f3e9; color: #15703a; }
.status-badge-paid { background: #e3f3e9; color: #15703a; }
.status-badge-pending { background: #f0f1f0; color: #6d726d; }
.status-badge-failed { background: #fdeaea; color: #b8302c; }

/* --- wizard head + stepper --- */
.wizard-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 14px;
}
.wizard-app-number { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.wizard-course-name { color: #6d726d; font-size: 13px; margin: 0; }

.wizard-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}
.wizard-step { flex: 1 1 0; min-width: 130px; }
.wizard-step-inner {
	background: #f4f5f4;
	border: 1px solid #e2e5e2;
	border-radius: 5px;
	color: #5d625d;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	text-decoration: none;
	width: 100%;
}
a.wizard-step-inner:hover, a.wizard-step-inner:focus { border-color: #188542; color: #188542; text-decoration: none; }
.wizard-step-num {
	align-items: center;
	background: #fff;
	border: 1px solid #cfd4cf;
	border-radius: 50%;
	display: flex;
	flex: 0 0 24px;
	font-size: 12px;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	width: 24px;
}
.wizard-step-label { font-size: 12px; font-weight: 600; line-height: 1.25; }
.wizard-step.is-done .wizard-step-num { background: #188542; border-color: #188542; color: #fff; }
.wizard-step.is-current .wizard-step-inner { background: #fff; border-color: #188542; box-shadow: 0 0 0 1px #188542 inset; color: #15703a; }
.wizard-step.is-locked .wizard-step-inner { color: #a7aca7; cursor: not-allowed; }
.wizard-step.is-locked .wizard-step-num { color: #a7aca7; }

/* --- legacy-styled form sections --- */
.form-section {
	background: #fffdfd;
	border: 1px dashed #c9c9c9;
	margin-bottom: 22px;
}
.form-section-head {
	background: #ef7a78;
	background-image: linear-gradient(180deg, #f08583, #e96f6d);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 9px 14px;
}
.form-section-body { padding: 20px 18px 14px; }
.form-section-body .form-horizontal .control-label { font-weight: 600; text-align: left; }
.form-section-body .form-horizontal .control-label.label-hi { font-size: 13px; }
.wizard-subhead {
	border-bottom: 1px solid #efd5d4;
	color: #b8302c;
	font-size: 14px;
	font-weight: 700;
	margin: 22px 0 14px;
	padding-bottom: 6px;
}
.label-note { color: #8a8f8a; display: block; font-size: 11px; font-weight: 400; margin-top: 3px; }
.control-label.sub-field { padding-left: 28px; }
.wizard-hint { color: #8a8f8a; font-size: 11px; margin-bottom: 0; }
.wizard-note { color: #5d625d; font-size: 13px; margin-bottom: 16px; }
.wizard-form .input-w-xs { max-width: 150px; }
.wizard-form .input-w-sm { max-width: 240px; }
.wizard-form .input-w-md { max-width: 340px; }
.wizard-actions {
	border-top: 1px solid #eee;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 18px;
	padding-top: 16px;
}
.wizard-instructions { margin-bottom: 18px; }
.wizard-english-note { color: #b8302c; font-size: 14px; margin-bottom: 8px; text-align: center; }
.wizard-english-note .fa { margin-right: 6px; }
.wizard-instruction-list { color: #5d625d; font-size: 13px; line-height: 1.9; padding-left: 20px; }

/* --- file fields --- */
.file-current { font-size: 12px; margin: 6px 0 0; }
.file-current a { color: #188542; font-weight: 600; word-break: break-all; }
.file-current .otp-badge { margin-left: 4px; }
.file-replace-hint { color: #8a8f8a; }
.js-upload-status { color: #31708f; }

/* --- payment --- */
.fee-table { max-width: 460px; }
.fee-table th, .fee-table td { font-size: 14px; }
.fee-table .fee-total th, .fee-table .fee-total td { border-top: 2px solid #555; font-size: 16px; }
.payment-gateway-row { align-items: center; display: flex; gap: 16px; margin: 8px 0 18px; }
.payment-gateway-label { font-size: 14px; font-weight: 700; }
.payment-history-title { font-size: 14px; font-weight: 700; margin: 22px 0 10px; }
.btn.is-busy { opacity: .65; pointer-events: none; }

/* --- preview --- */
.preview-toolbar { margin-bottom: 14px; text-align: right; }
.preview-table > tbody > tr > th { background: #faf7f7; font-weight: 600; width: 42%; }
.preview-table th, .preview-table td { font-size: 13px; }
.declaration-label { display: block; font-size: 13px; font-weight: 400; line-height: 1.7; }
.declaration-label input { margin-right: 8px; }

@media (max-width: 768px) {
	.wizard-step { flex-basis: 46%; }
	.dash-action { align-items: flex-start; flex-direction: column; }
	.wizard-actions { flex-direction: column-reverse; }
	.wizard-actions .btn { width: 100%; }
}
