/**
 * Mapleapp corporate site — brand overrides
 */
:root {
	--maple-primary: #0f766e;
	--maple-primary-hover: #0d9488;
	--maple-primary-soft: #ccfbf1;
	--maple-dark: #134e4a;
}

.maple-loading .object,
.blue-loading .object,
.purple-loading .object {
	background-color: var(--maple-primary) !important;
}

.nav-maple .h-link.active,
.nav-maple .h-link:hover {
	color: var(--maple-primary);
}

.btn--maple,
.btn--blue.btn--maple,
a.btn--maple {
	background-color: var(--maple-primary);
	border-color: var(--maple-primary);
	color: #fff !important;
}

.btn--maple .btn-text,
.btn--maple .anim-txt,
a.btn--maple .btn-text,
a.btn--maple .anim-txt {
	color: #fff !important;
}

.btn--maple:hover,
.btn--blue.btn--maple:hover,
a.btn--maple:hover {
	background-color: var(--maple-primary-hover);
	border-color: var(--maple-primary-hover);
	color: #fff !important;
}

.btn--maple:hover .btn-text,
.btn--maple:hover .anim-txt,
a.btn--maple:hover .btn-text,
a.btn--maple:hover .anim-txt {
	color: #fff !important;
}

.color--maple,
.module-subtitle.color--maple,
.ico-wrap.color--maple {
	color: var(--maple-primary) !important;
}

.bg--maple {
	background-color: var(--maple-primary);
}

.tag-widget .bg--royal,
.tag-widget span.bg--royal {
	background-color: var(--maple-primary) !important;
}

.hero-maple-badge {
	display: inline-block;
	background: var(--maple-primary-soft);
	color: var(--maple-dark);
	font-weight: 600;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.maple-stat-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px 24px;
	height: 100%;
}

.maple-stat-card .flaticon {
	font-size: 34px;
	color: var(--maple-primary);
	margin-bottom: 14px;
	display: inline-block;
}

.maple-hero-panel {
	background: linear-gradient(145deg, #f0fdfa 0%, #ecfeff 45%, #ffffff 100%);
	border: 1px solid #99f6e4;
	border-radius: 20px;
	padding: 32px;
	min-height: 280px;
	box-shadow: 0 20px 50px rgba(15, 118, 110, 0.08);
}

.maple-hero-panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maple-hero-panel li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #e2e8f0;
	font-size: 15px;
}

.maple-hero-panel li:last-child {
	border-bottom: none;
}

.maple-hero-panel .flaticon-check-1 {
	color: var(--maple-primary);
	margin-top: 3px;
}

.desktoplogo img,
.smllogo img,
.footer-logo {
	max-height: 36px;
	width: auto;
}

#header .desktoplogo img,
#header .smllogo img {
	max-height: 48px;
}

.cta-maple {
	background: linear-gradient(135deg, var(--maple-dark) 0%, var(--maple-primary) 100%);
}

.legal-info h3 span,
.legal-info h4 span {
	color: var(--maple-primary);
}

.inner-page-hero.maple-hero {
	background: linear-gradient(135deg, #134e4a 0%, #0f766e 55%, #115e59 100%);
	padding-top: 200px;
	padding-bottom: 100px;
}

.tra-menu .wsmainfull {
	padding: 14px 0 !important;
}

.tra-menu .wsmainfull.scroll {
	padding: 10px 0 !important;
}

/* Dropdown chevrons — inline beside label, not below */
@media only screen and (min-width: 992px) {
	.nav-maple > .wsmenu-list > li > a.h-link {
		font-size: 0.9375rem;
		font-weight: 500;
		padding: 8px 12px;
		margin: 0;
		border-radius: 8px;
		transition: color 0.2s ease, background 0.2s ease;
	}

	.nav-maple .wsarrow {
		display: inline-block;
		margin-left: 5px;
		vertical-align: middle;
		line-height: 1;
	}

	.nav-maple .wsarrow:after,
	.nav-maple > .wsmenu-list > li > a .wsarrow:after {
		position: static !important;
		float: none !important;
		top: auto !important;
		right: auto !important;
		margin: 0 !important;
		display: inline-block;
		vertical-align: 0.12em;
		border-left: 4px solid transparent;
		border-right: 4px solid transparent;
		border-top: 5px solid currentColor;
	}

	.nav-maple > .wsmenu-list > li > ul.sub-menu {
		min-width: 210px;
		top: calc(100% + 8px);
		padding: 8px;
		border-radius: 12px;
		border: 1px solid rgba(15, 23, 42, 0.08);
		box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
	}

	.nav-maple > .wsmenu-list > li > ul.sub-menu > li > a {
		border-radius: 8px;
		padding: 10px 14px;
		font-size: 0.9rem;
	}

	.nav-maple > .wsmenu-list > li > ul.sub-menu > li > a:hover {
		padding: 10px 14px 10px 18px;
		color: var(--maple-primary);
	}

	body.header-on-dark #header .nav-maple .h-link:hover,
	body.header-on-dark #header .nav-maple .h-link.active {
		background: rgba(255, 255, 255, 0.12);
	}

	body.header-on-dark #header .wsmainfull.scroll .nav-maple .h-link:hover,
	body.header-on-dark #header .wsmainfull.scroll .nav-maple .h-link.active {
		background: rgba(15, 118, 110, 0.1);
	}
}

@media only screen and (max-width: 991px) {
	.inner-page-hero.maple-hero {
		margin-top: 70px;
		padding-top: 48px;
		padding-bottom: 72px;
	}

	.nav-maple > .wsmenu-list > li > a.h-link {
		padding: 14px 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	}

	body.header-on-dark .nav-maple > .wsmenu-list > li > a.h-link {
		border-bottom-color: rgba(255, 255, 255, 0.1);
	}

	.nav-maple .wsarrow:after {
		top: 22px !important;
		right: 0 !important;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.nav-maple > .wsmenu-list > li > a.h-link {
		font-size: 0.875rem;
		padding: 8px 10px;
	}

	.nav-maple > .wsmenu-list > li.mobile-last-link .btn.last-link {
		padding: 9px 14px;
		font-size: 0.8125rem;
	}
}

/* Dark hero pages — white nav at top, dark nav when scrolled */
body.header-on-dark #header .nav-maple .h-link:hover,
body.header-on-dark #header .nav-maple .h-link.active {
	color: var(--maple-primary-soft);
}

body.header-on-dark #header .wsmainfull.scroll .nav-maple .h-link:hover,
body.header-on-dark #header .wsmainfull.scroll .nav-maple .h-link.active {
	color: var(--maple-primary) !important;
}

body.header-on-dark #header .wsmobileheader .wsanimated-arrow span,
body.header-on-dark #header .wsmobileheader .wsanimated-arrow span::before,
body.header-on-dark #header .wsmobileheader .wsanimated-arrow span::after {
	background: #fff;
}

body.header-on-dark #header .wsmainfull.scroll ~ .wsmobileheader .wsanimated-arrow span,
body.header-on-dark #header .wsmainfull.scroll ~ .wsmobileheader .wsanimated-arrow span::before,
body.header-on-dark #header .wsmainfull.scroll ~ .wsmobileheader .wsanimated-arrow span::after {
	background: #0f172a;
}

#header .desktoplogo img,
#header .smllogo img {
	background: transparent !important;
	display: block;
}

/* Keep logo and nav on one row (desktop) */
@media only screen and (min-width: 992px) {
	.wsmainfull .wsmainwp {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 24px;
	}

	.wsmainfull .desktoplogo {
		float: none;
		flex-shrink: 0;
		line-height: 1;
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
		position: relative;
		z-index: 2;
	}

	.wsmainfull .wsmenu {
		float: none;
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
		justify-self: end;
		width: 100%;
	}

	.wsmainfull .wsmenu > .wsmenu-list {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: center;
		width: 100%;
		max-width: 100%;
	}

	.wsmainfull .wsmenu > .wsmenu-list > li {
		float: none;
		flex-shrink: 0;
	}

	.nav-maple .wsmenu > .wsmenu-list > li > a.h-link {
		margin: 0;
		padding: 8px 10px;
		font-size: 0.875rem;
	}

	.nav-maple .wsmenu > .wsmenu-list > li.reg-fst-link.m-left > a,
	.nav-maple .wsmenu > .wsmenu-list > li.reg-fst-link > a {
		margin-left: 0;
	}

	.wsmainfull .wsmenu > .wsmenu-list > li.reg-fst-link,
	.wsmainfull .wsmenu > .wsmenu-list > li.mobile-last-link {
		display: flex;
		align-items: center;
		align-self: center;
	}

	.wsmainfull .wsmenu > .wsmenu-list > li > a.h-link {
		display: inline-flex;
		align-items: center;
		line-height: 1.3;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.nav-maple .wsmenu > .wsmenu-list > li.mobile-last-link .btn.last-link {
		margin-left: 4px;
		padding: 10px 16px;
		font-size: 0.8125rem;
		line-height: 1.2;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 40px;
		white-space: nowrap;
	}
}

.pricing-2-table.highlight-plan {
	border: 2px solid var(--maple-primary);
	box-shadow: 0 16px 40px rgba(15, 118, 110, 0.15);
}

.pricing-2-table .plan-badge {
	display: inline-block;
	background: var(--maple-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}

.comp-table .table .color--maple {
	color: var(--maple-primary) !important;
}

.license-form .form-control:focus,
.license-form .form-select:focus {
	border-color: var(--maple-primary);
	box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.footer-parent-company a {
	color: var(--maple-primary);
	font-weight: 500;
	text-decoration: none;
}

.footer-parent-company a:hover {
	color: var(--maple-primary-hover);
	text-decoration: underline;
}

.footer-trustpilot {
	display: inline-block;
	line-height: 0;
}

.footer-trustpilot img {
	height: 32px;
	width: auto;
	max-width: 100%;
}

.footer-trustpilot:hover img {
	opacity: 0.85;
}

.fbox-3.maple-fbox {
	padding: 28px 24px;
}

.fbox-3.maple-fbox .flaticon {
	font-size: 42px;
	color: var(--maple-primary);
	margin-bottom: 16px;
	display: inline-block;
}

/* ── Forms: unified spacing & layout ── */
.maple-form-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px 40px;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.maple-form.contact-form,
.maple-form.license-form,
.maple-form.setup-form {
	margin: 0;
}

.maple-form .form-control,
.maple-form .form-select {
	height: 54px;
	margin-bottom: 0;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 0 16px;
	font-size: 0.95rem;
	background-color: #fff;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.maple-form textarea.form-control {
	height: auto;
	min-height: 140px;
	padding: 14px 16px;
	line-height: 1.5;
}

.maple-form .form-control:focus,
.maple-form .form-select:focus {
	border-color: var(--maple-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
	outline: none;
}

.maple-form .form-control.error,
.maple-form .form-select.error {
	border-color: #f97316;
}

.maple-form-section {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #e2e8f0;
}

.maple-form-section:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.maple-form-section-title {
	margin: 0 0 0.35rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: #0f172a;
}

.maple-form-section-lead {
	margin: 0 0 1.25rem;
	font-size: 0.925rem;
	color: #64748b;
}

.maple-form .form-btn {
	margin-top: 1.75rem;
}

.maple-form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 0.925rem;
	line-height: 1.55;
	color: #334155;
}

.maple-form-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--maple-primary);
}

.maple-form-msg,
.contact-form-msg,
.license-form-msg,
.setup-form-msg {
	width: 100%;
	margin-top: 1rem;
	min-height: 1.5rem;
	padding-left: 0;
}

.maple-form .loading {
	font-size: 0.95rem;
}

.contacts-1 .contacts-info {
	padding-right: 24px;
}

.contacts-1 .form-wrapper.maple-form-card {
	height: 100%;
}

.get-started-plans {
	margin-bottom: 2.5rem;
}

.get-started-plans .fbox-3 {
	padding: 24px;
}

.get-started-plans .highlight-plan-card {
	border: 2px solid var(--maple-primary);
	box-shadow: 0 12px 32px rgba(15, 118, 110, 0.12);
}

@media (max-width: 991px) {
	.contacts-1 .contacts-info {
		padding-right: 0;
		margin-bottom: 2rem;
	}
}

@media (max-width: 767px) {
	.maple-form-card {
		padding: 24px 20px;
		border-radius: 14px;
	}

	.maple-form-section {
		margin-top: 1.5rem;
		padding-top: 1.5rem;
	}
}
