.bazo__svg-btn {
	background: none;
	border: none;
}

.bazo-original-button-hidden {
	display: none !important;
	visibility: hidden !important;
}

/* Button styles */
.bazo-nyop-button {
	width: 100% !important;
}

.bazo-nyop-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

#bazo-nyop-button-explanation {
	display: block;
	text-align: center;
}

/* 5 item limit message */
#bazo__five-item-warning {
	/* background-color: #EBEBEB;
	border: 1px solid #c3c3c3; */
	display: 'none';
	border-radius: 16px;
	padding: 10px;
}

#bazo__five-item-warning p {
	margin: 0;
	color: inherit;
}

#bazo__nyop-modal button,
.bazo__submit-button,
[role='button'] {
	cursor: pointer;
}

.bazo__italic {
	font-style: italic;
}

.bazo__bold {
	font-weight: bold;
}

.bazo__checkbox-link {
	color: var(--bazo-accent-color) !important;
	text-decoration: underline !important;
}

/* Bazo Navbar */

.bazo__nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	padding: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.bazo__nav-icon-left-hidden {
	visibility: hidden !important;
}

.bazo__nav-icon-left,
.bazo__nav-icon-right {
	display: flex;
	align-items: center;
}

.bazo__nav-icon-right {
	justify-content: flex-end;
}

.bazo__feather {
	/* Add your icon styles here */
	width: 24px;
	height: 24px;
	stroke: var(--bazo-text-color);
	color: var(--bazo-text-color);
}

.bazo__info-icon {
	stroke: var(--bazo-accent-color);
	color: var(--bazo-accent-color);
	width: 40px;
	height: 40px;
}

/* Modal styles main */
.bazo__modal-header {
	font-style: normal;
	font-weight: 600;
	font-size: 28px;
	line-height: 34px;
	text-align: center;
	color: var(--bazo-text-color);
	width: 100%;
	margin: 0 0 1rem 0;
}

/* Modal styles */
.bazo__modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	align-items: center;
	justify-content: center;
	overflow: auto;
	z-index: 9999;
	background-color: rgba(0, 0, 0, 0.5);
}

.bazo__border-radius {
	border-radius: 16px;
}

.bazo__modal.bazo__modal-open {
	display: flex;
}

body.bazo__modal-open-body {
	overflow-y: hidden;
}

.bazo__modal-content {
	position: relative;
	width: 80%;
	max-width: 900px;
	height: auto;
	background-color: var(--bazo-modal-background-color);
	padding: 3rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: 600px;
}

/* Screen ui */
.bazo__screen {
	width: 100%;
	height: 100%;
	display: flex;
}

.bazo__screen-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100%;
}

/* Buttons */
.bazo__prev-btn,
.bazo__next-btn {
	padding: 8px 16px;
	background-color: #ccc;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.bazo__prev-btn:disabled,
.bazo__next-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* General styles */

/* TODO: Reintroduce if font customization is wanted */

/* .bazo__font {
	font-family: var(--bazo-font-family);
} */

.bazo__error {
	display: none;
	text-align: center;
	color: red;
}

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

.bazo__flex-center {
	width: 100%;
	display: flex;
	justify-content: center;
	text-align: center;
}

.bazo__flex-column {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/*
	Offer elements style
*/

.bazo__offer-input {
	box-sizing: content-box;
	outline: none;
	border: none;
	border-bottom: 1px solid #e5eef4;
	font-size: 150px;

	/* width: 1ch; */

	/* height: fit-content; */

	max-height: 1em;
	color: var(--bazo-text-color) !important;
	box-shadow: none;
	background-color: var(--bazo-modal-background-color);

	/* User agent stylesheets needs override */
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	margin: 0;

	/* Inputs scroll with fixed position on iOS */
	-webkit-overflow-scrolling: touch;
	overflow: auto !important;
	height: 100% !important;

	/* Firefox */
	-moz-appearance: textfield;
	appearance: textfield;
}

#bazo__nyop-modal #bazo__offer-confirm {
	color: var(--bazo-accent-text-color);
}

/* Chrome, Safari, Edge, Opera */
#bazo__offer-input::-webkit-inner-spin-button,
#bazo__offer-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

#bazo__offer-input-container {
	align-items: center;
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin-top: 3rem;
}

#bazo__dollar-sign {
	padding-top: 5px;
	align-self: flex-start;
	color: var(--bazo-text-color) !important;
	display: flex;
	font-size: 32px;
	font-weight: 300;
}

/* Shopper message */

.bazo__shopper-message {
	display: none;
	text-align: center;
	color: var(--bazo-text-color);
	font-size: 16px;
	font-weight: 500;
}

.bazo__shopper-message .bazo__high {
	color: var(--bazo-high-text-color);
}

.bazo__shopper-message .bazo__med {
	color: var(--bazo-med-text-color);
}

.bazo__shopper-message .bazo__low {
	color: var(--bazo-low-text-color);
}

/* Processing time */

.bazo__processing-time {
	color: var(--bazo-text-color);
}

/* To override some themes default styling */
#bazo__nyop-modal:focus {
	outline: 0;
	box-shadow: none;
}

/* Slider style overrides */
#bazo-slider {
	margin-top: 60px;
	height: 10px;
	outline: none;
}

#bazo__nyop-modal div:empty {
	display: flex;
}

.bazo__slider-container .noUi-target {
	border: none;
	box-shadow: none;
	background-color: var(--bazo-accent-color);
}

.bazo__slider-container .noUi-target:nth-child(1) {
	background: #e5eef4;
}

#bazo-slider .noUi-connect {
	background-color: var(--bazo-accent-color);
	height: 10px;
}

#bazo-slider .noUi-handle {
	background-color: var(--bazo-accent-color);
	width: 20px;
	height: 20px;
	cursor: pointer;
	border-radius: 50%;
	border: none;
	outline: none;
	box-shadow: none;
}

#bazo-slider .noUi-handle::before,
#bazo-slider .noUi-handle::after {
	background: none;
}

/* Example gradient colors */

/* #bazo-slider .noUi-connects {
	background: linear-gradient(to right, #f00, #0f0);
} */

.bazo__slider-container {
	padding: 0 15%;
}

.bazo__submit-button {
	background-color: var(--bazo-accent-color);
	color: var(--bazo-accent-text-color);
	font-style: normal;
	font-size: 1.1em;
	text-align: center;
	letter-spacing: 0.05em;
	padding: 15px;
	border-radius: 4px;
	border: none;
	display: flex;
	align-items: center;
}

.bazo__submit-button-loading::after {
	content: '';
	display: flex;
	width: 25px;
	height: 25px;
	margin-left: 8px;
	border-radius: 50%;
	border-width: 2px;
	border-style: solid;
	border-color: #fff transparent #fff transparent;
	animation: ring 1.2s linear infinite;
}

@keyframes ring {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.bazo__circle-container {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	align-items: flex-start;
	margin-bottom: 2rem;
}

/* Screen 2: How it works */
.bazo__circle {
	background-color: var(--bazo-accent-color);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px #d9d9d9,
		inset 0 0 0 9px var(--bazo-modal-background-color);
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--bazo-accent-text-color);
	flex-shrink: 0;
}

/* Focal theme needs this rule with specificity to overwrite */
p.bazo__step-header:first-child {
	margin-top: 1em !important;
}

.bazo__card-container {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding: 1rem;
	flex: 1;
}

.bazo__step-header {
	text-align: center;
	color: #384162;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 19px;
	text-transform: uppercase;
	margin: 1rem 0;
}

.bazo__step-content {
	text-align: center;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 150%;
	margin: 0;
	color: #384162;
	opacity: 0.5;
}

.bazo__process-explanation {
	text-align: center;
	margin-bottom: 2rem;
	color: var(--bazo-explanation-color);
}

.bazo__emphasis-text {
	font-weight: bold;
	color: var(--bazo-accent-color);
}

.bazo__call-to-action-text {
	margin-top: 0.5rem;
	font-weight: bold;
}

/* TODO: Did not want to duplicate markup like this but line
breaks were ruining the alignment on the flexbox */
.bazo__step-content.bazo__step-content-desktop {
	display: block;
}

.bazo__step-content.bazo__step-content-mobile {
	display: none;
}

.bazo__step-text-container {
	overflow: auto;
}

.bazo__pay-nothing-msg {
	font-weight: bold;
	display: block;
}

/* Email styles */

#bazo__email-form {
	text-align: center;
}

#bazo__email-form a {
	color: #2e96f6;
	text-decoration: none;
}

.bazo__email-input {
	display: flex;
	align-items: center;
	vertical-align: middle;
	width: 60%;
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 3rem;
}

.bazo__email-icon {
	width: 20px;
	height: 20px;
	stroke: #fff;
	fill: #d9d9d9;
	margin-right: 10px;
}

.bazo__email-input-field {
	border: 1px solid #ccc;
	border: none;
	outline: none;
	width: 100%;
	box-shadow: none;
	text-align: left;
}

#bazo__email-label {
	display: flex;
}

/* checkbox css */

.bazo__checkbox {
	display: inline-flex;
	cursor: pointer;
	position: relative;
	margin-bottom: 3rem;
	color: var(--bazo-explanation-color);
}

#bazo__terms-checkbox {
	accent-color: var(--bazo-accent-color);
	margin-right: 10px;
	color: var(--bazo-text-color);
	cursor: pointer;
}

#bazo__powered {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#bazo__powered__text {
	font-size: 1.2rem;
}

@media (max-width: 768px) {
	.bazo__modal-content {
		flex-direction: column;
		align-items: center;
		width: 100%;
		height: 80%;
		border-radius: 0;
		padding: 4rem 1rem;
		min-height: none;
	}

	.bazo__nav {
		padding-top: 60px;
	}

	#bazo__offer-input-container {
		margin-top: 1rem;
	}

	.bazo__circle-container {
		flex-direction: column;
		margin-bottom: 0;
		justify-content: center;
		align-items: center;
	}

	.bazo__card-container {
		display: flex;
		flex: 0 0 auto;
		flex-direction: row;
		justify-content: space-between;
		margin-bottom: 0;
		min-width: 260px;
	}

	.bazo__email-input {
		width: 80%;
		margin: 0.5rem 0;
	}

	.bazo__circle,
	.bazo__step-header {
		display: flex;
		flex-direction: row;
		text-align: left;
	}

	.bazo__circle {
		width: 40px;
		height: 40px;
		min-width: 30px;
		min-height: 30px;
		margin-right: 2em;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.bazo__step-text-container {
		flex-grow: 1;
	}

	.bazo__step-content {
		text-align: left;
	}

	.bazo__checkbox {
		margin-top: 3rem;
		margin-bottom: 1rem;
		font-size: 10px;
	}

	#bazo__powered {
		margin-top: 0.5rem;
	}

	/* See TODO: above */
	.bazo__step-content.bazo__step-content-desktop {
		display: none;
	}

	.bazo__step-content.bazo__step-content-mobile {
		display: block;
	}
}

@media (max-width: 576px) {
	body.bazo__modal-open-body {
		overflow: auto;
		position: fixed;
	}

	.bazo__modal-content {
		height: 100vh;
	}

	.bazo__modal-header {
		font-size: 24px;
	}

	.bazo__offer-input {
		font-size: 30px;
		max-height: none;
	}

	.bazo__slider-container {
		padding: 0 10%;
	}

	#bazo__shopper-message {
		margin: 1em;
		height: 100px;
	}

	.bazo__card-container {
		padding: 0 1rem;
		margin-bottom: 1em;
		min-width: 260px;
	}

	.bazo__circle {
		margin-right: 1em;
	}

	.bazo__process-explanation {
		margin-bottom: 0;
	}

	.bazo__call-to-action-text {
		margin-bottom: 1rem;
	}

	.bazo__checkbox {
		margin-top: 0;
		margin-bottom: 2rem;
	}
}
