/*
Theme Name:     TyleIQ
Template:       neve
Author:         Decodist
Author URI:     https://decodist.com
Description:
Version:        1.0.1
License URI:
Text Domain:    tyleiq
*/

/* Stop the flashies and the stretchies */
body, html {
	background: #0f172a !important;
	scrollbar-gutter: stable;
	padding-right: 0 !important;
}
.card, .table-sort, table thead th, .badge {
	background-color: #232e3e !important;
}

/* base font size */
html {
	font-size: 16px;
}

/* containers & spacing */
.container,
.content-area {
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--container) !important;
}
#content {
	margin-top: 6rem;
}
header .container .nav-ul {
	margin: 0;
	padding: 0;
}
.contained {
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.category-docs .nv-single-post-wrap>div:first-child {
	margin-top: -0.7rem !important;
}

.contained.same-height .wp-block-themeisle-blocks-advanced-column {
    height: 100%;
}

@media (max-width: 960px) {
	#content {
		margin-top: 1rem;
	}
	.contained {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.contained.section-h1 {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
	.contained.homepage-tyle .wp-block-themeisle-blocks-advanced-column {
		padding: 1rem !important;
	}
	.menu-mobile .contained {
		margin: 0 !important;
	}
	button.hamburger {
		margin: 50px 0 0 0;
	}
	#header-grid .hide-on-desktop .container {
		padding: 0;
	}
	#footer-menu {
		justify-content: center;
	}
}
.footer-gradient {
	margin-top: 4rem;
}
.nv-sidebar-wrap.nv-left {
	padding-top: 0;
}

.tight-spacing {
	padding: 0 !important;
	margin: 0 !important;
}

/* base layout */
.wp-block-themeisle-blocks-advanced-columns {
	padding-right: 1em;
	padding-left: 1em;
}

@media (max-width: 480px) {
	.contained.section-h1 {
		padding: 0;
		margin: 0.8rem 0 !important;
	}

	.tight-spacing-mobile {
		padding: 0 !important;
		margin: 0;
	}

	.wp-block-themeisle-blocks-advanced-columns {
		padding-right: 0;
		padding-left: 0;
	}
	#footer-menu {
		flex-direction: column;
		gap: 0.5rem;
	}
	.site-footer p,
	.site-footer a {
		font-size: 0.8rem;
	}
	.site-footer {
		margin: 2rem 0 2rem 0;
	}
}

.big-footer {
	width: 100%;
}

/* footer links */
.big-footer p,
.big-footer .footer-heading {
    margin-bottom: 0.5rem;
}
@media (max-width: 480px) {
	.big-footer .footer-heading {
	    margin-top: 2rem;
	}
}
.big-footer a {
	color: #f9f9f9;
}

.footer-gradient,
.footer-main {
	position: relative;
    left: 50%;
    margin-left: -50vw !important;
    width: 100vw !important;
    max-width: unset !important;
}
.footer-gradient .wp-block-spacer {
	height: 20rem !important;
}
@media (max-width: 820px) {
	.footer-gradient .wp-block-spacer {
		height: 2rem !important;
	}
}

.wp-block-loginout {
	border: 1px solid #fff;
	padding: 5px 14px 5px 14px !important;
	font-weight: bold;
	font-size: 1.1rem;
	white-space: nowrap !important;
}

/* login/logout nav item */
.nav-menu-primary li:last-child {
	border-top: 1px solid;
	margin-top: 2rem !important;
}
@media (min-width: 960px) {
	.nav-menu-primary li:last-child {
		display: none;
	}
}

/* typography */
h1 {
	font-size: var(--h1fontsize);
	font-weight: var(--h1fontweight);
	line-height: var(--h1lineheight);
}
.page-report h1,
.page-dashboard h1 {
	font-size: 2rem;
}
.page-dashboard h1 {
	margin-bottom: 3rem;
}
/*.homepage-h1 {*/
/*	font-size: 5rem !important;*/
/*	line-height: 1em;*/
/*}*/
/*.agency-h1 {*/
/*	font-size: 4.5rem !important;*/
/*}*/
/*@media (max-width: 960px) {*/
/*	.homepage-h1 {*/
/*		font-size: 3.5rem !important;*/
/*	}*/
/*	.agency-h1 {*/
/*		font-size: 2.8rem !important;*/
/*	}*/
/*	.homepage-h2 {*/
/*		font-size: 2.4rem !important;*/
/*	}*/
/*}*/
@media (max-width: 480px) {
	/*.homepage-h1 {*/
	/*	font-size: 2.4rem !important;*/
	/*	line-height: 2.4rem !important;*/
	/*}*/
	/*.agency-h1 {*/
	/*	font-size: 2.8rem !important;*/
	/*}*/
	.homepage-h1 .text-alt-color {
		margin-top: 1rem !important;
		display: block;
	}
	/*.homepage-h2 {*/
	/*	font-size: 1.5rem !important;*/
	/*}*/
	.contained .wp-block-themeisle-blocks-icon-list p {
	    font-size: 1.2rem;
	}
}
.page-template-page-dashboard h2,
.page-template-page-report h2,
.page-template-page-account h2,
.page-template-page-create-unit h2,
.auth-form h2 {
	font-size: 1.2em !important;
	font-weight: 600 !important;
}
.category-docs .entry-header {
	margin-top: 0 !important;
}
.no-wrap {
	white-space: nowrap !important;
}

/* tabler overrides */
header .page-header {
	min-height: initial;
}
.page {
	display: block;
	height: auto;
}
textarea {
	background-color: #0b0a0a !important;
}
a:hover:not(.btn) {
	color: var(--tblr-primary) !important;
}
.nav-menu-primary a:hover {
	text-decoration: none;
}
#report-grid a,
#report-grid a:visited {
	color: var(--tblr-primary) !important;
}
.form-check input[type="checkbox"] {
	border: 1px solid #65a1d94f;
}
.card {
	min-height: 124px;
}
header .row > * {
	padding: 0;
}
* {
	scrollbar-color: initial !important;
}
.d-flex {
	flex-wrap: wrap;
}

/* tabler icons */
.ti {
	font-size: 1.5em;
	cursor: pointer;
}
.ti.ti-external-link {
	font-size: 1em;
}
.progressbg a:hover {
	text-decoration: none;
}

/* apexcharts overrides */
.apexcharts-legend {
	overflow-y: hidden !important;
}
.apexcharts-legend-text {
	margin-left: -12px !important;
}

/* neve overrides */
.page .neve-main {
	margin: 0;
}
main {
	font-size: initial;
}
.form-control {
	border: var(--tblr-border-width) solid var(--tblr-border-color) !important;
}
.form-control:focus {
	box-shadow: var(--tblr-box-shadow-input), 0 0 0 .25rem rgba(var(--tblr-primary-rgb), .25) !important;
}
.wrapper {
	overflow: unset !important;
	padding: 1rem;
}
/* navigation spacing */
.nav-ul li > .wrap {
	padding: 0 0.8rem !important;
}
@media (max-width: 960px) {
	.alignfull {
		width: 100%;
	}
}

.text-alt-color {
	color: var(--nv-primary-accent);
}
.text-alt-color-green {
	color: var(--custom-1);
}
.margin-1 {
	margin: 1em 0;
}
.margin-2 {
	margin: 2em 0;
}
.margin-3 {
	margin: 3em 0;
}

.create-unit-ui {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	gap: 3em;
	margin: auto;
}
.create-unit-ui .item {
	width: 100%;
}
.create-unit-ui .item.preview {
	border: 1px solid;
	padding: 1em;
}
#preview-content > * {
	line-height: 1.2;
	margin: 0;
}
#remember-hint {
	text-align: center;
	display: none;
}
/* homepage */
.home-cta-buttons {
	gap: 1rem;
}
.home-hero * {
	margin: 0 !important;
}
.hero-gradient {
	background: linear-gradient(180deg,#020230 0%,#012e7d 100%) !important;
	background-clip: padding-box !important;
}

.page-agencies .hero-bullets,
.page-agencies-v2 .hero-bullets {
	justify-content: center;
}
@media (max-width: 480px) {
	.hero-bullets {
		justify-content: center;
	}
	.home-hero .wp-block-themeisle-blocks-icon-list {
		gap: 0.5rem;
	}
}
@media (max-width: 480px) {
	.hero-bullets {
		flex-direction: column !important;
		gap: 0 !important;
		margin-left: 18% !important;
	}
}

/* text tumbler animation */
.animated-heading-container {
	font-size: 4rem;
	font-weight: bold;
	line-height: 3.6rem;
	padding: 0.25em 0;
	height: auto;
}
@media (max-width: 480px) {
	.animated-heading-container {
		font-size: 3.2rem;
		line-height: 4.1rem;
	}
}
.animated-word {
	display: inline-flex;
	position: relative;
	overflow: hidden;
	vertical-align: -0.3em;
	text-align: left;
	min-width: 8ch;
	height: 1.3em;
	overflow-anchor: none; /* Safari */
}

.word-list {
	position: absolute; /* not relative */
	transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
	will-change: transform;
	transform: translateZ(0);
}

.word-list.no-transition {
	transition: none;
}

.word-item {
	display: flex;
	align-items: center;
	justify-content: left;
	height: 1.3em; /* matches .animated-word */
	line-height: normal;
	background: linear-gradient(124deg,#cc4f98,#ab47a9,#67d3a5,#2ef553,#f5c572);
	background-size: 300% 300%;
	animation: gradient-animation 12s ease infinite;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	white-space: nowrap;
	box-sizing: border-box;
}

@keyframes gradient-animation {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* dashboard */
.dashboard .action-buttons {
	display: flex;
	flex-direction: row;
	justify-content: end;
	margin: 2em 0;
}

#copy-icon-img {
	width: 40px;
	height: 40px;
}
button.table-sort {
	background: none;
	border: none;
	cursor: pointer;
}

/* Create / Edit form */
#ad-form {
	display: flex;
	flex-direction: column;
}

.form-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
}

.form-group {
	flex: 1;
	margin-right: 10px;
}

.form-group:last-child {
	margin-right: 0;
}

.full-width {
	margin-bottom: 15px;
}

label {
	display: block;
	margin-bottom: 5px;
}

input, select, textarea {
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
}
input, select {
	height: 45px;
}

select:disabled {
	background-color: transparent !important;;
}

textarea {
	font-family: monospace !important;
}
input::selection,
textarea::selection {
	background: var(--tblr-primary-text-emphasis);
	color: black;
}
#preview-content {
	font-family: sans-serif !important;
}
#domain-fields .remove-btn {
	color: #dc3545;
	cursor: pointer;
	font-size: 18px;
}
button.add-btn {
	display: none;
	background: #28a745;
	color: white;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	cursor: pointer;
	line-height: 0;
	padding: 0;
	margin-top: 8px;
}
#domain-fields .is-invalid {
	border-color: #dc3545;
}
#domain-fields .is-valid {
	border-color: #28a745;
}

/* prose editor */
#editor {
	position: relative;
	height: auto;
	min-height: 300px;
	max-height: 600px;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.ProseMirror {
	all: unset;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	display: block;
	border: 1px solid #ccc;
	border-radius: 6px;
	flex: 1;
	min-height: 260px;
	max-height: 540px;
	padding: 12px;
	box-sizing: border-box;
	overflow: auto;
	white-space: pre-wrap; /* required */
	word-wrap: break-word;
}

.ProseMirror-focused {
	outline: none;
	border-color: #007aff;
	box-shadow: 0 0 0 2px #007aff33;
}

.ProseMirror-menubar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	padding: 6px;
	border: 1px solid #ddd;
	border-radius: 6px;
	margin-bottom: 10px;
}
.ProseMirror-menuitem {
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px 8px;
	border-radius: 4px;
	transition: background-color 0.2s;
}
/* prevent toolbar from pushing editor down indefinitely */
.ProseMirror-menubar-wrapper {
	display: flex;
	flex-direction: column;
}

/* --- ProseMirror + WordPress Reset --- */
.ProseMirror {
	/* --- Reset text styles --- */
	p {
		margin: 0 0 0.75em !important;
	}
	strong {
		font-weight: 800 !important;
	}
	em {
		font-style: italic !important;
	}
	a {
		color: #007aff !important;
		text-decoration: underline !important;
	}

	/* --- Headings --- */
	h1 {
		font-size: 1.8em !important;
		font-weight: bold !important;
		margin: 0.8em 0 0.4em !important;
	}
	h2 {
		font-size: 1.4em !important;
		font-weight: bold !important;
		margin: 0.8em 0 0.4em !important;
	}
	h3 {
		font-size: 1.2em !important;
		font-weight: bold !important;
		margin: 0.7em 0 0.3em !important;
	}
	h4 {
		font-size: 1.1em !important;
		font-weight: bold !important;
		margin: 0.7em 0 0.3em !important;
	}

	/* --- Lists --- */
	ul {
		list-style-type: disc !important;
		margin-left: 1.5em !important;
		padding-left: 1em !important;
	}
	ol {
		list-style-type: decimal !important;
		margin-left: 1.5em !important;
		padding-left: 1em !important;
	}
	li {
		display: list-item !important;
		list-style-position: outside !important;
		margin: 0.3em 0 !important;
	}

	/* --- WordPress Common Blocks --- */
	.wp-block-button__link,
	.wp-element-button {
		display: inline-block !important;
		padding: 0.6em 1.2em !important;
		border-radius: 4px !important;
		text-decoration: none !important;
		font-weight: 600 !important;
		text-align: center !important;
		transition: background-color 0.25s ease, color 0.25s ease !important;
	}
	.wp-block-button__link:hover,
	.wp-element-button:hover {
		filter: brightness(0.9) !important;
	}

	.has-text-color {
		color: inherit !important;
	}
	.has-background {
		background-color: inherit !important;
	}

	.alignleft {
		float: left !important;
		margin-right: 1.5em !important;
	}
	.alignright {
		float: right !important;
		margin-left: 1.5em !important;
	}
	.aligncenter {
		display: block !important;
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
	}
	.alignwide {
		width: min(90%, 1200px) !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.alignfull {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.wp-block-image img,
	.wp-block-media-text img {
		max-width: 100% !important;
		height: auto !important;
	}

	.wp-block-quote {
		border-left: 4px solid #ccc !important;
		padding-left: 1em !important;
		color: #555 !important;
		font-style: italic !important;
		margin: 1em 0 !important;
	}

	/* --- Block Columns and Groups --- */
	.wp-block-columns {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 1.5em !important;
	}
	.wp-block-column {
		flex: 1 1 0 !important;
		min-width: 200px !important;
	}
	.wp-block-group {
		margin: 1em 0 !important;
	}

	/* --- Utility Resets --- */
	.has-text-align-center {
		text-align: center !important;
	}
	.has-text-align-right {
		text-align: right !important;
	}
	.has-text-align-left {
		text-align: left !important;
	}
}

/* report */
.card {
	overflow: hidden;
}
.card-highlight {
	border-color: var(--tblr-primary) !important;
}
.page-template-page-report table {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}
.page-template-page-report table thead th:nth-child(1) { width: 80%; }
.page-template-page-report table thead th:nth-child(2) { width: 19%; }

.progressbg-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	vertical-align: top;
}
.telemetry-unit {
	font-size: 0.8rem;
    font-weight: normal;
    display: block;
    line-height: normal;
}
.card-header.status-header {
    justify-content: space-between;
}
.status-info {
	display: flex;
    align-items: center;
    min-width: 400px;
}

/* account */
#plans-interface #purchase-button {
	font-weight: bold;
}

/* sticky on account page */
#plans-interface .card,
.page-template-page-account .card {
	overflow: unset;
}
.page-template-page-account .sticky-top {
	top: 140px;
}

@keyframes slideDown {
	from {
		max-height: 0;
		opacity: 0;
	}
	to {
		max-height: 500px;
		opacity: 1;
	}
}

#orderForm,
#changeForm {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
	opacity: 0;
	text-align: left;
}

#orderForm.show,
#changeForm.show {
	animation: slideDown 0.5s forwards;
}

.auth-form {
	max-width: 600px;
	margin: 4rem auto 3rem auto;
	border: 1px solid white !important;
	border-radius: inherit !important;
}
.auth-form.register-form {
	margin: 0 auto 3rem auto;
}

/* Reset password form */
.login-action-rp #login {
	width: 340px;
}
.login-action-rp #login .notice.reset-pass,
.login-action-rp #login .reset-pass-submit button,
.login-action-rp #login .pw-weak {
	display: none !important;
}
.login-action-rp #login h1 a {
	background-image: url("https://global.tyleiq.com/logo/logo-white-transparent.png");
	width: 160px;
	background-size: contain;
	background-repeat: no-repeat;
	padding-bottom: 30px;
}
.login-action-rp p#nav a,
.login-action-rp p#backtoblog a,
.login.wp-2fa-login #login_error {
	color: white;
}
/* Autofill background fix */
input:-webkit-autofill {
	background-color: #0f172a !important;
	color: white;
	box-shadow: 0 0 0 1000px white inset !important;
	transition: background-color 50000s ease-in-out 0s;
}

/* Hide the up and down buttons for number input fields */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield; /* Firefox */
}


/* stripe */
#payment-form #submit {
	display: none;
}

/* account: plans */
#plans-spinner {
	height: 400px;
	display: flex;
}
.spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #3498db;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	animation: spin 1s linear infinite;
	margin: auto;
}
@keyframes spin {
	0% { transform: rotate(0deg);}
	100% { transform: rotate(360deg);}
}

#plans-interface {
	margin: auto;
	display: flex;
	flex-direction: column;
	padding: 2rem;
	max-width: 1000px;
}
.plans-interface-cta a {
	width: 200px;
	padding: 0.6rem;
}
@media (max-width: 500px) {
	#plans-interface {
		padding: 0;
	}
}
.slider-container {
	text-align: center;
	max-width: 600px;
	margin: auto;
}
.toggle-container {
	display: flex;
	justify-content: center;
	position: relative;
	width: 300px;
	height: 40px;
	border: 1px solid var(--tblr-primary);
	border-radius: 20px;
	background-color: var(--tblr-bg-surface);
	overflow: hidden;
	cursor: pointer;
	margin: 0 auto 2em auto;
}
.toggle-button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50%;
	height: 100%;
	z-index: 1;
	font-weight: bold;
	color: #007bff;
}
.toggle-button.active {
	color: white;
}
.toggle-switch {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background-color: #007bff;
	border-radius: 20px;
	transition: left 0.3s ease;
	z-index: 0;
}
#planSlider {
	-webkit-appearance: none;
	appearance: none;
	height: 1px;
	padding: 4px;
	margin: 2rem 0 3rem 0;
	background: transparent;
	cursor: pointer;
}
/* Chrome & Safari */
#planSlider::-webkit-slider-runnable-track {
	height: 8px;
	background: #1976d2;
	border-radius: 8px;
}
#planSlider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><polygon points="12,24 20,16 20,32" fill="%231976d2"/><polygon points="36,24 28,16 28,32" fill="%231976d2"/></svg>') center/48px 48px no-repeat, #fff;
	border: 4px solid #1976d2;
	margin-top: -20px;
}
/* Firefox */
#planSlider::-moz-range-track {
	height: 8px;
	background: #1976d2;
	border-radius: 8px;
}
#planSlider::-moz-range-thumb {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><polygon points="12,24 20,16 20,32" fill="%231976d2"/><polygon points="36,24 28,16 28,32" fill="%231976d2"/></svg>') center/48px 48px no-repeat, #fff;
	border: 4px solid #1976d2;
}
/* Edge */
#planSlider::-ms-track {
	height: 8px;
	background: transparent;
	border-color: transparent;
	color: transparent;
}
#planSlider::-ms-fill-lower,
#planSlider::-ms-fill-upper {
	background: #1976d2;
	border-radius: 8px;
}
#planSlider::-ms-thumb {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><polygon points="12,24 20,16 20,32" fill="%231976d2"/><polygon points="36,24 28,16 28,32" fill="%231976d2"/></svg>') center/48px 48px no-repeat, #fff;
	border: 4px solid #1976d2;
}
.pricing-button {
	display: flex;
	flex-direction: column !important;
	gap: 1rem;
	align-items: center;
	width: 100%;
	padding: 0 1rem 1rem 1rem;
	margin: 0;
	border-radius: 10px;
	position: relative;
}
.pricing-button .card {
	display: contents;
}
.pricing-button .pricing-section {
	background-color: #027bff26;
	border-radius: 5px;
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 1rem;
	gap: 0.8rem;
	transition: all 0.3s ease;
}
.pricing-button .two-col-flex {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 1rem;
}
.pricing-button .two-col-flex .pricing-section {
	width: 49%;
}
.dashboard .pricing-button .two-col-flex .pricing-section {
	width: 100%;
}
@media (max-width: 900px) {
	.pricing-button .two-col-flex {
		flex-direction: column;
		width: 100%;
	}
	.pricing-button .two-col-flex .pricing-section {
		width: 100%;
	}
}
@media (max-width: 600px) {
	.dashboard .pricing-button .two-col-flex .section-row {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 0;
	}
}
@media (max-width: 500px) {
	.pricing-button .two-col-flex .section-row {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 0;
	}
}
.plan-features {
	display: flex;
	gap: 2rem;
}
.pricing-button .pricing-section.last .plan-features {
	flex-direction: row;
	justify-content: space-evenly;
}
@media (max-width: 580px) {
	.pricing-button .pricing-section.last .plan-features {
		flex-direction: column;
		gap: 0;
	}
}
.pricing-button .pricing-section.last .plan-features ul,
.pricing-button .pricing-section.last .plan-features ul li {
	margin: 0;
}
.pricing-button .pricing-section.first {
	background-color: initial;
	text-align: center;
	padding-bottom: 0;
}
@media (max-width: 500px) {
	.pricing-button .pricing-section.first {
		padding: 0.5rem 0 0 0;
	}
}
.pricing-button.active {
	background-color: #0f172a;
	border: 1px solid var(--tblr-primary);
}
.current-plan {
	text-align: center;
    background-color: #2fb34417;
    width: fit-content;
    margin: auto;
    padding: 2px 10px;
    font-size: 0.85em;
	border: 1px solid var(--tblr-green);
    border-top: none;
}
.pricing-button .strike-amount {
	text-decoration: line-through;
	color: gray;
}
@media (min-width: 500px) {
	.pricing-button .price .strike-amount {
		font-size: 1.8rem;
	}
}
.pricing-section .price {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.pricing-button .amount {
	font-size: 3rem;
	font-weight: bold;
	margin: 0 1rem;
}
.pricing-button .price-mention {
	display: flex;
	justify-content: space-between;
	background-color: #f5ed4329;
	padding: 10px;
	border-radius: 10px;
}
.pricing-button .price-mention.centered {
	justify-content: center;
	width: fit-content;
	margin: auto;
}
@media (max-width: 500px) {
	.pricing-button .price-mention {
		text-align: center;
		flex-direction: column;
		gap: 0.2rem;
	}
	.pricing-button .price-mention.centered {
		width: 100%;
	}
}
.pricing-button .quantity {
	font-size: 1.2rem;
	font-weight: 500;
}
.pricing-button .quantity.total {
	font-size: 1.5rem;
	font-weight: bold;
}
.pricing-button .section-allowance.overage .quantity {
	font-size: 1rem;
}
.pricing-button .section-header {
	font-size: 1.1rem;
	font-weight: bold;
}
.pricing-button .badge {
	margin-right: 5px;
}
.pricing-button .section-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	align-items: center;
	text-align: center;
	gap: 1rem;
}
.pricing-button .section-col {
	display: flex;
	flex-direction: column;
}
.pricing-button .section-col.left {
}
.pricing-button .section-allowance.overage .section-col.left {
	justify-content: end;
}
.pricing-button .section-col.right {
}
.pricing-button .math-symbol {
	color: #027bff;
	font-size: 3rem;
}
.cpm-cpc-value {
	flex: 1;
	text-align: center;
	font-size: 0.85em;
}
.plan-cost {
	font-size: 1em;
	font-weight: bold;
	text-align: right;
	flex: 1;
}
.minor-text {
	font-size: 0.8em;
    color: var(--tblr-secondary);
}

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

#snippetModal .snippet-first-row {
	flex-direction: row;
	flex-wrap: nowrap;
}
#snippetModal .snippet-second-row {
	font-size: 0.8rem;
	justify-content: center;
}

/* media uploader */
.media-modal {
	max-width: 800px;
	max-height: 900px;
	margin: auto;
}
.media-modal-content {
	background: #6760aa;
}
.media-frame-content {
	background: #6760aa;
}
.media-sidebar,
.attachments-browser .media-toolbar,
.post-upload-ui {
	display: none;
}
.upload-instructions.drop-instructions {
	display: none !important;
}

.usage-progress-panel {
	justify-content: space-between;
	align-items: center;
}
.datagrid.no-gap {
	gap: 0;
}
.datagrid-item.overage {
	border-left: 1px solid #f59f00;
}

.info-tooltip {
    position: relative;
    cursor: pointer;
}

.info-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -60px;
    left: 30px;
    background-color: var(--tblr-primary);
    color: #fff;
    padding: 5px 10px;
    border: 1px solid #fff;
	width: 240px;
	font-size: 0.8em;
	text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 10;
	box-sizing: border-box;
    pointer-events: none;
}
.info-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.info-tooltip .icon {
	margin-bottom: 2px;
}

.highlights-card,
.highlights-card .card {
	overflow: visible;
}

/* editor */
#html-modal,
#link-modal {
	display: none;
	position: fixed;
	left:50%;
	top:25%;
	transform:translate(-50%,0);
	background: #232e3e;
	border:1px solid #ccc;
	z-index:1000;
	width: 40%;
	height: 310px;
}
#link-modal {
	padding: 2rem;
	height: 180px;
}
#html-modal #html-input {
	height: 240px;
	display: block;
	margin-bottom: 1rem;
	resize: none;
}
#link-modal #link-input {
	margin: 1rem 0;
}
.modal-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
}
textarea::selection,
input::selection,
[contenteditable="true"]::selection,
[contenteditable="true"] *::selection {
	background: #99c6fd;
	color: black;
}

.emphasis-text {
	font-weight: bold;
	font-size: 1.3em;
	line-height: normal;
}

/* docs */
.docs-toc {
	border-right: 1px solid white !important;
}
.docs-toc a.active,
.card-body .list-group-item.active {
	text-decoration: underline !important;
}
.docs-toc h6 {
	font-weight: 500;
}
.wp-block-code {
	padding: 0;
	margin: 0;
}
.category-docs .tip-icon {
	flex: 0 0 32px !important;
}
body.category-docs h1 {
	font-size: 3rem !important;
}
span.code {
	font-family: monospace;
	background-color: #ffffff1a;
	padding: 0.2rem;
	vertical-align: middle;
	border: .1rem solid #0000001a;
}
.page-faq .entry-content a,
.category-docs .entry-content a {
	color: #44db8a;
	text-decoration: underline;
}
.category-docs figure {
	font-size: 1rem;
}
.category-docs pre {
	font-size: 0.9rem;
}
.category-docs pre code {
	padding: 0 !important;
}
.page-faq .wp-block-themeisle-blocks-accordion-item__content {
	background-color: #232e3e80;
}

.text-gradient-underline {
	position: relative;
	display: inline-block;
	margin-bottom: 4rem !important;
}

.text-gradient-underline::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 4px;
	width: 6rem;
	bottom: -2.2rem;
	background: linear-gradient(45deg, #6ca1f6, #45e3ff);
	border-radius: 2px;
}

.text-gradient-color {
	/* fallback for browsers that don't support background-clip:text */
	color: #6ca1f6;

	/* gradient for modern browsers */
	background-image: linear-gradient(45deg, #6ca1f6, #45e3ff);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}


/* 2FA */
.wp-2fa-user-profile-form {
	display: none;
}
.modal__overlay {
	background: none !important;
}
.page-auth h3 {
	color: #0f172a !important;
}
.modal__container {
	max-width: 550px !important;
}
.modal__container .button {
	min-height: 54px;
	width: 100%;
	display: inline-block;
	margin: 0 !important;
}
.modal__container .wp-2fa-button-primary,
.modal__container .wp-2fa-button-secondary {
	font-size: 1rem !important;
	padding: 1rem !important;
	margin-top: 1rem !important;
}
button.modal__close {
	display: none;
}
button[data-close-2fa-modal] {
	display: none !important;
}
.modal__content,
.modal__content label,
.modal__content p,
.modal__content small {
	font-size: 1rem !important;
}
.modal__content input[type="radio"] {
	height: 25px;
	width: 25px;
	margin: 0 20px 0 0;
}
.modal__content input[type="tel"] {
	color: initial;
	background: initial;
}
.modal__content .option-pill label {
	display: inline-flex;
	align-items: center;
	line-height: 1.4rem;
}
.modal__content .option-pill label > :first-child {
	flex-shrink: 0;
}
.modal__content #2fa-wizard-email p.description {
	margin-top: -35px !important;
}
.modal__content .wp2fa-setup-actions {
	display: inline-flex;
    flex-direction: column;
    margin-top: 3rem;
    gap: 0.5rem;
	width: 100%;
}
.modal__content .verification-response:not(:empty) {
	width: 100%;
	border: none;
	font-size: 1rem;
}
.container .error-messages {
	margin: 0 auto;
	max-width: 600px;
}

blockquote .wp-block-themeisle-blocks-advanced-column {
	flex: auto !important;
}

@media (max-width: 960px) {
	.docs-toc .o-posts-grid-post {
		padding: 0.2rem !important;
	}
}

/* Account -> Update Card */
#update-card-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
#update-card-form #card-element {
	padding: 1rem;
	border-radius: 5px;
	margin-bottom: 1rem;
	background: #0f172a;
	font-size: 1rem;
}
#update-card-form #update-card-button {
  background-color: #6772e5;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#update-card-form #update-card-button:hover {
  background-color: #5469d4;
}
#update-card-form #cardholder-name {
	border: none;
}
#update-card-form #card-element:hover {
	border-color: #888;
}
#update-card-form #card-element.StripeElement--focus {
	border-color: #4263eb;
	box-shadow: 0 0 0 2px rgba(25,118,210,0.2);
}
#update-card-form #card-element.StripeElement--invalid {
	border-color: #e53e3e;
}
#update-card-form #card-element.StripeElement--complete {
	border-color: #38a169;
}

.card .alert p {
	margin: 0; 
}

@media (max-width: 960px) {
	.wide-on-mobile {
		width: 100% !important;
	}
	.mobile-button a {
		font-size: 1.2rem !important;
		padding: 1rem !important;
	}
}

/* homepage stat boxes */
.stat-container {
	display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.stat-box {
	padding: 10px;
}
.stat-box-border-bottom {
	border-bottom: 1px solid #61b3f87d;
}
.stat-box-border-right-bottom {
	border-right: 1px solid #61b3f87d;
	border-bottom: 1px solid #61b3f87d;
}
.stat-box-border-right {
	border-right: 1px solid #61b3f87d;
}