/* Dynamic header button. Matches the live EngageHub header button dimensions. */
.engagehub-header-auth {
	position: relative;
	display: inline-block;
	vertical-align: middle;
}

.engagehub-header-auth__login,
.engagehub-header-auth__trigger {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 148px;
	min-height: 39px;
	padding: 12px 24px;
	border: 0;
	border-radius: 3px;
	background: #5b2e91;
	color: #fff !important;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 14px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.engagehub-header-auth__login:hover,
.engagehub-header-auth__login:focus,
.engagehub-header-auth__trigger:hover,
.engagehub-header-auth__trigger:focus {
	background: #5b2e91;
	color: #fff !important;
}

.engagehub-header-auth__trigger:focus-visible,
.engagehub-header-auth__menu a:focus-visible {
	outline: 2px solid #ff6b61;
	outline-offset: 3px;
}

.engagehub-header-auth__chevron {
	width: 7px;
	height: 7px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.engagehub-header-auth.is-open .engagehub-header-auth__chevron {
	margin-top: 3px;
	transform: rotate(225deg);
}

.engagehub-header-auth__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 9999;
	min-width: 148px;
	padding: 8px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 25px rgba(20, 15, 40, 0.15);
}

.engagehub-header-auth__menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 4px;
	color: #17255d;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.engagehub-header-auth__menu a:hover {
	background: #f5f1fa;
	color: #5b2e91;
}

@media (max-width: 767px) {
	.engagehub-header-auth__menu {
		right: 0;
		max-width: calc(100vw - 24px);
	}
}
