/* #Fonts & Icons
================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import "fontawesome/all.css";

/* #Reset & Basics 
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

/* #CSS Tokens & Variables
================================================== */
:root {
	--bw-blue: #015EEA;
	--bw-blue-hover: #004ABB;
	--bw-blue-press: #003E9F;
	--bw-blue-tint: #EAF3FF;
	--bw-blue-soft: #F2F7FF;
	--bw-blue-ring: #93C5FD;
	--bw-navy: #172B4D;
	--bw-text: #1E293B;
	--bw-muted: #64748B;
	--bw-border: #E2E8F0;
	--bw-field-border: #CBD5E1;
	--bw-surface: #FFFFFF;
	--bw-canvas: #F8FAFC;
	--bw-radius-control: 10px;
	--bw-radius-card: 16px;
	--bw-card-shadow: 0 4px 20px rgba(23, 43, 77, 0.05);
	--bw-font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* #Basic Styles
================================================== */
html {
	scroll-behavior: smooth;
	background: var(--bw-canvas);
}

body {
	font: 15px/1.5 var(--bw-font);
	font-weight: 400;
	color: var(--bw-text);
	background: var(--bw-canvas);
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

/* #Typography
================================================== */
h1, h2, h3, h4 {
	color: var(--bw-navy);
	font-family: var(--bw-font);
	font-weight: 700;
	letter-spacing: -0.02em;
}

h1 a, h2 a, h3 a, h4 a { 
	font-weight: inherit; 
	color: inherit; 
	text-decoration: inherit; 
}

h1 { 
	font-size: clamp(26px, 2.8vw, 36px); 
	line-height: 1.2; 
	margin-bottom: 12px; 
	letter-spacing: -0.03em;
}

h2 { 
	font-size: 20px; 
	line-height: 1.3; 
	margin-bottom: 12px; 
}

h3 { 
	font-size: 16px; 
	line-height: 1.3; 
	margin-bottom: 8px; 
}

p { 
	margin: 0 0 16px 0; 
	line-height: 1.6;
	color: var(--bw-muted);
}

strong { 
	font-weight: 600; 
	color: var(--bw-navy);
}

em { 
	font-style: italic; 
}

small { 
	font-size: 13px; 
}

hr { 
	border: 0; 
	border-top: 1px solid var(--bw-border); 
	clear: both; 
	margin: 20px 0; 
	height: 0; 
}

/* #Links
================================================== */
a { 
	color: var(--bw-blue); 
	text-decoration: none; 
	outline: 0; 
	transition: color 0.15s ease;
}

a:hover, a:focus { 
	color: var(--bw-blue-hover); 
}

/* #Images
================================================== */
img { 
	max-width: 100%; 
	height: auto; 
	display: block;
}

.image, .image img { 
	object-fit: cover; 
	width: 100%; 
	height: 100%; 
}

/* #Buttons
================================================== */
button[type="submit"],
button[type="button"],
.buttonlink,
.buttonlinkalt,
.cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bw-blue);
	border: 1px solid var(--bw-blue);
	border-radius: var(--bw-radius-control);
	padding: 10px 18px;
	cursor: pointer;
	font-family: var(--bw-font);
	font-size: 14px; 
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	outline: 0;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.buttonlinkalt {
	background: #fff !important;
	color: var(--bw-blue) !important;
	border-color: var(--bw-border) !important;
	width: 100%;
}

button[type="submit"]:hover,
button[type="button"]:hover,
.buttonlink:hover,
.cta a:hover {
	background: var(--bw-blue-hover);
	border-color: var(--bw-blue-hover);
	color: #fff;
}

.buttonlinkalt:hover {
	background: var(--bw-blue-soft);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--bw-blue-ring);
	outline-offset: 1px;
}

/* #Forms
================================================== */
form p {
	margin-bottom: 16px;
}

label, legend {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 6px; 
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
input[type="file"],
textarea,
select,
.checkgroup {
	position: relative;
	width: 100%;
	height: 44px;
	border: 1px solid var(--bw-field-border);
	padding: 0 14px;
	outline: none;
	border-radius: var(--bw-radius-control);
	font: 14px/42px var(--bw-font); 
	color: var(--bw-text);
	margin: 0;
	display: block;
	background-color: #fff;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none; 
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
	height: auto;
	padding: 10px 14px;
	line-height: 1.5;
	resize: vertical;
}

select {
	background: url('data:image/svg+xml;utf8,<svg fill="%2364748B" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center, #fff;
	padding-right: 36px;
	cursor: pointer;
}

select[multiple] {
	background-image: none;
	height: auto;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
	border-color: var(--bw-blue);
	box-shadow: 0 0 0 3px rgba(1, 94, 234, 0.12);
	background: #fff;
}

input[type="checkbox"] {
	display: inline;
	float: left;
}

input[type="checkbox"] + label {
	margin-left: 20px;
	display: block; 
	overflow: hidden;
}


::placeholder {
	color: #94A3B8;
}

	input[type=date]:after,
.fa-calendar:after {
	color: #494a4a;
	font: 300 20px/0.7 'Font Awesome 5 Pro';
	margin-right: 12px;
	text-decoration: none;
	content: '\f073';
	position: absolute;
	right: 0;
	bottom: 12px;
	pointer-events: none;
}

input[type="date"]::-webkit-datetime-edit-text { color: #b9b9b9; }
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
   opacity: 0;
}



/* Errors */
.formerror input,
.formerror textarea,
.formerror select {
	border-color: #EF4444;
}

.error {
	color: #EF4444 !important;
	font-size: 13px;
	margin-top:10px !important;
}


#waiting {
	position: absolute;
	text-align: center;
	background: url(/_img/layup/loading.svg) no-repeat center center;
	background-size: 100px;
}
