:root {
	--av-bg: #f6f8fb;
	--av-surface: #ffffff;
	--av-surface-soft: #eef3f7;
	--av-text: #17212f;
	--av-muted: #667487;
	--av-line: #dfe7ee;
	--av-primary: #1565d8;
	--av-primary-dark: #0f4fa9;
	--av-teal: #18a999;
	--av-coral: #e0574f;
	--av-amber: #f4b740;
	--av-radius: 8px;
	--av-shadow: 0 18px 48px rgba(23, 33, 47, 0.11);
}

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

html {
	min-height: 100%;
	font-size: 10px;
}

body {
	min-height: 100%;
	margin: 0;
	color: var(--av-text);
	background: var(--av-bg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
}

.page-preloader {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 16px;
	color: #ffffff;
	background: #17212f;
	transition: opacity 0.34s ease, visibility 0.34s ease;
}

.js.page-loading .page-preloader {
	display: flex;
}

.js.page-loaded .page-preloader {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.preloader-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
	animation: preloaderPulse 1.1s ease-in-out infinite;
}

.preloader-mark span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	color: #ffffff;
	font-size: 24px;
	font-weight: 900;
	background: var(--av-primary);
	border-radius: 8px;
}

.preloader-copy {
	color: rgba(255, 255, 255, 0.76);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

@keyframes preloaderPulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.07);
	}
}

a {
	color: var(--av-primary);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--av-primary-dark);
	text-decoration: none;
}

.container {
	width: min(1140px, calc(100% - 32px));
	margin-right: auto;
	margin-left: auto;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -12px;
	margin-left: -12px;
}

[class*="col-"] {
	width: 100%;
	padding-right: 12px;
	padding-left: 12px;
}

@media (min-width: 768px) {
	.col-sm-4 { width: 33.333333%; }
	.col-sm-6 { width: 50%; }
	.col-sm-8 { width: 66.666667%; }
}

@media (min-width: 992px) {
	.col-md-4 { width: 33.333333%; }
	.col-md-5 { width: 41.666667%; }
	.col-md-6 { width: 50%; }
	.col-md-7 { width: 58.333333%; }
	.col-md-8 { width: 66.666667%; }
}

@media (min-width: 1200px) {
	.col-lg-3 { width: 25%; }
}

.public-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(223, 231, 238, 0.9);
	backdrop-filter: blur(14px);
}

.public-nav {
	display: flex;
	align-items: center;
	min-height: 72px;
	gap: 24px;
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 10px;
	color: var(--av-text);
	font-size: 20px;
	font-weight: 800;
}

.brand-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: #ffffff;
	background: var(--av-primary);
	border-radius: 8px;
	box-shadow: 0 10px 22px rgba(21, 101, 216, 0.24);
}

.public-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	margin-left: auto;
	background: #ffffff;
	border: 1px solid var(--av-line);
	border-radius: 8px;
	cursor: pointer;
}

.public-nav-toggle span:not(.sr-only) {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--av-text);
	border-radius: 999px;
}

.public-nav-toggle span:not(.sr-only) + span:not(.sr-only) {
	margin-top: 4px;
}

.public-nav-toggle[aria-expanded="true"] {
	border-color: var(--av-primary);
	box-shadow: 0 0 0 4px rgba(21, 101, 216, 0.12);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.public-nav-panel {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-left: auto;
}

.public-menu {
	display: flex;
	align-items: center;
	gap: 6px;
}

.public-menu a,
.nav-link {
	padding: 9px 12px;
	color: var(--av-muted);
	font-weight: 700;
	border-radius: 8px;
}

.public-menu a.active,
.public-menu a:hover,
.nav-link:hover {
	color: var(--av-primary);
	background: #eef5ff;
}

.public-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.public-main {
	min-height: calc(100vh - 154px);
	padding: 46px 0 72px;
}

.public-main-flush {
	padding: 0;
}

.page-header {
	margin: 0 0 24px;
}

.page-header h1 {
	margin: 0;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.2;
}

.content {
	padding: 26px;
	background: var(--av-surface);
	border: 1px solid var(--av-line);
	border-radius: var(--av-radius);
	box-shadow: var(--av-shadow);
}

.auth-content {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.public-footer {
	padding: 28px 0;
	color: var(--av-muted);
	background: #ffffff;
	border-top: 1px solid var(--av-line);
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.footer-inner p {
	margin: 0;
}

.footer-meta {
	font-size: 13px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 10px 16px;
	color: var(--av-text);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	vertical-align: middle;
	background: #ffffff;
	border: 1px solid var(--av-line);
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(23, 33, 47, 0.12);
}

.btn-primary {
	color: #ffffff;
	background: var(--av-primary);
	border-color: var(--av-primary);
}

.btn-primary:hover,
.btn-primary:focus {
	color: #ffffff;
	background: var(--av-primary-dark);
	border-color: var(--av-primary-dark);
}

.btn-default {
	color: var(--av-text);
	background: #ffffff;
}

.btn-link {
	color: var(--av-primary);
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.btn-lg {
	min-height: 50px;
	padding: 14px 20px;
	font-size: 16px;
}

.btn-sm {
	min-height: 36px;
	padding: 9px 13px;
	font-size: 13px;
}

.form-group {
	margin-bottom: 18px;
}

label {
	display: block;
	margin-bottom: 7px;
	font-weight: 800;
}

.form-control {
	display: block;
	width: 100%;
	height: 44px;
	padding: 10px 12px;
	color: var(--av-text);
	background: #ffffff;
	border: 1px solid #cfd9e3;
	border-radius: 8px;
	box-shadow: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.textarea-control {
	height: auto;
	min-height: 120px;
	resize: vertical;
}

.form-control:focus {
	border-color: var(--av-primary);
	outline: none;
	box-shadow: 0 0 0 4px rgba(21, 101, 216, 0.12);
}

.checkbox {
	margin: 2px 0 18px;
}

.checkbox label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--av-muted);
	font-weight: 700;
}

.alert {
	padding: 14px 16px;
	margin-bottom: 18px;
	border-radius: 8px;
}

.alert p {
	margin: 0;
}

.alert-danger {
	color: #8f2d2a;
	background: #fff0ef;
	border: 1px solid #ffd2cf;
}

.alert-success {
	color: #176b42;
	background: #effaf4;
	border: 1px solid #c8efd9;
}

.swal-lite-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(23, 33, 47, 0.62);
}

.swal-lite-modal {
	width: min(420px, 100%);
	padding: 28px;
	text-align: center;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.swal-lite-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-bottom: 16px;
	color: #ffffff;
	font-size: 30px;
	font-weight: 900;
	background: var(--av-primary);
	border-radius: 50%;
}

.swal-lite-warning .swal-lite-icon {
	background: var(--av-amber);
	color: #17212f;
}

.swal-lite-error .swal-lite-icon {
	background: var(--av-coral);
}

.swal-lite-success .swal-lite-icon {
	background: var(--av-teal);
}

.swal-lite-modal h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 900;
}

.swal-lite-modal p {
	margin: 0 0 22px;
	color: var(--av-muted);
}

.panel {
	margin-bottom: 24px;
	background: #ffffff;
	border: 1px solid var(--av-line);
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(23, 33, 47, 0.08);
}

.panel-heading {
	padding: 14px 18px;
	font-weight: 800;
	background: var(--av-surface-soft);
	border-bottom: 1px solid var(--av-line);
	border-radius: 8px 8px 0 0;
}

.panel-primary .panel-heading {
	color: #ffffff;
	background: var(--av-primary);
}

.panel-success .panel-heading {
	color: #ffffff;
	background: var(--av-teal);
}

.panel-body {
	padding: 18px;
}

.lead {
	font-size: 26px;
	font-weight: 800;
}

.fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
	line-height: 1;
}

.fa:before {
	content: "";
}

.fa-user-plus:before { content: "+"; }
.fa-sign-in:before { content: ">"; }
.fa-check-circle:before { content: "\2713"; }
.fa-trophy:before { content: "#"; }
.fa-star:before { content: "*"; }
.fa-users:before { content: "3"; }
.fa-money:before { content: "$"; }
.fa-graduation-cap:before { content: "A"; }
.fa-microphone:before { content: "M"; }
.fa-female:before { content: "P"; }
.fa-heart:before { content: "H"; }
.fa-rocket:before { content: ">"; }
.fa-calendar-check-o:before { content: "C"; }
.fa-dashboard:before { content: "D"; }

.auth-shell {
	margin: -8px 0 8px;
}

.auth-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
	gap: 28px;
	align-items: stretch;
}

.auth-copy,
.auth-card {
	border: 1px solid var(--av-line);
	border-radius: 8px;
}

.auth-copy {
	padding: 34px;
	color: #ffffff;
	background: #22394f;
	box-shadow: 0 18px 44px rgba(23, 33, 47, 0.12);
}

.auth-kicker {
	margin: 0 0 12px;
	color: var(--av-amber);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.auth-copy h2 {
	margin: 0 0 14px;
	font-size: 34px;
	font-weight: 900;
	line-height: 1.12;
}

.auth-copy p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 1.7;
}

.auth-points {
	display: grid;
	gap: 10px;
	margin-top: 24px;
}

.auth-points span {
	display: flex;
	align-items: center;
	gap: 9px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 800;
}

.auth-points .fa {
	color: var(--av-amber);
}

.auth-card {
	padding: 30px;
	background: #ffffff;
	box-shadow: 0 18px 44px rgba(23, 33, 47, 0.1);
}

.auth-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 8px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}

.form-grid-full {
	grid-column: 1 / -1;
}

.content,
.event-card,
.service-card,
.workflow-item,
.metric,
.auth-copy,
.auth-card {
	animation: contentRise 0.48s ease both;
}

@keyframes contentRise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 900px) {
	.public-nav {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 0 12px;
		min-height: 64px;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.brand-mark {
		min-width: 0;
		min-height: 48px;
		overflow: hidden;
		white-space: nowrap;
	}

	.brand-mark > span:last-child {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.public-nav-toggle {
		display: inline-flex;
		flex-direction: column;
		grid-column: 2;
		grid-row: 1;
	}

	.public-nav-panel {
		grid-column: 1 / -1;
		display: none;
		width: 100%;
		margin-left: 0;
		margin-top: 8px;
		padding: 12px;
		background: #ffffff;
		border: 1px solid var(--av-line);
		border-radius: 8px;
		box-shadow: 0 18px 38px rgba(23, 33, 47, 0.12);
	}

	.public-nav-panel.is-open {
		display: grid;
		gap: 10px;
	}

	.public-menu {
		display: grid;
		grid-template-columns: 1fr;
		gap: 6px;
		margin-left: 0;
	}

	.public-menu a,
	.nav-link {
		width: 100%;
		padding: 12px;
	}

	.public-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		width: 100%;
		margin-top: 0;
	}

	.public-actions .btn,
	.public-actions .nav-link {
		justify-content: center;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.content {
		padding: 20px;
	}

	.auth-panel,
	.form-grid {
		grid-template-columns: 1fr;
	}

	.auth-copy,
	.auth-card {
		padding: 24px;
	}

	.auth-copy h2 {
		font-size: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*:before,
	*:after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
