/* FAYYAZ account dropdown — liquid glass, anchored under the header user icon */
html.fzcx-pop-lock { overflow: hidden !important; }
.fzcx-pop { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; visibility: hidden; }
.fzcx-pop.is-open { visibility: visible; }
.fzcx-pop__panel {
	position: fixed; top: 80px; right: 24px; width: 400px; pointer-events: auto; border-radius: 26px;
	background: linear-gradient(155deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .66) 55%, rgba(246, 249, 255, .78) 100%);
	-webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: 0 28px 70px rgba(15, 42, 92, .20), 0 6px 18px rgba(15, 42, 92, .08), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(255, 255, 255, .55);
	opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: var(--fzcx-arrow, 90%) 0;
	transition: opacity .2s ease, transform .28s cubic-bezier(.2, 1, .3, 1);
}
.fzcx-pop.is-open .fzcx-pop__panel { opacity: 1; transform: none; }
/* liquid rim: bright top-left edge, cool blue / cyan refraction at the bottom-right */
.fzcx-pop__panel::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; padding: 1px;
	background: linear-gradient(135deg, #fff, rgba(28, 97, 231, .28) 38%, rgba(255, 255, 255, .25) 62%, rgba(34, 211, 238, .45));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
/* soft specular highlight */
.fzcx-pop__panel::after {
	content: ""; position: absolute; inset: 0 0 55% 0; border-radius: 26px 26px 50% 50% / 26px 26px 18% 18%; pointer-events: none; z-index: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
}
.fzcx-pop__arrow {
	position: absolute; top: -7px; left: var(--fzcx-arrow, 90%); width: 14px; height: 14px; margin-left: -7px; transform: rotate(45deg); z-index: 1;
	background: rgba(255, 255, 255, .92); border-top: 1px solid rgba(255, 255, 255, .95); border-left: 1px solid rgba(255, 255, 255, .95);
	box-shadow: -3px -3px 8px rgba(15, 42, 92, .04);
}
.fzcx-pop__frame { position: relative; z-index: 1; display: block; width: 100%; height: 520px; border: 0; background: transparent; overflow: hidden; opacity: 0; transition: opacity .2s, height .25s ease; }
.fzcx-pop.is-ready .fzcx-pop__frame { opacity: 1; }
.fzcx-pop__load { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.fzcx-pop.is-ready .fzcx-pop__load { display: none; }
.fzcx-pop__load span { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(28, 97, 231, .15); border-top-color: #1c61e7; animation: fzcx-pop-rot .8s linear infinite; }
@keyframes fzcx-pop-rot { to { transform: rotate(360deg); } }
/* "Close" — text only, shown on the mobile sheet */
.fzcx-pop__x {
	display: none !important; position: absolute !important; top: 14px; right: 18px; z-index: 3; width: auto !important; height: auto !important; min-height: 0 !important;
	margin: 0 !important; padding: 4px 2px !important; border: 0 !important; background: none !important; box-shadow: none !important;
	color: #1c61e7 !important; font: 600 15px/1 "Open Sans", Arial, sans-serif !important; text-transform: none !important; letter-spacing: normal !important; cursor: pointer;
}
body.rtl .fzcx-pop__x { right: auto; left: 18px; }
/* The theme's own side / hover login panels are replaced by this dropdown for visitors. */
body:not(.logged-in) .login-form-side, body:not(.logged-in) .wd-side-login,
body:not(.logged-in) .wd-header-my-account .wd-dropdown, body:not(.logged-in) .wd-header-my-account .wd-dropdown-register { display: none !important; }

/* Mobile: full-screen white sheet, no frame */
.fzcx-pop.is-sheet { background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; pointer-events: auto; opacity: 0; transition: opacity .2s; }
.fzcx-pop.is-sheet.is-open { opacity: 1; }
.fzcx-pop.is-sheet .fzcx-pop__panel { position: relative; top: auto !important; left: auto !important; right: auto; width: 100% !important; min-height: 100%; padding-top: 44px; border-radius: 0; border: 0; box-shadow: none; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; transform: translateY(16px); }
.fzcx-pop.is-sheet.is-open .fzcx-pop__panel { transform: none; }
.fzcx-pop.is-sheet .fzcx-pop__panel::before, .fzcx-pop.is-sheet .fzcx-pop__panel::after, .fzcx-pop.is-sheet .fzcx-pop__arrow { display: none; }
.fzcx-pop.is-sheet .fzcx-pop__x { display: block !important; }
@media (prefers-reduced-motion: reduce) { .fzcx-pop__panel, .fzcx-pop__frame { transition: none; } }
