/* ==========================================================
   IIUCNN frontend theme – one font, one palette, one form style.
   Loaded LAST on every frontend page so it wins over older CSS.
   Change the variables below to re-skin the whole site.
   ========================================================== */
:root{
	--brand-teal:#1a968c;
	--brand-teal-dark:#14756d;
	--brand-teal-light:#e8f6f5;
	--brand-navy:#08245c;
	--brand-navy-dark:#021a5b;
	--text:#212529;
	--text-muted:#5a6270;
	--border:#8a96a8;
	--danger:#c62828;

	--font:'Poppins', 'Segoe UI', Arial, sans-serif;
	--fs-body:17px;
	--fs-small:15px;
	--control-h:50px;
	--radius:6px;
}

/* ---------- Typography ---------- */
html{font-size:var(--fs-body);}
body{
	font-family:var(--font) !important;
	font-size:var(--fs-body) !important;
	line-height:1.65;
	color:var(--text);
	-webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6,
p,a,li,dt,dd,label,td,th,blockquote,figcaption,
input,select,textarea,button,.btn,
.card-text,.card-title,.section-title,.form-control{
	font-family:var(--font) !important;
}
/* Body copy: one size everywhere */
p,li,dd,dt,td,th,label,blockquote,.card-text,
.form-control,input,select,textarea,.select2-container{
	font-size:var(--fs-body);
}
p{line-height:1.7;}
small,.small,.text-muted.small,.form-text{font-size:var(--fs-small) !important;}

/* Headings: navy, consistent weight */
h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.3;}
/* only named title classes: pages with dark sections set their own heading colours */
.section-title,.card-title{color:var(--brand-navy);}
label{font-weight:500;color:var(--text);margin-bottom:6px;}

/* Links */
a{color:var(--brand-teal);}
a:hover{color:var(--brand-teal-dark);}

/* ---------- Form controls: taller, clearly bordered ---------- */
.form-control,
input[type="text"],input[type="email"],input[type="password"],input[type="tel"],
input[type="number"],input[type="date"],input[type="url"],input[type="search"],
select,textarea{
	min-height:var(--control-h) !important;
	padding:12px 14px !important;
	font-size:var(--fs-body) !important;
	color:var(--text) !important;
	background-color:#fff !important;
	border:2px solid var(--border) !important;
	border-radius:var(--radius) !important;
	box-shadow:none;
	transition:border-color .15s ease, box-shadow .15s ease;
}
select.form-control,select{height:var(--control-h) !important;padding-top:8px !important;padding-bottom:8px !important;}
textarea,textarea.form-control{min-height:120px !important;height:auto !important;}
input[type="file"]{min-height:auto !important;padding:10px !important;}
.form-control::placeholder,input::placeholder,textarea::placeholder{color:#8b929c;opacity:1;}
.form-control:hover,input:hover,select:hover,textarea:hover{border-color:#5f6b7d !important;}
.form-control:focus,input:focus,select:focus,textarea:focus{
	border-color:var(--brand-teal) !important;
	box-shadow:0 0 0 3px rgba(26,150,140,.25) !important;
	outline:none;
}
/* Validation errors */
.form-control.error,input.error,select.error,textarea.error{border-color:var(--danger) !important;}
label.error,.error:not(input):not(select):not(textarea){color:var(--danger) !important;font-size:var(--fs-small) !important;font-weight:500;margin-top:4px;display:block;}
label.error a{color:var(--danger);text-decoration:underline;font-weight:700;}
/* Checkboxes / radios keep native size */
input[type="checkbox"],input[type="radio"]{min-height:auto !important;padding:0 !important;width:18px;height:18px;accent-color:var(--brand-teal);}
.input-group-text{border:2px solid var(--border) !important;font-size:var(--fs-body);}

/* Select2 to match */
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple{
	min-height:var(--control-h) !important;
	border:2px solid var(--border) !important;
	border-radius:var(--radius) !important;
}
.select2-container .select2-selection--single .select2-selection__rendered{line-height:calc(var(--control-h) - 4px) !important;padding-left:14px;font-size:var(--fs-body);}
.select2-container .select2-selection--single .select2-selection__arrow{height:calc(var(--control-h) - 4px) !important;}
.select2-container--focus .select2-selection{border-color:var(--brand-teal) !important;}

/* ---------- Brand colors for common bootstrap pieces ---------- */
.text-primary{color:var(--brand-teal) !important;}
.bg-primary{background-color:var(--brand-teal) !important;}
.alert-info{background:var(--brand-teal-light) !important;color:var(--brand-navy) !important;border:1px solid #b6e0dc !important;}
.alert-info strong{color:var(--brand-navy);}
.card{border:1px solid #dde3ea;border-radius:8px;}

/* ---------- Footer: same body size ---------- */
footer a:not(.footer-btn),footer p,footer li,footer .contact-item{font-size:var(--fs-body) !important;}
footer .copyright{font-size:var(--fs-small) !important;}
