.dmaic-header-auth {
	position: relative;
	z-index: 50;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
}

.dmaic-header-auth,
.dmaic-header-auth * {
	box-sizing: border-box;
}

.dmaic-header-auth__trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(118, 104, 255, 0.36);
	border-radius: 50%;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(135deg, #7768ff, #5bbcff) border-box;
	color: #13213a;
	cursor: pointer;
	box-shadow: 0 14px 32px rgba(67, 93, 158, 0.14);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.dmaic-header-auth__trigger:hover,
.dmaic-header-auth__trigger:focus-visible,
.dmaic-header-auth:focus-within .dmaic-header-auth__trigger {
	transform: translateY(-1px);
	box-shadow: 0 18px 38px rgba(67, 93, 158, 0.2);
	outline: none;
}

.dmaic-header-auth__icon {
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
}

.dmaic-header-auth__icon::before,
.dmaic-header-auth__icon::after {
	position: absolute;
	left: 50%;
	content: "";
	transform: translateX(-50%);
}

.dmaic-header-auth__icon::before {
	top: 1px;
	width: 8px;
	height: 8px;
	border: 2px solid #121a2f;
	border-radius: 50%;
	background: transparent;
}

.dmaic-header-auth__icon::after {
	bottom: 1px;
	width: 18px;
	height: 10px;
	border: 2px solid #121a2f;
	border-radius: 999px 999px 4px 4px;
	background: transparent;
}

.dmaic-header-auth__initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #7768ff, #5bbcff);
	color: #fff;
	font-size: 13px;
	font-weight: 850;
	letter-spacing: 0;
	text-transform: uppercase;
}

.dmaic-header-auth__menu {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 210px;
	padding: 10px;
	border: 1px solid rgba(206, 219, 238, 0.9);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 22px 54px rgba(18, 31, 58, 0.18);
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.16s ease, transform 0.16s ease;
	backdrop-filter: blur(14px);
}

.dmaic-header-auth:hover .dmaic-header-auth__menu,
.dmaic-header-auth:focus-within .dmaic-header-auth__menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.dmaic-header-auth__menu::before {
	position: absolute;
	right: 17px;
	bottom: 100%;
	width: 12px;
	height: 12px;
	border-top: 1px solid rgba(206, 219, 238, 0.9);
	border-left: 1px solid rgba(206, 219, 238, 0.9);
	background: rgba(255, 255, 255, 0.96);
	content: "";
	transform: translateY(6px) rotate(45deg);
}

.dmaic-header-auth__title {
	display: grid;
	gap: 2px;
	margin-bottom: 7px;
	padding: 10px 12px 12px;
	border-bottom: 1px solid #edf3fb;
}

.dmaic-header-auth__title strong {
	color: #16223a;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.25;
}

.dmaic-header-auth__title span {
	color: #6a7890;
	font-size: 12px;
	font-weight: 700;
}

.dmaic-header-auth__menu a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 12px;
	color: #25304a;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: background 0.16s ease, color 0.16s ease;
}

.dmaic-header-auth__menu a:hover,
.dmaic-header-auth__menu a:focus-visible {
	background: linear-gradient(135deg, rgba(119, 104, 255, 0.13), rgba(91, 188, 255, 0.15));
	color: #302c75;
	outline: none;
	text-decoration: none;
}

@media (max-width: 767px) {
	.dmaic-header-auth__trigger {
		width: 44px;
		height: 44px;
	}

	.dmaic-header-auth__menu {
		right: -8px;
		width: 196px;
	}
}
