/* MyWhoosh User Menu Frontend Styles */

:root {
	--wpmyw-sso-color-light: #ffffff;
	--wpmyw-sso-color-dark: #121212;
	--wpmyw-sso-text-color: #333333;
}

.wpmyw-sso-user-profile * {
	box-sizing: border-box;
}

.wpmyw-sso-user-profile {
	display: inline-flex;
	font-family: "Inter", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	position: relative;
}

.wpmyw-sso-user-profile .wpmyw-sso-login-link,
.wpmyw-sso-user-profile .wpmyw-sso-username {
	color: var(--wpmyw-sso-color-dark);
	cursor: pointer;
	display: inline-block;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	line-height: 26px;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	text-wrap: nowrap;
}

.wpmyw-sso-user-profile .wpmyw-sso-username {
	padding-right: 1.25rem;
}
.wpmyw-sso-user-profile .wpmyw-sso-username::after {
	border-left: 0.4rem solid transparent;
	border-right: 0.4rem solid transparent;
	border-top: 0.4rem solid var(--wpmyw-sso-color-dark);
	box-sizing: border-box;
	content: "";
	height: 0;
	position: absolute;
	right: 0;
	top: 8px;
	width: 0;
}

#wpmyw-sso-dropdown {
	background-color: var(--wpmyw-sso-color-light);
	border-radius: 0;
	border: 0;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
	display: none;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 30px;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	width: 180px;
	z-index: 1000;
}

#wpmyw-sso-dropdown.open {
	display: block;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
#wpmyw-sso-dropdown ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#wpmyw-sso-dropdown ul li a,
#wpmyw-sso-dropdown ul li button[type="button"] {
	background-color: transparent;
	border: 0;
	color: var(--wpmyw-sso-text-color);
	cursor: pointer;
	display: block;
	font-size: 0.75rem;
	line-height: 26px;
	padding: 0.375rem 1.25rem;
	text-align: left;
	text-decoration: none;
	text-decoration: none;
	text-wrap: nowrap;
	width: 100%;
}

#wpmyw-sso-dropdown ul li a:hover,
#wpmyw-sso-dropdown ul li a:focus,
#wpmyw-sso-dropdown ul li button[type="button"]:hover,
#wpmyw-sso-dropdown ul li button[type="button"]:focus {
	background-color: var(--wpmyw-sso-color-dark);
	color: var(--wpmyw-sso-color-light);
}

@media (max-width: 1260px) {
	.wpmyw-sso-user-profile {
		display: block;
	}

	.wpmyw-sso-user-profile .wpmyw-sso-login-link,
	.wpmyw-sso-user-profile .wpmyw-sso-username {
		color: var(--wpmyw-sso-color-dark);
		display: block;
		font-size: 0.875rem;
		font-weight: bold;
		line-height: 24px;
		padding: 1rem 0;
		width: 100%;
	}

	.wpmyw-sso-user-profile .wpmyw-sso-username::after {
		top: 1.5rem;
	}

	#wpmyw-sso-dropdown {
		box-shadow: none;
		color: var(--wpmyw-sso-color-dark);
		display: block;
		position: relative;
		top: initial;
		right: initial;
		opacity: 1;
		width: 100%;
	}

	#wpmyw-sso-dropdown ul {
		padding-left: 2rem;
	}

	#wpmyw-sso-dropdown ul li a,
	#wpmyw-sso-dropdown ul li button[type="button"] {
		line-height: 24px;
		padding: 1rem 0;
	}
}

/* Trasparent Header CSS Style */

@media (min-width: 1260px) {
	.header-transparent .wpmyw-sso-user-profile .wpmyw-sso-login-link,
	.header-transparent .wpmyw-sso-user-profile .wpmyw-sso-login-link:hover,
	.header-transparent .wpmyw-sso-user-profile .wpmyw-sso-login-link:focus,
	.header-transparent .wpmyw-sso-user-profile .wpmyw-sso-username,
	.header-transparent .wpmyw-sso-user-profile .wpmyw-sso-username:hover,
	.header-transparent .wpmyw-sso-user-profile .wpmyw-sso-username:focus {
		color: var(--wpmyw-sso-color-light);
	}

	.header-transparent .wpmyw-sso-user-profile .wpmyw-sso-username::after {
		border-top: 0.4rem solid var(--wpmyw-sso-color-light);
	}
}


