/* Vesica My Account Popup — font family inherits from theme */
.vma {
	--vma-bg: #0F0F0F;
	--vma-blue: #0E83B5;
	--vma-blue-h: #0A6F9B;
	--vma-border: #444;
	--vma-line: rgba(255, 255, 255, .14);
	position: relative;
	display: inline-block;
	line-height: 1;
	z-index: 999;
}
.vma *, .vma *::before, .vma *::after { box-sizing: border-box; }

/* Header link */
.vma .vma__link {
	display: inline-flex;
	align-items: center;
	padding: 10px 0;
	color: #7A7A7A !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color .2s ease;
}
.vma .vma__link:hover, .vma:focus-within .vma__link { color: #333 !important; }

/* Dropdown */
.vma__drop {
	position: absolute;
	top: 100%;
	right: 0;
	width: 400px;
	max-width: calc(100vw - 20px);
	padding-top: 12px;              /* hover bridge between link and panel */
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
	pointer-events: none;
}
.vma--left .vma__drop { right: auto; left: 0; }
.vma--out:hover .vma__drop,
.vma--out:focus-within .vma__drop,
.vma--out.is-open .vma__drop {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
	pointer-events: auto;
}

.vma__panel {
	background: var(--vma-bg);
	padding: 30px 32px 30px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
	text-align: left;
	line-height: 1.4;
}

.vma__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--vma-line);
}
.vma__title { color: #fff; font-size: 23px; font-weight: 700; line-height: 1.2; }
.vma .vma__create, .vma .vma__lost {
	color: var(--vma-blue) !important;
	font-size: 17px;
	font-weight: 400;
	text-decoration: none !important;
	transition: color .2s ease;
}
.vma .vma__create:hover, .vma .vma__lost:hover { color: #3BA9D8 !important; }

.vma__form { margin: 0; }
.vma .vma__row { margin: 0 0 20px !important; padding: 0; }
.vma .vma__row label {
	display: block;
	margin: 0 0 10px;
	color: #fff;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
}
.vma__req { color: #E2401C; }

.vma .vma__input,
.vma input.vma__input[type="text"],
.vma input.vma__input[type="password"] {
	display: block;
	width: 100% !important;
	height: 52px !important;
	min-height: 0;
	margin: 0 !important;
	padding: 0 16px !important;
	background: transparent !important;
	border: 2px solid var(--vma-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 16px !important;
	outline: none;
	transition: border-color .2s ease;
}
.vma .vma__input:focus { border-color: #8A8A8A !important; }
.vma .vma__input:-webkit-autofill {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow: 0 0 0 100px var(--vma-bg) inset !important;
	transition: background-color 9999s ease 0s;
}

.vma__pass { position: relative; display: block; }
.vma .vma__pass .vma__input { padding-right: 50px !important; }
.vma .vma__eye {
	position: absolute;
	top: 50%; right: 12px;
	transform: translateY(-50%);
	display: inline-flex !important;
	align-items: center; justify-content: center;
	width: 30px; height: 30px; min-height: 0 !important;
	padding: 0 !important; margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #BDBDBD !important;
	cursor: pointer;
}
.vma .vma__eye:hover { color: #fff !important; }
.vma__eye-off { display: none; }
.vma__eye.is-on .vma__eye-on { display: none; }
.vma__eye.is-on .vma__eye-off { display: block; }

.vma .vma__btn {
	display: flex !important;
	align-items: center; justify-content: center;
	width: 100% !important;
	height: 54px !important;
	min-height: 0 !important;
	margin: 0 0 22px !important;
	padding: 0 20px !important;
	background: var(--vma-blue) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: .3px !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background .2s ease, opacity .2s ease;
}
.vma .vma__btn:hover { background: var(--vma-blue-h) !important; }
.vma .vma__btn[disabled] { opacity: .65; cursor: wait; }

.vma__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.vma .vma__remember {
	display: inline-flex !important;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	color: #fff;
	font-size: 17px;
	cursor: pointer;
}
.vma .vma__remember input {
	width: 16px; height: 16px;
	margin: 0 !important;
	accent-color: var(--vma-blue);
	cursor: pointer;
}

.vma__msg { display: none; margin: 0 0 18px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.vma__msg.is-error { display: block; background: rgba(226, 64, 28, .12); border-left: 3px solid #E2401C; color: #FFB6A6; }
.vma__msg.is-success { display: block; background: rgba(14, 131, 181, .15); border-left: 3px solid var(--vma-blue); color: #BFE6F7; }
.vma__msg a { color: #fff !important; text-decoration: underline !important; }

/* Responsive */
@media (max-width: 1024px) {
	/* touch devices: tap on the link opens My Account; popup still opens via keyboard focus */
	.vma--out:hover .vma__drop { opacity: 0; visibility: hidden; pointer-events: none; }
	.vma--out:focus-within .vma__drop, .vma--out.is-open .vma__drop { opacity: 1; visibility: visible; pointer-events: auto; }
}
@media (hover: hover) and (pointer: fine) {
	.vma--out:hover .vma__drop { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition-delay: 0s; }
}
@media (max-width: 480px) {
	.vma__drop { width: 340px; }
	.vma__panel { padding: 24px 22px; }
	.vma__title { font-size: 20px; }
	.vma .vma__create, .vma .vma__lost, .vma .vma__remember, .vma .vma__row label { font-size: 15px; }
}
