/**
 * HireU Account Nav Styles
 */

.hireu-acc-nav-wrap {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	position: relative;
	z-index: 100;
}

/* Nav Buttons */
.hireu-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	text-decoration: none;
	border: 1px solid transparent;
	line-height: 1;
	box-sizing: border-box;
}

.hireu-nav-post-btn {
	background: linear-gradient(135deg, #D49A24 0%, #B87C0E 100%);
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(197, 139, 22, 0.28);
	border: none;
}

.hireu-nav-post-btn:hover {
	background: linear-gradient(135deg, #E2A72F 0%, #A66E08 100%);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(197, 139, 22, 0.38);
}

.hireu-nav-auth-btn {
	background: #ffffff;
	color: #250720 !important;
	border: 1.5px solid #250720;
}

.hireu-nav-auth-btn:hover {
	background: #250720;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 7, 32, 0.18);
}

/* User Trigger Container */
.hireu-user-dropdown-container {
	position: relative;
}

.hireu-user-trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	background: #ffffff;
	border: 1px solid #E5E7EB;
	border-radius: 9999px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hireu-user-trigger:hover {
	border-color: #C58B16;
	box-shadow: 0 4px 12px rgba(197, 139, 22, 0.15);
}

.hireu-nav-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	overflow: hidden;
	background: #250720;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 2px solid #C58B16;
}

.hireu-nav-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hireu-user-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.2;
	text-align: left;
}

.hireu-user-name {
	font-size: 13.5px;
	font-weight: 700;
	color: #1F2937;
	max-width: 120px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hireu-user-role-tag {
	font-size: 10.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hireu-tag-employer {
	color: #C58B16;
}

.hireu-tag-candidate {
	color: #059669;
}

.hireu-caret {
	color: #6B7280;
	transition: transform 0.2s ease;
}

.hireu-user-dropdown-container.is-open .hireu-caret {
	transform: rotate(180deg);
}

/* Dropdown Menu */
.hireu-user-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: 250px;
	background: #ffffff;
	border: 1px solid #E5E7EB;
	border-radius: 14px;
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
	padding: 12px 0;
	display: none;
	animation: hireuDropFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 1000;
}

.hireu-user-dropdown-container.is-open .hireu-user-menu {
	display: block;
}

@keyframes hireuDropFade {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hireu-menu-header {
	padding: 8px 16px 12px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.hireu-menu-user-info strong {
	display: block;
	font-size: 14px;
	color: #111827;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 140px;
}

.hireu-menu-user-info span {
	display: block;
	font-size: 12px;
	color: #6B7280;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 140px;
}

.hireu-badge-pill {
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 9999px;
	background: #FFF7ED;
	color: #C58B16;
	border: 1px solid #FED7AA;
	white-space: nowrap;
}

.hireu-menu-divider {
	height: 1px;
	background: #F3F4F6;
	margin: 6px 0;
}

.hireu-menu-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hireu-menu-links li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px;
	font-size: 13.5px;
	font-weight: 500;
	color: #374151;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.hireu-menu-links li a:hover {
	background: #FFF9EE;
	color: #C58B16;
}

.hireu-menu-links li a svg {
	flex-shrink: 0;
	color: #9CA3AF;
	transition: color 0.15s ease;
}

.hireu-menu-links li a:hover svg {
	color: #C58B16;
}

.hireu-menu-signout a {
	color: #EF4444 !important;
}

.hireu-menu-signout a:hover {
	background: #FEF2F2 !important;
}

.hireu-menu-signout a svg {
	color: #EF4444 !important;
}

@media (max-width: 640px) {
	.hireu-user-meta {
		display: none;
	}
	.hireu-user-trigger {
		padding: 4px;
	}
	.hireu-nav-btn span {
		display: none;
	}
	.hireu-nav-btn {
		padding: 10px;
		border-radius: 50%;
	}
}
