/*
 * The theme kit styles every button, heading and select on the page. These rules
 * name the element as well as the class so the widget keeps its own look, and
 * every value stays a custom property so the Elementor style controls still win.
 */

.imap-lang-switcher {
	display: inline-flex;
}

.imap-lang-switcher button.imap-lang-switcher__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--imap-lang-switcher-trigger-color, #f0f0f2);
	cursor: pointer;
	line-height: 0;
	transition: color 0.2s ease;
}

.imap-lang-switcher button.imap-lang-switcher__trigger:hover,
.imap-lang-switcher button.imap-lang-switcher__trigger:focus-visible {
	background: none;
	color: var(--imap-lang-switcher-trigger-hover-color, #c9a86a);
}

.imap-lang-switcher .imap-lang-switcher__trigger-icon {
	display: block;
	line-height: 0;
}

.imap-lang-switcher .imap-lang-switcher__trigger-icon svg,
.imap-lang-switcher .imap-lang-switcher__trigger-icon img {
	display: block;
	width: var(--imap-lang-switcher-trigger-size, 24px);
	height: var(--imap-lang-switcher-trigger-size, 24px);
}

.imap-lang-switcher__modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.imap-lang-switcher__modal.is-open {
	display: flex;
}

.imap-lang-switcher__modal button.imap-lang-switcher__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--imap-lang-switcher-overlay, #00151ba8);
	cursor: pointer;
}

.imap-lang-switcher__modal .imap-lang-switcher__card {
	position: relative;
	width: 100%;
	max-width: var(--imap-lang-switcher-card-width, 720px);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: var(--imap-lang-switcher-card-padding, 32px 40px 40px);
	border-radius: var(--imap-lang-switcher-card-radius, 6px);
	background: var(--imap-lang-switcher-card-bg, #ffffff);
}

.imap-lang-switcher__modal .imap-lang-switcher__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.imap-lang-switcher__modal .imap-lang-switcher__title {
	margin: 0;
	color: var(--imap-lang-switcher-title-color, #00404f);
	font-family: "Be Vietnam Pro", sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	text-transform: uppercase;
}

.imap-lang-switcher__modal button.imap-lang-switcher__close {
	flex: none;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--imap-lang-switcher-title-color, #00404f);
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
}

.imap-lang-switcher__modal .imap-lang-switcher__divider {
	margin: 20px 0 4px;
	border-top: 1px solid var(--imap-lang-switcher-divider, #d8dee0);
}

.imap-lang-switcher__modal .imap-lang-switcher__form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 24px;
}

.imap-lang-switcher__modal .imap-lang-switcher__field {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}

.imap-lang-switcher__modal .imap-lang-switcher__label {
	color: var(--imap-lang-switcher-label-color, #7a8b90);
	font-family: "Roboto", sans-serif;
	font-size: 0.9375rem;
	line-height: 1.2;
}

.imap-lang-switcher__modal .imap-lang-switcher__select {
	position: relative;
	display: block;
}

.imap-lang-switcher__modal .imap-lang-switcher__select select {
	width: var(--imap-lang-switcher-select-width, 220px);
	max-width: 100%;
	padding: var(--imap-lang-switcher-select-padding, 16px 44px 16px 20px);
	border: 0;
	border-radius: var(--imap-lang-switcher-select-radius, 4px);
	background: var(--imap-lang-switcher-select-bg, #00404f);
	color: var(--imap-lang-switcher-select-color, #ffffff);
	cursor: pointer;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	line-height: 1.2;
	appearance: none;
}

.imap-lang-switcher__modal .imap-lang-switcher__chevron {
	position: absolute;
	top: 50%;
	right: 18px;
	transform: translateY(-50%);
	color: var(--imap-lang-switcher-chevron-color, #78b5c2);
	line-height: 0;
	pointer-events: none;
}

.imap-lang-switcher__modal .imap-lang-switcher__chevron svg,
.imap-lang-switcher__modal .imap-lang-switcher__chevron img {
	display: block;
	width: var(--imap-lang-switcher-chevron-size, 14px);
	height: auto;
}

.imap-lang-switcher__modal button.imap-lang-switcher__submit {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--imap-lang-switcher-submit-size, 56px);
	height: var(--imap-lang-switcher-submit-size, 56px);
	margin-top: 20px;
	margin-left: auto;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--imap-lang-switcher-submit-bg, #c9a86a);
	color: var(--imap-lang-switcher-submit-color, #ffffff);
	cursor: pointer;
	line-height: 0;
	transition: background-color 0.2s ease;
}

.imap-lang-switcher__modal button.imap-lang-switcher__submit:hover,
.imap-lang-switcher__modal button.imap-lang-switcher__submit:focus-visible {
	background: var(--imap-lang-switcher-submit-hover-bg, #b8955a);
}

.imap-lang-switcher__modal button.imap-lang-switcher__submit svg,
.imap-lang-switcher__modal button.imap-lang-switcher__submit img {
	display: block;
	width: var(--imap-lang-switcher-submit-icon-size, 16px);
	height: auto;
}

body.imap-lang-switcher-open {
	overflow: hidden;
}

[data-imap-market-prompt] {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: var(--imap-lang-switcher-overlay, #00151ba8);
}

[data-imap-market-prompt] * {
	box-sizing: border-box;
}

[data-imap-market-prompt][hidden] {
	display: none;
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-backdrop,
[data-imap-market-prompt] button.imap-lang-switcher__market-popup-backdrop:hover,
[data-imap-market-prompt] button.imap-lang-switcher__market-popup-backdrop:focus,
[data-imap-market-prompt] button.imap-lang-switcher__market-popup-backdrop:focus-visible {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	cursor: default;
	outline: 0;
	transform: none;
}

[data-imap-market-prompt] .imap-lang-switcher__market-popup-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	padding: 32px;
	border: 1px solid rgba(183, 247, 255, 0.32);
	border-radius: 24px;
	background-color: #003e4c;
	background-image: linear-gradient(135deg, rgba(119, 170, 184, 0.34), rgba(2, 47, 61, 0.9));
	color: #ffffff;
	box-shadow: 0 14px 32px rgba(0, 21, 30, 0.2);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-close {
	position: absolute;
	top: 16px;
	right: 12px;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
}

[data-imap-market-prompt] [data-imap-market-prompt-title] {
	margin: 0 48px 14px 0;
	outline: none;
	color: #ffffff;
	font-family: "Be Vietnam Pro", sans-serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.25;
}

[data-imap-market-prompt] [data-imap-market-prompt-message] {
	margin: 0;
	color: #ffffff;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.5;
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-accept,
[data-imap-market-prompt] button.imap-lang-switcher__market-popup-selector,
[data-imap-market-prompt] button.imap-lang-switcher__market-popup-dismiss {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 24px;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 999px;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	line-height: 1.3;
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-accept {
	border-color: transparent;
	background: #e0cba3;
	color: #00404f;
	font-weight: 500;
	transform: none;
	transition: transform 0.26s cubic-bezier(.22, 1, .36, 1);
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-accept::after {
	width: 20px;
	height: 20px;
	background: currentColor;
	content: "";
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12H20 M14 6L20 12L14 18'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12H20 M14 6L20 12L14 18'/%3E%3C/svg%3E") center / contain no-repeat;
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-selector {
	margin-top: 15px;
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-dismiss {
	margin-top: 10px;
}

[data-imap-market-prompt] .imap-lang-switcher__market-popup-card button:hover {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-accept:hover {
	border-color: transparent;
	background: #f2af5c;
	transform: translateY(-2px);
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-dismiss {
	border: 0;
	color: #ffffff;
	font-weight: 300;
	text-decoration: underline;
	text-underline-offset: 3px;
}

[data-imap-market-prompt] button.imap-lang-switcher__market-popup-dismiss:hover {
	border: 0;
	background: transparent;
}

[data-imap-market-prompt] .imap-lang-switcher__market-popup-card button:focus-visible {
	border-color: transparent;
	outline: 2px solid #f4dfb9;
	outline-offset: 1px;
	box-shadow: none;
}

@media (max-width: 767px) {
	.imap-lang-switcher__modal {
		padding: 0;
	}

	.imap-lang-switcher__modal .imap-lang-switcher__card {
		max-width: none;
		min-height: 100%;
		max-height: none;
		border-radius: 0;
	}

	.imap-lang-switcher__modal .imap-lang-switcher__field {
		width: 100%;
	}

	.imap-lang-switcher__modal .imap-lang-switcher__select select {
		width: 100%;
	}

	.imap-lang-switcher__modal button.imap-lang-switcher__submit {
		margin-left: 0;
	}

	[data-imap-market-prompt] {
		padding: 16px;
	}

	[data-imap-market-prompt] .imap-lang-switcher__market-popup-card {
		max-width: 520px;
		padding: 24px 20px 20px;
	}

	[data-imap-market-prompt] [data-imap-market-prompt-title] {
		font-size: 24px;
	}
}
