/* Mini CRM — modern polished theme on top of Bootstrap 5.3.
   Loaded after bootstrap.min.css. */

:root {
	/* Fresh indigo accent (replaces Bootstrap default blue). */
	--bs-primary: #4f46e5;
	--bs-primary-rgb: 79, 70, 229;
	--bs-primary-bg-subtle: #eef2ff;
	--bs-primary-border-subtle: #c7d2fe;
	--bs-primary-text-emphasis: #3730a3;
	--bs-link-color: #4f46e5;
	--bs-link-color-rgb: 79, 70, 229;
	--bs-link-hover-color: #3730a3;
	/* --bs-link-hover-color-rgb */
	--crm-bg: #f4f5fb;
	--crm-ink: #1f2330;
	--crm-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .09);
	--crm-shadow-lg: 0 8px 20px -6px rgba(16, 24, 40, .14), 0 3px 6px -3px rgba(16, 24, 40, .08);
	--crm-radius: .875rem;
	--crm-sidebar-width: 250px;
	--crm-border: rgba(100, 116, 139, .16);
	--crm-muted: #64748b;
}

body.crm-app {
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	color: var(--crm-ink);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background-color: var(--crm-bg) !important;
	background-image: radial-gradient(1100px 520px at 8% -12%, rgba(99, 102, 241, .10), transparent 60%),
		radial-gradient(900px 480px at 108% 112%, rgba(99, 102, 241, .08), transparent 60%);
	background-attachment: fixed;
}

body.crm-app::before {
	content: "";
	position: fixed;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,.42), transparent 35%);
	pointer-events: none;
}

.crm-auth-page {
	min-height: 100vh;
	background: #f8fafc !important;
	color: var(--crm-ink);
}

.crm-auth-shell {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(320px, .9fr) minmax(440px, 1.1fr);
}

.crm-auth-story {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2.5rem clamp(2rem, 5vw, 5rem);
	color: #fff;
	background: radial-gradient(ellipse at 12% 15%, rgba(45, 212, 191, .2), transparent 34%), linear-gradient(145deg, #102b3a, #123b48 58%, #13515b);
}

.crm-auth-brand,
.crm-auth-mobile-brand {
	display: flex;
	align-items: center;
	gap: .8rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.crm-auth-brand .crm-logo,
.crm-auth-brand .crm-logo-image {
	box-shadow: 0 5px 16px rgba(0, 0, 0, .18);
}

.crm-auth-story-content {
	max-width: 510px;
	margin: 3rem auto;
}

.crm-auth-kicker {
	margin-bottom: 1rem;
	color: #7ee5d2;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .16em;
}

.crm-auth-story-content h1 {
	max-width: 500px;
	margin-bottom: 1.2rem;
	font-size: clamp(2.5rem, 4vw, 4rem);
	font-weight: 750;
	letter-spacing: -.055em;
	line-height: 1.06;
}

.crm-auth-story-content > p {
	max-width: 430px;
	margin-bottom: 2.5rem;
	color: rgba(255,255,255,.72);
	font-size: 1.05rem;
	line-height: 1.7;
}

.crm-auth-feature {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 1.25rem;
}

.crm-auth-feature > span {
	color: #7ee5d2;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .08em;
}

.crm-auth-feature strong,
.crm-auth-feature small {
	display: block;
}

.crm-auth-feature strong { font-size: .95rem; }
.crm-auth-feature small { margin-top: .25rem; color: rgba(255,255,255,.65); }
.crm-auth-story-footer { color: rgba(255,255,255,.5); font-size: .8rem; }

.crm-auth-form-side {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem clamp(1.5rem, 6vw, 6rem);
}

.crm-auth-form-wrap { width: 100%; max-width: 450px; }
.crm-auth-mobile-brand { display: none; }

.crm-auth-card {
	border: 1px solid rgba(100, 116, 139, .14);
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 20px 60px rgba(30, 41, 59, .08);
}

.crm-auth-submit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding-inline: 1rem;
}

.crm-auth-submit span { font-size: 1.2rem; }
.crm-auth-footnote { margin: 1.25rem 0 0; color: #94a3b8; font-size: .78rem; text-align: center; }

/* ---- public learning landing page ---- */
.crm-home-page {
	min-height: 100vh;
	padding: 0 clamp(1.25rem, 6vw, 6.5rem);
	color: #153342;
	background: #fbfaf7;
}

.crm-home-nav {
	max-width: 1320px;
	height: 88px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	border-bottom: 1px solid rgba(21, 51, 66, .1);
}

.crm-home-brand { display: inline-flex; align-items: center; gap: .75rem; color: #153342; font-weight: 750; text-decoration: none; }
.crm-home-brand:hover { color: #153342; }
.crm-home-login { padding: .65rem 1.15rem; border-radius: 999px; }
.crm-home-login span { margin-left: .6rem; }

.crm-home-hero {
	max-width: 1320px;
	min-height: min(690px, calc(100vh - 180px));
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	margin: 0 auto;
	padding: 4rem 0 3rem;
}

.crm-home-hero-copy { position: relative; z-index: 1; padding-bottom: 1rem; }
.crm-home-kicker { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.4rem; color: #328a80; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.crm-home-kicker span { width: 25px; height: 2px; background: #40bba8; }
.crm-home-hero h1 { margin: 0; color: #153342; font-size: clamp(3.6rem, 6.3vw, 6.8rem); font-weight: 750; letter-spacing: -.075em; line-height: .98; }
.crm-home-hero h1 em { color: #368e83; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.crm-home-hero-copy > p { max-width: 500px; margin: 1.6rem 0 0; color: #687d83; font-size: 1.1rem; line-height: 1.8; }
.crm-home-cta { display: inline-flex; align-items: center; gap: 1.1rem; padding: .95rem 1.25rem; border: 0; border-radius: 999px; background: #153b48; font-size: .92rem; box-shadow: 0 10px 24px rgba(21, 59, 72, .16); }
.crm-home-cta:hover { background: #205965; }
.crm-home-cta span { font-size: 1.2rem; }
.crm-home-caption { color: #87969a; font-size: .78rem; }

.crm-home-art { position: relative; min-height: 470px; display: grid; place-items: center; overflow: hidden; border-radius: 48% 52% 44% 56% / 47% 45% 55% 53%; background: #e8f2eb; }
.crm-home-orbit { position: absolute; border: 1px solid rgba(48, 135, 125, .16); border-radius: 50%; }
.crm-home-orbit-one { width: 390px; height: 390px; }
.crm-home-orbit-two { width: 490px; height: 490px; }
.crm-home-sun { position: absolute; top: 45px; right: 72px; width: 78px; height: 78px; border-radius: 50%; background: #f2c979; box-shadow: 0 0 0 13px rgba(242, 201, 121, .14); }
.crm-home-card-main { position: relative; z-index: 1; width: min(370px, 76%); padding: 1.5rem; border: 1px solid rgba(255,255,255,.85); border-radius: 1.25rem; background: rgba(255,255,255,.94); box-shadow: 0 25px 70px rgba(28, 71, 75, .16); transform: rotate(-3deg); }
.crm-home-card-top { display: flex; align-items: center; gap: .55rem; color: #8b9a9b; font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.crm-home-card-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: #e2f2ed; color: #338d80; font-size: 1rem; }
.crm-home-card-more { margin-left: auto; letter-spacing: .1em; }
.crm-home-course-title { margin: 1.4rem 0 1.6rem; color: #183a45; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; line-height: 1.15; }
.crm-home-progress-label { display: flex; justify-content: space-between; margin-bottom: .55rem; color: #879597; font-size: .68rem; }
.crm-home-progress-label strong { color: #398d80; font-weight: 700; }
.crm-home-progress { height: 7px; overflow: hidden; border-radius: 9px; background: #e8eeea; }
.crm-home-progress span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60c3a8, #358c80); }
.crm-home-card-bottom { display: flex; align-items: center; gap: .65rem; margin-top: 1.35rem; padding-top: 1rem; border-top: 1px solid #edf1ee; color: #708388; font-size: .7rem; }
.crm-home-avatar { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #f4d7b7; color: #805e46; font-weight: 800; }
.crm-home-arrow { margin-left: auto; color: #368e83; font-size: 1rem; }
.crm-home-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.75); border-radius: .9rem; background: rgba(255,255,255,.93); box-shadow: 0 12px 30px rgba(28, 71, 75, .12); }
.crm-home-float-top { top: 19%; left: 3%; transform: rotate(-5deg); }
.crm-home-float-top > span { color: #dfa94b; font-size: 1.4rem; }
.crm-home-float strong, .crm-home-float small { display: block; }
.crm-home-float strong { color: #254852; font-size: .7rem; }
.crm-home-float small { margin-top: .15rem; color: #94a2a2; font-size: .58rem; }
.crm-home-float-bottom { right: 2%; bottom: 18%; transform: rotate(4deg); }
.crm-home-float-check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e0f3e9; color: #399075; font-weight: 800; }
.crm-home-art-label { position: absolute; right: 10%; bottom: 7%; color: #67877e; font-family: Georgia, "Times New Roman", serif; font-size: .8rem; font-style: italic; }

.crm-home-values { max-width: 1320px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0 auto; padding: 1.8rem 0 3rem; border-top: 1px solid rgba(21, 51, 66, .1); }
.crm-home-values > div { position: relative; padding-left: 2.5rem; }
.crm-home-value-mark { position: absolute; left: 0; top: .15rem; color: #41968a; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.crm-home-values strong { color: #24434c; font-size: .88rem; }
.crm-home-values p { margin: .35rem 0 0; color: #839195; font-size: .77rem; }
.crm-home-footer { max-width: 1320px; display: flex; align-items: center; gap: 1.5rem; margin: 0 auto; padding: 1.2rem 0; border-top: 1px solid rgba(21, 51, 66, .08); color: #95a0a0; font-size: .7rem; }
.crm-home-footer span:first-child { color: #4d6b70; font-weight: 700; }
.crm-home-footer a { margin-left: auto; color: #368e83; font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
	.crm-home-hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 4rem; }
	.crm-home-hero-copy { max-width: 650px; }
	.crm-home-hero h1 { font-size: clamp(3.5rem, 12vw, 6rem); }
	.crm-home-art { min-height: 420px; }
}

@media (max-width: 575.98px) {
	.crm-home-page { padding-inline: 1.1rem; }
	.crm-home-nav { height: 72px; }
	.crm-home-hero { padding-top: 3rem; }
	.crm-home-hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
	.crm-home-hero-copy > p { font-size: .98rem; }
	.crm-home-art { min-height: 350px; }
	.crm-home-orbit-one { width: 290px; height: 290px; }
	.crm-home-orbit-two { width: 370px; height: 370px; }
	.crm-home-card-main { width: 78%; padding: 1.1rem; }
	.crm-home-course-title { font-size: 1.5rem; }
	.crm-home-float-top { top: 12%; left: 0; }
	.crm-home-float-bottom { right: 0; bottom: 13%; }
	.crm-home-values { grid-template-columns: 1fr; gap: 1.2rem; padding-block: 1.5rem; }
	.crm-home-footer { flex-wrap: wrap; gap: .5rem 1rem; }
	.crm-home-footer span:nth-child(2) { margin-left: auto; }
}

@media (max-width: 767.98px) {
	.crm-auth-shell { display: block; }
	.crm-auth-story { display: none; }
	.crm-auth-form-side { min-height: 100vh; padding: 2rem 1.25rem; }
	.crm-auth-mobile-brand { display: flex; }
}

.crm-container {
	max-width: 1220px;
	margin: 0 auto;
}

/* ---- brand mark ---- */

.crm-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: .6rem;
	background: linear-gradient(135deg, #6366f1, #4f46e5 55%, #4338ca);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	box-shadow: 0 3px 10px rgba(79, 70, 229, .35);
	user-select: none;
}

.crm-logo-lg {
	width: 46px;
	height: 46px;
	border-radius: .85rem;
	font-size: 1.35rem;
}

.crm-logo-image {
	display: inline-block;
	width: 34px;
	height: 34px;
	flex: none;
	object-fit: contain;
	border-radius: .6rem;
	background: #fff;
	box-shadow: 0 3px 10px rgba(79, 70, 229, .18);
}

.crm-logo-image.crm-logo-lg {
	width: 46px;
	height: 46px;
	border-radius: .85rem;
}

.settings-logo-preview {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: .75rem;
	background: #fff;
	border: 1px solid rgba(16, 24, 40, .08);
	padding: .35rem;
}

.crm-navbar {
	background: rgba(255, 255, 255, .82) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--crm-border);
	box-shadow: 0 1px 0 rgba(255,255,255,.75);
	z-index: 1030;
}

.crm-topbar-inner {
	min-height: 68px;
}

.crm-workspace-pill {
	align-items: center;
	gap: .45rem;
	padding: .38rem .7rem;
	border: 1px solid rgba(79, 70, 229, .12);
	border-radius: 999px;
	background: rgba(238, 242, 255, .7);
	color: #4f46e5;
	font-size: .75rem;
	font-weight: 600;
}

.crm-status-dot {
	width: .45rem;
	height: .45rem;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, .14);
}

.crm-user-menu {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	border: 0;
	background: transparent;
	color: var(--crm-ink);
	font-weight: 600;
}

.crm-user-menu:hover,
.crm-user-menu:focus {
	background: #f1f5f9;
	color: var(--crm-ink);
}

.crm-user-menu::after {
	margin-left: .1rem;
}

.crm-user-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: linear-gradient(135deg, #818cf8, #4f46e5);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.crm-global-search {
	max-width: 34rem;
}

.empty-state-icon {
	align-items: center;
	background: var(--bs-primary-bg-subtle);
	border-radius: 50%;
	color: var(--bs-primary);
	display: inline-flex;
	font-size: 1.5rem;
	height: 3rem;
	justify-content: center;
	width: 3rem;
}

.crm-sidebar {
	background: #102b3a !important;
	border-color: rgba(255,255,255,.07) !important;
	position: relative;
	z-index: 2;
}

.crm-sidebar .offcanvas-body {
	overflow-y: auto;
	padding-top: 1.1rem !important;
}

.crm-shell {
	position: relative;
}

.crm-main {
	min-width: 0;
}

.crm-page-header {
	position: relative;
}

.crm-page-header::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -.85rem;
	width: 46px;
	height: 3px;
	border-radius: 99px;
	background: linear-gradient(90deg, #4f46e5, #a78bfa);
}

.crm-eyebrow {
	margin-bottom: .28rem;
	color: #6366f1;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.crm-page-title {
	color: #171b2d;
	font-weight: 750;
	letter-spacing: -.035em;
}

.crm-dashboard-hero {
	position: relative;
	padding: 1.35rem 1.5rem;
	border: 1px solid rgba(129, 140, 248, .18);
	border-radius: 1.15rem;
	background: linear-gradient(120deg, rgba(255,255,255,.9), rgba(238,242,255,.78));
	box-shadow: 0 10px 30px rgba(79, 70, 229, .07);
}

.crm-summary-card {
	border-color: rgba(100, 116, 139, .13);
	background: rgba(255,255,255,.84);
}

.crm-summary-card .card-body {
	min-height: 112px;
	padding: 1.15rem 1.2rem;
}

.crm-summary-card:hover {
	border-color: rgba(99, 102, 241, .28);
	box-shadow: 0 14px 28px rgba(79, 70, 229, .12);
}

.crm-summary-mark {
	width: 11px;
	height: 48px;
	border-radius: 99px;
	opacity: .9;
}

.crm-summary-mark.text-bg-primary { background: #4f46e5 !important; }
.crm-summary-mark.text-bg-secondary { background: #64748b !important; }
.crm-summary-mark.text-bg-info { background: #0ea5e9 !important; }
.crm-summary-mark.text-bg-success { background: #10b981 !important; }
.crm-summary-mark.text-bg-danger { background: #ef4444 !important; }
.crm-summary-mark.text-bg-warning { background: #f59e0b !important; }
.crm-summary-mark.text-bg-dark { background: #334155 !important; }

/* ---- buttons ---- */

.btn {
	border-radius: .55rem;
	transition: all .15s ease;
}

.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-hover-color: #fff;
	--bs-btn-active-color: #fff;
	--bs-btn-disabled-color: #fff;
	--bs-btn-bg: #4f46e5;
	--bs-btn-border-color: #4f46e5;
	--bs-btn-hover-bg: #4338ca;
	--bs-btn-hover-border-color: #4338ca;
	--bs-btn-active-bg: #4338ca;
	--bs-btn-active-border-color: #4338ca;
	--bs-btn-disabled-bg: #6d6df0;
	--bs-btn-disabled-border-color: #6d6df0;
	box-shadow: 0 1px 2px rgba(79, 70, 229, .35);
}

.btn-outline-primary {
	--bs-btn-color: #4f46e5;
	--bs-btn-border-color: #4f46e5;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #4f46e5;
	--bs-btn-hover-border-color: #4f46e5;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #4f46e5;
	--bs-btn-active-border-color: #4f46e5;
	--bs-btn-focus-shadow-rgb: 79, 70, 229;
}

/* ---- cards ---- */

.card {
	border: 1px solid rgba(100, 116, 139, .13);
	border-radius: var(--crm-radius);
	box-shadow: var(--crm-shadow);
	background-color: rgba(255,255,255,.9);
	overflow: hidden;
}

.card-header {
	background: transparent;
	border-bottom: 1px solid rgba(16, 24, 40, .06);
	font-weight: 600;
	padding: .9rem 1.25rem;
}

.card-footer {
	background: rgba(248, 250, 252, .6);
	border-top: 1px solid rgba(16, 24, 40, .06);
}

.card-hover {
	transition: transform .15s ease, box-shadow .15s ease;
}

.card-hover:hover {
	transform: translateY(-2px);
	box-shadow: var(--crm-shadow-lg);
}

.crm-stat {
	font-weight: 650;
	letter-spacing: -.02em;
}

/* ---- tables ---- */

.table {
	--bs-table-border-color: rgba(16, 24, 40, .07);
}

.table thead th {
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #64748b;
	font-weight: 600;
	border-bottom-width: 1px;
}

.table-light {
	--bs-table-bg: #f8fafc;
	--bs-table-border-color: rgba(16, 24, 40, .08);
}

.table-hover tbody tr {
	transition: background-color .12s ease;
}

.table-hover tbody tr:hover {
	--bs-table-hover-bg: #f8faff;
}

/* ---- badges ---- */

.badge {
	font-weight: 600;
	font-size: .7rem;
	line-height: 1;
	padding: .45em .72em;
	border-radius: .5rem;
}

.badge.text-bg-light {
	background: #eef0f4 !important;
	color: #64748b !important;
	border: 1px solid rgba(16, 24, 40, .08);
}

/* ---- forms ---- */

.form-control,
.form-select {
	border-radius: .55rem;
	border-color: rgba(100, 116, 139, .24);
	min-height: 42px;
	background-color: rgba(255,255,255,.9);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
	border-color: rgba(79, 70, 229, .5);
	box-shadow: 0 0 0 .2rem rgba(79, 70, 229, .16);
}

.form-control::placeholder {
	color: #9aa3b2;
}

/* ---- sidebar ---- */

.nav .nav-link {
	border-radius: .6rem;
	color: rgba(226, 241, 242, .76);
	font-weight: 500;
	padding: .62rem .85rem;
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.nav .nav-link:hover {
	background: rgba(126, 229, 210, .1);
	color: #fff;
}

.nav .nav-link.active {
	background: rgba(45, 212, 191, .16);
	color: #a8f0e4;
	font-weight: 600;
	box-shadow: inset 3px 0 0 #42d4bd;
}

.nav .nav-link:hover {
	transform: translateX(2px);
}

.nav-section {
	display: block;
	padding: .4rem .85rem .25rem;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #7f9ca3;
	margin-top: .6rem;
}

.nav-section:first-child {
	margin-top: 0;
}

/* ---- list groups & dropdowns ---- */

.list-group-item {
	border-color: rgba(16, 24, 40, .06);
	transition: background-color .12s ease;
}

.list-group-item:hover {
	background: #f8faff;
}

.dropdown-menu {
	border: 1px solid rgba(16, 24, 40, .08);
	border-radius: .75rem;
	box-shadow: var(--crm-shadow-lg);
}

.dropdown-item {
	border-radius: .45rem;
}

.dropdown-item:active {
	background-color: var(--bs-primary);
}

/* ---- pagination & alerts ---- */

.page-link {
	color: #4f46e5;
	font-weight: 500;
	border-color: rgba(16, 24, 40, .08);
}

.page-link:hover {
	color: #3730a3;
	background-color: #f4f5fb;
}

.page-item.active .page-link {
	background-color: #4f46e5;
	border-color: #4f46e5;
}

.alert {
	border-radius: .75rem;
	border: 1px solid transparent;
	box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
}

.alert-success {
	border-color: #d1fae5;
}

.alert-danger {
	border-color: #fecaca;
}

.timeline .rounded-circle {
	min-width: 52px;
}

.table td,
.table th {
	vertical-align: middle;
}

.pipeline-scroll {
	overflow-x: auto;
	margin-right: -.25rem;
	padding-right: .25rem;
}

.pipeline-board {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	min-width: max-content;
}

.pipeline-column {
	width: 280px;
	min-height: 250px;
	padding: .75rem;
	border-radius: var(--crm-radius);
	background: rgba(241, 245, 249, .78);
	border: 1px solid rgba(16, 24, 40, .07);
}

.pipeline-column-header {
	min-height: 32px;
}

.pipeline-card {
	border-color: rgba(16, 24, 40, .08);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.pipeline-card:hover {
	transform: translateY(-2px);
	border-color: rgba(79, 70, 229, .35);
	box-shadow: var(--crm-shadow-lg);
}

.pipeline-empty {
	padding: 2rem 1rem;
	border: 1px dashed rgba(100, 116, 139, .35);
	border-radius: .65rem;
	text-align: center;
	font-size: .85rem;
	color: #94a3b8;
}

@media (prefers-reduced-motion: reduce) {
	.card-hover,
	.btn,
	.table-hover tbody tr,
	.list-group-item {
		transition: none;
	}
}

@media (min-width: 768px) {
	.vh-100-md {
		min-height: calc(100vh - 57px);
	}
}

@media (max-width: 767.98px) {
	.crm-topbar-inner {
		min-height: 60px;
	}

	.crm-dashboard-hero {
		align-items: flex-start !important;
		gap: 1rem;
		flex-direction: column;
	}

	.crm-sidebar {
		--bs-offcanvas-width: min(82vw, 290px);
	}

	.crm-sidebar .offcanvas-body {
		padding-bottom: 1rem !important;
	}

	.crm-container {
		width: 100%;
	}

	.crm-page-header p {
		max-width: 90%;
	}
}
