/* =========================================================
   BodyVivid ManyChat Discount Popup
   assets/css/discount-popup.css
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

.bvmc-discount-box,
.bvmc-discount-box *,
.bvmc-discount-box *::before,
.bvmc-discount-box *::after {
	box-sizing: border-box;
}


/* =========================================================
   MAIN BOX
   ========================================================= */

.bvmc-discount-box {
	width: 100%;
	max-width: 480px;

	margin: 0 auto;
	padding: 30px 25px;

	background: #fff;

	text-align: start;
}


/* =========================================================
   TITLE
   ========================================================= */

.bvmc-discount-title {
	margin: 0 0 10px;

	color: #111827;

	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;

	text-align: center;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.bvmc-discount-text {
	max-width: 390px;

	margin: 0 auto 24px;

	color: #6b7280;

	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;

	text-align: center;
}


/* =========================================================
   PHONE FIELD WRAPPER
   Border + radius live ONLY here
   ========================================================= */

.bvmc-phone-combined {
	position: relative;

	display: flex;
	align-items: stretch;

	width: 100%;
	height: 54px;

	direction: ltr;

	background: #fff;

	border: 1px solid #d8dde3;
	border-radius: 27px;

	/*
	 * Must stay visible because the country dropdown
	 * appears outside this element.
	 */
	overflow: visible;

	transition:
		border-color .2s ease,
		box-shadow .2s ease;
}


/* Focus ring around entire phone field */

.bvmc-phone-combined:focus-within {
	border-color: rgb(45, 153, 214);

	box-shadow:
		0 0 0 3px rgba(45, 153, 214, .10);
}


/* =========================================================
   COUNTRY PICKER
   ========================================================= */

.bvmc-country-picker {
	position: static;

	display: flex;
	align-items: stretch;

	height: 100%;

	flex: 0 0 auto;
}


/* =========================================================
   SELECTED COUNTRY BUTTON
   ========================================================= */

.bvmc-discount-box button.bvmc-country-selected {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	gap: 7px !important;

	width: auto !important;
	min-width: 125px !important;
	height: 52px !important;

	margin: 0 !important;
	padding: 0 15px !important;

	background: #f4f6f8 !important;
	color: #111827 !important;

	border: 0 !important;
	border-right: 1px solid #e2e5e9 !important;

	/*
	 * Only country side receives radius.
	 * Phone input has NO radius.
	 */
	border-radius: 26px 0 0 26px !important;

	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;

	text-transform: none !important;
	letter-spacing: normal !important;

	cursor: pointer !important;

	outline: 0 !important;
	box-shadow: none !important;

	appearance: none !important;
	-webkit-appearance: none !important;

	transition:
		background-color .2s ease !important;
}


.bvmc-discount-box button.bvmc-country-selected:hover,
.bvmc-discount-box button.bvmc-country-selected:focus {
	background: #edf1f4 !important;
	color: #111827 !important;

	border-radius: 26px 0 0 26px !important;

	outline: 0 !important;
	box-shadow: none !important;
}


/* Kill theme pseudo-elements */

.bvmc-discount-box button.bvmc-country-selected::before,
.bvmc-discount-box button.bvmc-country-selected::after {
	display: none !important;

	content: none !important;
}


/* =========================================================
   SELECTED FLAG
   ========================================================= */

.bvmc-country-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 auto;
}


.bvmc-country-flag img {
	display: block !important;

	width: 24px !important;
	height: 18px !important;

	max-width: none !important;

	margin: 0 !important;
	padding: 0 !important;

	border: 0 !important;
	border-radius: 2px !important;

	object-fit: cover;
}


/* =========================================================
   COUNTRY DIAL CODE
   ========================================================= */

.bvmc-country-dial {
	display: inline-flex !important;
	align-items: center !important;

	color: #111827 !important;

	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;

	white-space: nowrap;
}


/* =========================================================
   COUNTRY ARROW
   ========================================================= */

.bvmc-country-arrow {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 14px;
	height: 14px;

	margin: 0 0 0 1px !important;

	color: #6b7280 !important;

	font-size: 11px !important;
	line-height: 1 !important;

	transform-origin: center;

	transition:
		transform .2s ease;
}


.bvmc-country-picker.is-open .bvmc-country-arrow {
	transform: rotate(180deg);
}


/* =========================================================
   PHONE INPUT
   NO BORDER RADIUS HERE
   ========================================================= */

.bvmc-phone {
	flex: 1 !important;

	width: 100% !important;
	min-width: 0 !important;
	height: 52px !important;

	margin: 0 !important;
	padding: 0 18px !important;

	background: transparent !important;
	color: #111827 !important;

	/*
	 * No border.
	 * No radius.
	 * Outer wrapper handles the shape.
	 */
	border: 0 !important;
	border-radius: 0 !important;

	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: normal !important;

	direction: ltr !important;
	text-align: left !important;

	outline: 0 !important;
	box-shadow: none !important;

	appearance: none !important;
	-webkit-appearance: none !important;
}


.bvmc-phone:hover,
.bvmc-phone:focus,
.bvmc-phone:active {
	background: transparent !important;

	border: 0 !important;
	border-radius: 0 !important;

	outline: 0 !important;
	box-shadow: none !important;
}


.bvmc-phone::placeholder {
	color: #9ca3af !important;

	opacity: 1 !important;
}


/* =========================================================
   PHONE HINT
   ========================================================= */

.bvmc-phone-hint {
	margin-top: 8px;

	color: #777;

	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}


/* =========================================================
   COUNTRY DROPDOWN
   Full width of phone field
   ========================================================= */

.bvmc-country-dropdown {
	display: none;

	position: absolute !important;
	z-index: 9999999 !important;

	top: calc(100% + 8px) !important;
	left: 0 !important;

	width: 100% !important;
	min-width: 100% !important;
	max-width: none !important;

	background: #fff !important;

	border: 1px solid #e2e5e9 !important;
	border-radius: 14px !important;

	box-shadow:
		0 15px 40px rgba(0, 0, 0, .14) !important;

	overflow: hidden !important;
}


.bvmc-country-picker.is-open .bvmc-country-dropdown {
	display: block !important;
}


/* =========================================================
   COUNTRY SEARCH WRAPPER
   ========================================================= */

.bvmc-country-search-wrap {
	padding: 10px !important;

	background: #fff !important;

	border-bottom:
		1px solid #edf0f2 !important;
}


/* =========================================================
   COUNTRY SEARCH INPUT
   ========================================================= */

.bvmc-country-search {
	display: block !important;

	width: 100% !important;
	height: 42px !important;

	margin: 0 !important;
	padding: 0 14px !important;

	background: #fff !important;
	color: #111827 !important;

	border: 1px solid #d8dde3 !important;
	border-radius: 21px !important;

	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: normal !important;

	direction: ltr !important;
	text-align: left !important;

	outline: 0 !important;
	box-shadow: none !important;

	appearance: none !important;
	-webkit-appearance: none !important;
}


.bvmc-country-search:focus {
	border-color:
		rgb(45, 153, 214) !important;

	box-shadow:
		0 0 0 3px
		rgba(45, 153, 214, .10) !important;
}


.bvmc-country-search::placeholder {
	color: #9ca3af !important;

	opacity: 1 !important;
}


/* =========================================================
   COUNTRY LIST
   ========================================================= */

.bvmc-country-list {
	width: 100%;

	max-height: 260px;

	margin: 0;
	padding: 4px 0;

	background: #fff;

	overflow-y: auto;
	overflow-x: hidden;

	overscroll-behavior: contain;

	scrollbar-width: thin;
}


.bvmc-country-list::-webkit-scrollbar {
	width: 6px;
}


.bvmc-country-list::-webkit-scrollbar-track {
	background: transparent;
}


.bvmc-country-list::-webkit-scrollbar-thumb {
	background: #c9ced4;

	border-radius: 20px;
}


/* =========================================================
   COUNTRY OPTION
   ========================================================= */

.bvmc-discount-box button.bvmc-country-option {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;

	gap: 12px !important;

	width: 100% !important;
	min-height: 48px !important;

	margin: 0 !important;
	padding: 9px 14px !important;

	background: #fff !important;
	color: #111827 !important;

	border: 0 !important;
	border-bottom:
		1px solid #f1f3f5 !important;

	border-radius: 0 !important;

	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;

	text-align: left !important;

	text-transform: none !important;
	letter-spacing: normal !important;

	cursor: pointer !important;

	outline: 0 !important;
	box-shadow: none !important;

	appearance: none !important;
	-webkit-appearance: none !important;
}


.bvmc-discount-box button.bvmc-country-option:last-child {
	border-bottom: 0 !important;
}


.bvmc-discount-box button.bvmc-country-option:hover,
.bvmc-discount-box button.bvmc-country-option:focus {
	background: #f7f9fb !important;
	color: #111827 !important;

	border-radius: 0 !important;

	outline: 0 !important;
	box-shadow: none !important;
}


.bvmc-discount-box button.bvmc-country-option::before,
.bvmc-discount-box button.bvmc-country-option::after {
	display: none !important;

	content: none !important;
}


/* =========================================================
   COUNTRY OPTION LEFT SIDE
   ========================================================= */

.bvmc-option-left {
	display: flex;
	align-items: center;

	gap: 10px;

	min-width: 0;

	flex: 1;
}


/* =========================================================
   COUNTRY OPTION FLAG
   ========================================================= */

.bvmc-option-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 auto;
}


.bvmc-option-flag img {
	display: block !important;

	width: 24px !important;
	height: 18px !important;

	max-width: none !important;

	margin: 0 !important;
	padding: 0 !important;

	border: 0 !important;
	border-radius: 2px !important;

	object-fit: cover;
}


/* =========================================================
   COUNTRY NAME
   ========================================================= */

.bvmc-option-name {
	min-width: 0;

	color: #111827;

	font-weight: 500;

	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* =========================================================
   COUNTRY CALLING CODE
   ========================================================= */

.bvmc-option-code {
	flex: 0 0 auto;

	margin: 0 0 0 12px !important;

	color: #667085 !important;

	font-size: 13px;
	font-weight: 600;

	white-space: nowrap;
}


/* Search filtering */

.bvmc-country-option.is-hidden {
	display: none !important;
}


/* =========================================================
   CONSENT
   ========================================================= */

.bvmc-consent {
	display: flex;
	align-items: flex-start;

	gap: 9px;

	width: 100%;

	margin: 16px 0 18px;

	color: #333;

	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;

	cursor: pointer;
}


.bvmc-consent input[type="checkbox"] {
	flex: 0 0 auto;

	width: 16px;
	height: 16px;

	margin: 3px 0 0;
	padding: 0;

	accent-color:
		rgb(45, 153, 214);

	cursor: pointer;
}


.bvmc-consent span {
	flex: 1;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.bvmc-discount-submit {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	min-height: 48px;

	margin: 0;
	padding: 12px 30px;

	background:
		rgb(45, 153, 214) !important;

	color: #fff !important;

	border: 0 !important;
	border-radius: 30px !important;

	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;

	text-align: center;

	cursor: pointer;

	outline: 0 !important;

	box-shadow: none;

	appearance: none;
	-webkit-appearance: none;

	transition:
		background-color .25s ease,
		transform .2s ease,
		box-shadow .2s ease;
}


.bvmc-discount-submit:hover,
.bvmc-discount-submit:focus {
	background:
		rgb(0, 135, 214) !important;

	color: #fff !important;

	box-shadow:
		0 5px 14px
		rgba(0, 135, 214, .20);
}


.bvmc-discount-submit:active {
	transform: scale(.985);
}


.bvmc-discount-submit[disabled] {
	opacity: .6;

	cursor: wait;

	transform: none;

	box-shadow: none;
}


/* =========================================================
   MESSAGES
   ========================================================= */

.bvmc-discount-message {
	display: none;

	width: 100%;

	margin-top: 15px;
	padding: 11px 13px;

	border-radius: 10px;

	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}


.bvmc-discount-message.is-error {
	display: block;

	color: #b42318;

	background: #fef3f2;

	border: 1px solid #fecdca;
}


.bvmc-discount-message.is-success {
	display: block;

	color: #067647;

	background: #ecfdf3;

	border: 1px solid #abefc6;
}


/* =========================================================
   RTL
   ========================================================= */

html[dir="rtl"] .bvmc-discount-box {
	direction: rtl;
}


html[dir="rtl"] .bvmc-discount-title,
html[dir="rtl"] .bvmc-discount-text {
	text-align: center;
}


html[dir="rtl"] .bvmc-phone-hint,
html[dir="rtl"] .bvmc-consent {
	text-align: right;
}


html[dir="rtl"] .bvmc-consent {
	direction: rtl;
}


/*
 * Phone always remains LTR.
 */

html[dir="rtl"] .bvmc-phone-combined {
	direction: ltr;
}


/* Dropdown content */

html[dir="rtl"] .bvmc-country-dropdown {
	direction: rtl;
}


html[dir="rtl"] .bvmc-country-search {
	direction: rtl !important;
	text-align: right !important;
}


html[dir="rtl"] .bvmc-country-option {
	text-align: right !important;
}


html[dir="rtl"] .bvmc-option-code {
	margin-left: 0 !important;
	margin-right: 12px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.bvmc-discount-box {
		max-width: 100%;

		padding: 24px 18px;
	}

	.bvmc-discount-title {
		font-size: 24px;
	}

	.bvmc-discount-text {
		font-size: 14px;
	}

	.bvmc-phone-combined {
		height: 52px;

		border-radius: 26px;
	}

	.bvmc-discount-box button.bvmc-country-selected {
		height: 50px !important;
		min-width: 108px !important;

		padding: 0 11px !important;

		border-radius:
			25px 0 0 25px !important;
	}

	.bvmc-phone {
		height: 50px !important;

		padding: 0 14px !important;

		border-radius: 0 !important;

		font-size: 15px !important;
	}

	.bvmc-country-dropdown {
		max-width: 100% !important;
	}

	.bvmc-country-list {
		max-height: 245px;
	}

	.bvmc-consent {
		font-size: 12.5px;
	}

	.bvmc-discount-submit {
		min-height: 48px;

		font-size: 15px;
	}
}


/* =========================================================
   EXTRA SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

	.bvmc-discount-box {
		padding-left: 14px;
		padding-right: 14px;
	}

	.bvmc-discount-box button.bvmc-country-selected {
		min-width: 100px !important;

		padding-left: 9px !important;
		padding-right: 9px !important;

		gap: 5px !important;
	}

	.bvmc-country-flag img {
		width: 22px !important;
		height: 16px !important;
	}

	.bvmc-country-dial {
		font-size: 13px !important;
	}

	.bvmc-phone {
		padding-left: 11px !important;
		padding-right: 11px !important;

		border-radius: 0 !important;
	}
}

/* Fix country search filtering */
.bvmc-discount-box button.bvmc-country-option.is-hidden {
	display: none !important;
}

.bvmc-discount-skip {
	display: block !important;
	width: auto !important;

	margin: 12px auto 0 !important;
	padding: 4px 12px !important;

	background: transparent !important;
	color: #777 !important;

	border: 0 !important;
	border-radius: 0 !important;

	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;

	text-decoration: none !important;

	cursor: pointer !important;

	box-shadow: none !important;
	outline: none !important;
}

.bvmc-discount-skip:hover,
.bvmc-discount-skip:focus {
	background: transparent !important;
	color: #111 !important;

	text-decoration: underline !important;

	box-shadow: none !important;
	outline: none !important;
}