@font-face {
    font-family: Poppins-Bold;
    src: url("/fonts/Poppins-Bold.ttf");
}

@font-face {
    font-family: Poppins-Medium;
    src: url("/fonts/Poppins-Medium.ttf");
}

@font-face {
    font-family: Poppins-Regular;
    src: url("/fonts/Poppins-Regular.ttf");
}

@font-face {
    font-family: Poppins-SemiBold;
    src: url("/fonts/Poppins-SemiBold.ttf");
}

@font-face {
    font-family: Inter;
    src: url("/fonts/Inter-Regular.ttf");
}

:root {
	--navy: #003d70;
	--blue: #0d5ea6;
	--sky: #e9f4ff;
	--green: #1d8f6a;
	--gold: #e8c26c;
	--text: #203040;
	--muted: #5f7388;
	--white: #ffffff;
	--border: #d7e3ef;
	--shadow: 0 18px 40px rgba(15, 39, 64, 0.12);
	--radius: 18px;
}

* { 
	box-sizing: border-box; 
	font-family: Poppins-Regular;
}



.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0d6efd;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(11.05, 93.5, 215.05);
    --bs-btn-hover-border-color: rgb(10.4, 88, 202.4);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(10.4, 88, 202.4);
    --bs-btn-active-border-color: rgb(9.75, 82.5, 189.75);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(91.8, 99.45, 106.25);
    --bs-btn-hover-border-color: rgb(86.4, 93.6, 100);
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(86.4, 93.6, 100);
    --bs-btn-active-border-color: rgb(81, 87.75, 93.75);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6c757d;
    --bs-btn-disabled-border-color: #6c757d
}

body {
	margin: 0;
	font-family: Poppins-Regular;
	color: var(--text);
	background: #f7fafc;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(1800px, calc(100% - 32px));
	max-width: min(1800px, calc(100% - 32px));
	margin: 0 auto;
}

.topbar {
	background: var(--white);
	border-bottom: 1px solid rgba(0, 0, 0, .05);
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(8px);
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	color: var(--navy);
}

.brand-mark {
	width: 162px;
	height: 42px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--blue), var(--navy));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 800;
	background-image: url('/images/insight_logo.png');
	background-size: contain;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 14px;
}

.nav-link,
.btn {
	/* border-radius: 999px; */
	padding: 12px 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	font-weight: 600;
}

.nav-link:hover {
	background: #f1f6fb;
}

.btn-primary,.btn-secondary,.btn-tertiary,.toggle-btn {
    display: inline-flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    outline: none;
    border: none;
    transition: background-color .3s ease;
    font-family: Poppins-Medium;
    font-size: 16px;
    line-height: initial;
    position: relative
}

.btn-primary {
	background: var(--navy);
	color: f2f5f6;
	box-shadow: var(--shadow);
	text-decoration: none;
	color: #f2f5f6;
	background: #003d70;
}

.btn-secondary {
    color: #003d70;
    border: none;
    outline: none;
    background-color: transparent
}

.btn-secondary .material-icons-outlined.button-icon {
    color: #003d70
}

.btn-secondary:hover {
    background: #ccd8e2;
    color: #00315a
}

.btn-secondary:active {
    color: #c72a2a99;
    background: #99b1c6
}

.btn-secondary:active .material-icons-outlined.button-icon {
    color: #c72a2a99
}

.btn-secondary:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4px;
    border-width: 2px;
    border-style: solid;
    border-color: #003d70;
    pointer-events: none
}

.btn-secondary:disabled {
    color: #668ba8;
    background: #ccd8e2
}

.btn-secondary:disabled .material-icons-outlined.button-icon {
    color: #668ba8
}

.btn-outline {
	border-color: var(--border);
	background: white;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: var(--text);
    pointer-events: none;
    background-color: var(--muted);
    border-color: var(--muted);
    opacity: var(--bs-btn-disabled-opacity);
}

button select {
	  font-family: inherit;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    background: inherit;
}

.hero {
	background: radial-gradient(circle at top right, rgba(13, 94, 166, .16), transparent 26%),
		linear-gradient(180deg, #f9fcff 0%, #edf7ff 100%);
	padding: 72px 0 54px;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.25fr .9fr;
	gap: 28px;
	align-items: center;
}

.eyebrow {
	color: var(--navy);
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: 13px;
}

h1 {
	font-size: clamp(2.2rem, 5vw, 4.3rem);
	line-height: 1.05;
	margin: 12px 0 18px;
	color: var(--navy);
}

.lead {
	font-size: 1.08rem;
	line-height: 1.75;
	color: var(--muted);
	max-width: 64ch;
}

.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 26px;
}

.feature-panel,
.card,
.report-card,
.embed-shell {
	background: white;
	border: 1px solid rgba(15, 39, 64, .06);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.card-image {
	width: 300px; 
	height: 176px;
	border-radius: var(--radius);
}

.feature-panel {
	padding: 26px;
}

.file-icon {
	max-width: 20px;
	max-height: 20px;
}

@media (max-width: 480px) {
  .feature-stat {
		grid-template-columns: repeat(1, 1fr) !important;
		gap: 7px;
	}
}

.feature-stat {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 18px;
}

.stat {
	padding: 16px;
	border-radius: 16px;
	background: #f6fbff;
	border: 1px solid var(--border);
}

.stat strong {
	display: block;
	color: var(--navy);
	font-size: 1.35rem;
	margin-bottom: 4px;
}

.section {
	padding: 54px 0;
}

.section-head {
	max-width: 760px;
	margin-bottom: 24px;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.card {
	padding: 24px;
}

.icon-badge {
	border-radius: 16px;
	/* background: linear-gradient(135deg, #edf7ff, #f5fffb); */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 14px;
	background-size: contain;	
	width: 100%;
	height: 145px;
}

.report-icon {
	border: 1px solid black;
	border-radius: 4px;
	padding: 2px;
  max-width: 100%;
	max-height: 145px;
}

.muted {
	color: var(--muted);
	min-height: 85px;
	max-height: 85px;
	
	/* Hide scrollbar for Chrome, Safari and Opera */
  &::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.flash {
	background: #ebfff7;
	border: 1px solid #b9ead4;
	color: #0e664a;
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 18px;
}

.report-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
}

.report-card {
	padding: 22px;
	position: relative;
	overflow: hidden;
	max-width: 329px;
}

.report-card h3 {
	margin: 10px 0;
	min-height: 50px;
	max-height: 50px;
	overflow: hidden;
}

.report-pills {
	display:flex; 
	gap:8px; 
	flex-wrap:wrap; 
	margin-bottom:10px;
}

.report-title {
	margin-bottom: 5px;
}

.pill {
	display: inline-flex;
	padding: 7px 10px;
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 700;
	height: 33px;
}

.pill-public {
	background: #e9f8f0;
	color: #116b4d;
}

.pill-locked {
	background: #fff5e7;
	color: #9b6500;
}

.pill-access {
	background: #eef4ff;
	color: #23549e;
}

.report-container {
	padding 0;
}

.report-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 16px 0;
	WIDTH: 100%;
	justify-content: flex-end;
}

.page-hero {
	padding: 42px 0 24px;
	background: linear-gradient(180deg, #fbfdff 0%, #f3f8fc 100%);
	border-bottom: 1px solid rgba(15, 39, 64, .05);
}

.embed-shell {
	padding: 16px;
}

iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 14px;
	background: #f0f5fa;
}

dialog {
	border: none;
	border-radius: 20px;
	width: min(520px, calc(100% - 24px));
	padding: 0;
	box-shadow: var(--shadow);
}

dialog::backdrop {
	background: rgba(15, 39, 64, .55);
}

.dialog-body {
	padding: 24px;
}

.dialog-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 18px;
}

.form-stack {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.form-label {
    font-weight: 700;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 1rem;
    box-sizing: border-box;
}

.form-error {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff3f2;
    color: #a53c36;
    border: 1px solid #efc1bc;
}

.qr-image {
    display: block;
    margin: 0 auto;
    width: 160px;
}

.dialog-secondary-actions {
    text-align: center;
    margin-top: 12px;
    font-size: .875rem;
}

.dialog-secondary-actions a {
    color: var(--blue);
    display: block;
    margin-top: 6px;
}

.forgot-password {
    font-size: .85rem;
    color: var(--blue);
    text-align: right;
}

.login-success-notice {
    font-size: .95rem;
    color: var(--green);
    background: #ebfff7;
    border: 1px solid #b9ead4;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ── Dialog wide variant (2FA setup) ─────────────────────────────── */
dialog.dialog-wide {
    width: min(640px, calc(100% - 24px));
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

/* ── 2FA step cards ──────────────────────────────────────────────── */
.tfa-step {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    margin-top: 14px;
}

.tfa-step p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6;
}

.tfa-step-num {
    font-weight: 700;
    color: var(--navy);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.tfa-link {
    color: var(--blue);
}

/* ── Tab bar (Scan Barcode / Enter Key) ──────────────────────────── */
.tab-bar {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin: 12px 0 0;
}

.tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 16px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    margin-bottom: -1px;
    border-radius: 0;
}

.tab-btn.active {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

.tab-content {
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: white;
}

.tab-pane {
    display: none;
    padding: 16px;
}

.tab-pane.active {
    display: block;
}

.qr-center {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

/* ── Resend countdown timer ──────────────────────────────────────── */
.resend-timer {
    font-size: .85rem;
    color: var(--muted);
    text-align: center;
    padding: 6px 0;
}

.resend-timer-hidden {
    display: none;
}

.resend-feedback {
    font-size: .85rem;
    color: var(--green);
    background: #ebfff7;
    border: 1px solid #b9ead4;
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
}

/* ── Trust device checkbox ───────────────────────────────────────── */
.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--navy);
    flex-shrink: 0;
}

/* ── Small muted label for multi-channel links ───────────────────── */
.muted-small {
    color: var(--muted);
    font-size: .8rem;
}

/* ── 2FA dialog text links with hover background ─────────────────── */
.tfa-action-link {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.tfa-action-link:hover {
    background: #dde6f0;
}

.footer {
	padding: 28px 0 54px;
	color: var(--muted);
}

@media (max-width: 900px) {

	.hero-grid,
	.cards {
		grid-template-columns: 1fr;
	}

	.nav-links {
		gap: 8px;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.brand-tagline {
		display: none;
	}
}

/* ── User menu dropdown ──────────────────────────────────────────── */
.user-menu-wrap {
    position: relative;
}

.user-menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-menu-caret {
    font-size: .75rem;
    color: var(--muted);
}

.user-menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 200px;
    z-index: 100;
    padding: 6px;
}

.user-menu-dropdown.open {
    display: block;
}

.user-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .9rem;
    cursor: pointer;
    color: var(--text);
}

.user-menu-item:hover {
    background: #f1f6fb;
}

h1,
.h1 {
	font-family: Poppins-Semibold;
	font-size: 32px;
	line-height: 48px;
	color: #000829
}

@media(min-width: 768px) {

	h1,
	.h1 {
		font-family: Poppins-Semibold;
		font-size: 46px;
		line-height: 62px
	}
}

h2,
.h2 {
	font-family: Poppins-Semibold;
	font-size: 24px;
	line-height: 42px;
	color: #000829
}

@media(min-width: 768px) {

	h2,
	.h2 {
		font-family: Poppins-Semibold;
		font-size: 34px;
		line-height: 48px
	}
}

h3,
.h3 {
	font-family: Poppins-Semibold;
	font-size: 24px;
	line-height: 32px;
	color: #000829
}

@media(min-width: 768px) {

	h3,
	.h3 {
		font-family: Poppins-Semibold;
		font-size: 32px;
		line-height: 48px
	}
}

h4,
.h4 {
	font-family: Poppins-Semibold;
	font-size: 24px;
	line-height: 32px;
	color: #000829
}

h5,
.h5 {
	font-family: Poppins-Medium;
	font-size: 18px;
	line-height: 24px;
	color: #000829
}

@media(min-width: 768px) {

	h5,
	.h5 {
		font-family: Poppins-Semibold;
		font-size: 20px;
		line-height: 24px
	}
}

h6,
.h6 {
	font-family: Poppins-Medium;
	font-size: 18px;
	line-height: 24px;
	color: #000829
}

/*
Word embed controls
*/
#ControlMenu-Small14 {
    display: none;
}