/* MedNova HMIS — styles that live on the public site */

.mn-hmis-band {
	--hb-ink: #0f2438;
	--hb-muted: #6a7f93;
	--hb-line: #dbe4ec;
	--hb-blue: #1f6feb;
	position: relative;
	padding: clamp(56px, 7vw, 96px) 0;
	background: linear-gradient(150deg, #0a1f35 0%, #113052 58%, #0d3f47 100%);
	color: #b6cbdc;
}

.mn-hmis-band--compact { padding: clamp(40px, 5vw, 64px) 0; }

.mn-hmis-band__inner {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.mn-hmis-band__kicker {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 600;
	color: #64d8c4;
}

.mn-hmis-band__title {
	margin: 0;
	color: #fff;
	font-family: "Manrope", system-ui, sans-serif;
	font-size: clamp(2rem, 3.6vw, 3.2rem);
	line-height: 1.06;
	letter-spacing: -.035em;
	max-width: 16ch;
}

.mn-hmis-band__text { margin: 18px 0 0; max-width: 52ch; font-size: 16px; line-height: 1.7; color: #a7c0d3; }

.mn-hmis-band__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 34px;
	margin: 30px 0 0;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, .13);
}

.mn-hmis-band__stats dt { font-size: 12.5px; color: #85a2ba; }
.mn-hmis-band__stats dd { margin: 5px 0 0; color: #fff; font-family: "Manrope", system-ui, sans-serif; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }

.mn-hmis-band__card {
	background: #fff;
	border-radius: 18px;
	padding: clamp(24px, 3vw, 34px);
	box-shadow: 0 26px 70px rgba(4, 18, 33, .38);
	color: var(--hb-ink);
}

.mn-hmis-card__title { margin: 0 0 6px; font-family: "Manrope", system-ui, sans-serif; font-size: 22px; color: var(--hb-ink); letter-spacing: -.02em; }
.mn-hmis-card__note { margin: 14px 0 0; font-size: 13.5px; color: var(--hb-muted); }

.mn-hmis-band .mn-hmis-form { display: grid; gap: 15px; margin-top: 20px; }
.mn-hmis-band .mn-hmis-field { display: grid; gap: 6px; }
.mn-hmis-band .mn-hmis-field span { font-size: 13px; font-weight: 600; color: var(--hb-ink); }

.mn-hmis-band .mn-hmis-field input {
	height: 48px;
	width: 100%;
	border: 1px solid var(--hb-line);
	border-radius: 10px;
	padding: 0 14px;
	font-size: 15px;
	color: var(--hb-ink);
	background: #fff;
}

.mn-hmis-band .mn-hmis-field input:focus { border-color: var(--hb-blue); outline: none; box-shadow: 0 0 0 3px rgba(31, 111, 235, .14); }
.mn-hmis-band .mn-hmis-check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #3d5570; }

.mn-hmis-band .mn-hmis-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	border: 0;
	border-radius: 10px;
	background: var(--hb-blue);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: background 160ms ease;
}

.mn-hmis-band .mn-hmis-submit:hover { background: #1a5fd0; color: #fff; }
.mn-hmis-band .mn-hmis-textlink { color: var(--hb-blue); font-size: 13.5px; }

.mn-hmis-band .mn-hmis-alert {
	margin: 0 0 4px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fdecee;
	border: 1px solid #f4ccd2;
	color: #98283a;
	font-size: 13.5px;
}

/* Navigation tab */
.mn-hmis-menu-item .mn-hmis-nav-link { display: inline-flex; align-items: center; gap: 8px; }
.mn-hmis-nav-dot { width: 8px; height: 8px; border-radius: 50%; background: #12897f; flex: none; }

/* Floating portal button */
.mn-hmis-fab {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 900;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #0a1f35;
	color: #fff !important;
	font-size: 14px;
	font-weight: 650;
	text-decoration: none;
	box-shadow: 0 16px 40px rgba(10, 31, 53, .3);
}

.mn-hmis-fab:hover { background: #113052; }
.mn-hmis-fab__pulse { width: 9px; height: 9px; border-radius: 50%; background: #4fd6c2; flex: none; }

.mn-hmis-inline-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	padding: 0 22px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	background: #1f6feb;
	color: #fff !important;
}

.mn-hmis-inline-btn--outline { background: transparent; color: #0f2438 !important; border: 1px solid #dbe4ec; }

@media (max-width: 900px) {
	.mn-hmis-band__inner { grid-template-columns: minmax(0, 1fr); }
	.mn-hmis-band__title { max-width: none; }
	.mn-hmis-fab { right: 12px; bottom: 12px; padding: 10px 15px; font-size: 13px; }
}
