/* User menu block — matches language toggle / mijn.host header account dropdown. */

.mijnhost-user-menu {
	position: relative;
	display: inline-block;
	line-height: 0;
}

.mijnhost-user-menu__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background-color: #eff7fa;
	color: #04a5f0;
	cursor: pointer;
	line-height: 0;
	box-shadow: 0 1px 4px rgba(2, 62, 90, 0.08);
	transition: .3s ease-in-out;
}

/* Match CP header-action circle hover ($s_vivid_lighter_blue). */
.mijnhost-user-menu__btn:hover,
.mijnhost-user-menu__btn:focus-visible,
.mijnhost-user-menu.is-open .mijnhost-user-menu__btn {
	background-color: #e5f6fd;
	outline: none;
}

.mijnhost-user-menu__btn .fa-user {
	font-size: 18px;
	line-height: 1;
}

/* Match language-toggle / public-site dropdown menu. */
.mijnhost-user-menu__menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 1000;
	min-width: 10rem;
	padding: 0;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 4px 16px rgba(2, 62, 90, 0.2);
	line-height: 1.3;
}

.mijnhost-user-menu__menu[hidden] {
	display: none !important;
}

.mijnhost-user-menu__item {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	color: rgba(2, 62, 90, 0.8);
	text-decoration: none;
	font-weight: 700;
	transition: 0.3s ease-in-out;
	font-size: 1rem;
}

.mijnhost-user-menu__item:first-child {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.mijnhost-user-menu__item:last-child {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.mijnhost-user-menu__item:hover,
.mijnhost-user-menu__item:focus-visible {
	color: #04a5f0;
	background: rgba(242, 245, 247, 0.7);
	outline: none;
	text-decoration: none;
}

.mijnhost-user-menu__item:focus {
	text-decoration: none;
}

.mijnhost-user-menu__item .fas,
.mijnhost-user-menu__item .svg-inline--fa {
	width: 1.1em;
	text-align: center;
	flex-shrink: 0;
	margin-right: 8px;
}

.mijnhost-user-menu__label {
	white-space: nowrap;
}

.mijnhost-user-menu.is-open {
	z-index: 1001;
}
