/* Guest marketing header profile dropdown — classtrak.local public pages only */
header.header .main-nav-list > .header-user-menu--guest {
	position: relative;
	list-style: none;
	z-index: 1100;
}

header.header .header-user-menu--guest .header-user-menu__toggle {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	color: #3b4757 !important;
	text-decoration: none !important;
	padding: 6px 10px;
	border-radius: 999px;
	transition: background 0.2s ease;
	height: auto;
	cursor: pointer;
}

header.header .header-user-menu--guest .header-user-menu__toggle:hover,
header.header .header-user-menu--guest .header-user-menu__toggle:focus {
	background: rgba(0, 123, 238, 0.08);
	color: #007bee !important;
	text-decoration: none !important;
	outline: none;
}

header.header .header-user-menu--guest .header-user-menu__name {
	color: #3b4757;
	text-transform: none !important;
	font-weight: 600;
	font-size: 13px;
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

header.header .header-user-menu--guest .header-user-menu__avatar-wrap {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #007bee;
	flex-shrink: 0;
	background: #fff;
}

header.header .header-user-menu--guest .header-user-menu__avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

header.header .header-user-menu--guest .header-user-menu__caret {
	color: #3b4757;
	font-size: 10px;
	opacity: 0.85;
}

header.header .header-user-menu--guest .dropdown-menu.header-user-menu__dropdown {
	display: none;
	position: absolute;
	top: 100%;
	right: 0 !important;
	left: auto !important;
	min-width: 300px !important;
	width: 300px !important;
	padding: 0 !important;
	margin-top: 8px !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14) !important;
	background: #fff !important;
	z-index: 1100;
	float: none !important;
}

header.header .header-user-menu--guest.is-open .dropdown-menu.header-user-menu__dropdown {
	display: block !important;
}

.header-user-menu__dropdown > li {
	list-style: none;
	padding: 0;
	margin: 0;
	float: none;
}

.header-user-menu__profile {
	position: relative;
	background: #fff;
}

.header-user-menu__profile-banner {
	height: 56px;
	background: linear-gradient(135deg, #007bee 0%, #46aadd 100%);
}

.header-user-menu__profile-content {
	margin-top: -28px;
	padding: 0 20px 18px;
	text-align: center;
}

.header-user-menu__profile-avatar-wrap {
	width: 72px;
	height: 72px;
	margin: 0 auto 10px;
	border-radius: 50%;
	padding: 3px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.header-user-menu__profile-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.header-user-menu__profile-name {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.3;
}

.header-user-menu__profile-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 12px;
	color: #6b7280;
	line-height: 1.4;
}

.header-user-menu__profile-meta:last-child {
	margin-bottom: 0;
}

.header-user-menu__profile-meta span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 240px;
}

.header-user-menu__profile-meta i {
	color: #46aadd;
	width: 14px;
	text-align: center;
	flex-shrink: 0;
}

.header-user-menu__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 16px 18px 18px;
	border-top: 1px solid #eef2f7;
	background: #f8fafc;
}

.header-user-menu__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	border: 1px solid transparent;
	white-space: nowrap;
	text-transform: none !important;
	width: 100%;
	box-sizing: border-box;
}

.header-user-menu__action i {
	font-size: 13px;
}

.header-user-menu__action--dashboard {
	background: #fff;
	color: #007bee !important;
	border-color: #cfe8fb;
}

.header-user-menu__action--dashboard:hover {
	background: #e8f4fd;
	color: #005fa3 !important;
	border-color: #46aadd;
}

.header-user-menu__action--logout {
	background: #fff;
	color: #dc3545 !important;
	border-color: #f5c2c7;
}

.header-user-menu__action--logout:hover {
	background: #fff5f5;
	color: #b02a37 !important;
	border-color: #dc3545;
}
.header-user-menu__dropdown > li.header-user-menu__actions {
    padding: 12px;
}

@media (max-width: 767px) {
	.header-user-menu__name {
		max-width: 110px;
	}
}
