.navbar-brand {
	color: var(--white);
	font-size: 20px;
	font-weight: 800;
}
.navbar-brand span {
	color: var(--primary-green);
}
/* header {
	position: relative;
	z-index: 9;
}

.timeline-container {
	position: relative;
	z-index: 9999;
} */
.header-left-wrapper {
	display: flex;
}
.header-left-wrapper .user-name {
	font-size: 20px;
	margin: 0;
	font-weight: 500;
	color: var(--grey-200);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	display: inline-block;
}
.header-left-wrapper .user-name span {
	font-weight: 700;
	font-size: 24px;
	color: var(--primary-blue);
}
/* header start */
.main-content {
	margin: 0px;
	min-height: 100vh;
	min-height: 100dvh;
	transition: 0.2s all linear;
}
.main-content.full-width {
	margin: 0 !important;

	min-height: calc(100dvh - var(--header-height));
	min-height: calc(100dvh - var(--header-height));
}
header nav.navbar {
	padding: 10px 30px;
	background: var(--white);
	position: sticky;
	top: 0;
	z-index: 5;
	min-height: var(--header-height);
}
.header-right-wrapper {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: flex-end;
}
.sidbar-wrapper {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100dvh;
	max-width: 260px;
	z-index: 9;
	background: var(--primary-blue);
	color: var(--white);
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: 0.2s all linear;
}
.sidbar-wrapper .dropdown-item {
	margin-bottom: 4px;
}

.sidbar {
	flex: 1;
	overflow: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-blue) transparent;
}
.sidbar::-webkit-scrollbar {
	width: 8px;
}

.sidbar::-webkit-scrollbar-track {
	background: transparent;
}

.sidbar::-webkit-scrollbar-thumb {
	background-color: var(--primary-blue);
	border-radius: 10px;
	border: 2px solid transparent;
	background-clip: content-box;
}

.sidbar::-webkit-scrollbar-thumb:hover {
	background-color: #2d3b85;
}

nav.navbar {
	padding: 0;
}

.sidebar-header {
	min-height: 60px;
	padding: 12px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.side-menu-open .sidbar-wrapper {
	transform: translateX(0%);
	transition: 0.2s all linear;
}

body.side-menu-open .main-content {
	margin-left: 261px;
	transition: 0.2s all linear;
}

ul.navbar-nav {
	padding: 10px 16px;
}

.sidbar-wrapper .nav-link {
	display: flex;
	padding: 10px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.3px;
	color: var(--white);
	border-radius: 6px;
	margin-bottom: 4px;
	transition: 0.2s all linear;
	gap: 10px;
	align-items: center;
}
.sidbar-wrapper .nav-link svg {
	width: 22px;
	height: 22px;
}
.sidbar-wrapper .nav-link svg path {
	fill: var(--white);
}

.sidbar-wrapper .nav-link.active svg path {
	fill: var(--primary-blue);
}
.sidbar-wrapper .nav-link.active,
.sidbar-wrapper .nav-link.active:hover {
	background: var(--white);
	color: var(--primary-blue);
	transition: 0.2s all linear;
}
.sidbar-wrapper .nav-link:hover {
	background: rgb(255 255 255 / 10%);
	color: var(--white);
	transition: 0.2s all linear;
}

.sidbar-wrapper .dropdown-toggle::after {
	border-width: 2px 2px 0 0;
	transform: rotate(135deg);
	width: 9px;
	height: 9px;
	border-color: inherit;
	margin-left: auto;
	transform-origin: center;
	margin-top: -6px;
	margin-right: 2px;
	transition: 0.2s all linear;
}

.sidbar-wrapper .dropdown-toggle[aria-expanded="true"]::after {
	transform: rotate(315deg);
	margin-top: 4px;
	transition: 0.2s all linear;
}
.setting-btn,
.btn.help-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	outline: 0;
	display: flex;
	padding: 4px;
	align-items: center;
	justify-content: center;
	border: 0;
	background: var(--white);
	border: 1px solid rgb(227 229 242) !important;
	transition: all 0.2s ease;
}
.setting-btn:hover, .btn.help-btn:hover {
	background-color: #3749a61a;
	border-color: #3749a61a;
	transition: all 0.2s ease;
	
}

.btn.help-btn svg {
	width: 16px;
	height: auto;
}
.setting-btn svg {
	width: 18px;
	height: auto;
}
.main-content-inner {
	padding: 30px;
	max-width: 1660px;
	margin-left: auto;
	margin-right: auto;
}
.main-content-inner.container-sm {
	max-width: 1000px;
}

.user-icon {
	width: 36px;
	height: 36px;
	flex:0 0 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgb(55 73 166 / 14%);
	border-radius: 50%;
	color: var(--primary-blue);
	font-weight: 700;
	font-size: 18px;
	overflow: hidden;
}
.user-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile-btn .dropdown-toggle {
	width: fit-content;
	padding: 0;
	border: 0;
	outline: 0;
}

.user-profile-btn .dropdown-toggle:after {
	display: none;
}

.dropdown.user-profile-btn {
	width: fit-content;
}

.user-profile-btn .dropdown-menu[data-bs-popper] {
	left: auto;
	right: 0;
}

.user-profile-btn .custom-dropdown {
	border: 1px solid var(--grey-500);
	border-radius: 8px;
	padding: 8px 0;
	min-width: 220px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.custom-dropdown .dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	font-size: 14px;
	transition: background-color 0.2s ease;
}

.user-profile-btn a.dropdown-item:hover {
	background-color: rgb(55 73 166 / 10%);
	color: var(--primary-blue);
}

.user-profile-btn a.dropdown-item span {
	flex: 0 0 18px;
	max-width: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.user-profile-btn a.dropdown-item span svg {
	width: 100%;
	height: auto;
}

.user-profile-btn a.dropdown-item:hover span svg path {
	stroke: var(--primary-blue);
}

.user-profile-btn a.dropdown-item span.logout-icon svg path {
	fill: var(--primary-blue);
}
.user-profile-btn a.dropdown-item:hover span.logout-icon svg path {
	fill: var(--primary-blue);
	stroke: transparent;
}

.user-profile-btn a.dropdown-item span svg path {
	stroke: var(--grey-200);
}
.user-profile-btn a.dropdown-item span.logout-icon svg path {
	fill: var(--grey-200);
	stroke: transparent;
}

.user-profile-btn .user-profile-detail {
	border-bottom: 1px solid var(--grey-500);
	padding-bottom: 12px;
	margin-bottom: 8px;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
}

.user-profile-btn .user-info .user-email {
	margin: 0;
	font-weight: 500;
}

.user-profile-btn .user-profile-detail p {
margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-100);
  white-space: unset;
  word-break: break-word;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-profile-btn .dropdown-menu[data-bs-popper] {
	padding: 0;
	border-color: var(--grey-500);
	max-width: 90vw;
}
.user-profile-btn a.dropdown-item {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--grey-200);
	padding: 8px;
}
.nav-bar-overlay {
	display: none;
	width: 100%;
	position: fixed;
	left: 0;
	height: 100vh;
	height: 100dvh;
	top: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9;
}

.setting-btn svg.header-link-icon {
	transition: all ease 0.05s;
	/* animation-name: spin;
	animation-duration: 6s;
	animation-iteration-count: infinite;
	animation-timing-function: linear; */
	padding: 0.12rem;
}

@keyframes spin {
	0% {
		transform: rotate(0);
	}

	100% {
		transform: rotate(359deg);
	}
}

/* inner menu */
.nav-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: center;
}
.step-nav {
	position: relative;
	display: flex;
	background: var(--white);
	padding: 10px;
	border-radius: 9999px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.step-nav a {
	position: relative;
	padding: 12px 26px;
	font-size: 14px;
	font-weight: 700;
	color: var(--grey-600);
	text-decoration: none;
	z-index: 1;
	transition: color 0.3s ease;
}

.step-nav a:hover {
	color: #1f2e87;
	color: var(--primary-blue-hover);
}

.step-nav a.active {
	color: var(--white);
}

.highlight {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 0;
	width: 0;
	background: linear-gradient(135deg, var(--primary-blue), #ec4899);
	border-radius: 9999px;
	z-index: 0;
	transition: all 0.3s ease;
}

.timeline-container {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: auto;
	position: relative;
	z-index: 0;
}
.timeline-container .link {
	font-weight: 600;
	text-decoration: none;
	font-size: 15px;
	color: var(--primary);
}
.timeline-container .link:hover,
.timeline-container .link.active {
	color: var(--primary-blue);
}
.label {
	font-weight: 600;
	font-size: 16px;
	color: #4b5563;
	white-space: nowrap;
}

.timeline {
	display: flex;
	overflow: hidden;
	border-radius: 50px;
	background: linear-gradient(to right, #ffffff, #f3f4f6);
}

.step {
	position: relative;
	padding: 18px 40px 18px 56px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	background: #e5e7eb;
	text-decoration: none;
	color: var(--primary);
	clip-path: polygon(
		0 0,
		calc(100% - 32px) 0,
		100% 50%,
		calc(100% - 32px) 100%,
		0 100%,
		32px 50%
	);
	transition: all 0.3s ease;
	box-shadow: inset 0 0 0 transparent;
	z-index: 1;
}

.step:hover {
	background: linear-gradient(135deg, #cfe3ff, rgb(76 87 173 / 20%));
	color: #111827;

	box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.05),
		0 4px 8px rgba(0, 0, 0, 0.1);
}

.step.active {
	background: linear-gradient(to right, #3749a6, #ec4899);
	color: var(--white);
	box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.08),
		0 8px 15px rgba(139, 92, 246, 0.3);
}

.step:first-child {
	border-top-left-radius: 50px;
	border-bottom-left-radius: 50px;
	clip-path: polygon(
		0 0,
		calc(100% - 32px) 0,
		100% 50%,
		calc(100% - 32px) 100%,
		0 100%
	);
	padding-left: 40px;
}

.step:last-child {
	border-top-right-radius: 50px;
	border-bottom-right-radius: 50px;
	clip-path: polygon(
		0 0,
		calc(100% - 32px) 0,
		100% 10%,
		calc(100%) 100%,
		0 100%,
		32px 50%
	);
	/* clip-path: none; */
}

.step:not(:last-child) {
	margin-right: -32px;
}
/* .step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -16px;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 16px solid transparent;
	border-bottom: 16px solid transparent;
	border-left: 16px solid white;
	z-index: 2;
} */

.arrow-line {
	width: 0;
	height: 0;
	border-top: 30px solid transparent;
	border-bottom: 30px solid transparent;
	border-left: 20px solid transparent;
	margin-left: -15px;
	z-index: 10;
	position: relative;
}

@media (max-width: 1300px) {
	.step {
		padding: 18px 30px 18px 46px;
	}

	.step:first-child {
		padding-left: 30px;
	}
}
@media (max-width: 1199px) {
	.step {
		font-size: 14px;
		letter-spacing: -0.04em;
		padding: 12px 22px 12px 40px;
		clip-path: polygon(
			0 -50%,
			calc(100% - 32px) -50%,
			100% 50%,
			calc(100% - 32px) 150%,
			10% 100%,
			32px 50%
		);
	}

	.timeline-container {
		gap: 8px;
	}

	.timeline-container .link {
		font-size: 14px;
		line-height: 1.2;
		letter-spacing: -0.04em;
	}

	.arrow-line {
		border-top: 0 solid transparent;
		border-bottom: 0px solid transparent;
		border-left: 0px solid transparent;
		margin-left: 4px;
		opacity: 0;
	}

	.step:not(:last-child) {
		padding-left: 40px;
		margin-right: -34px;
	}

	.step:last-child {
		clip-path: polygon(
			0% -50%,
			calc(100% - 12px) 0,
			100% 10%,
			calc(100%) 100%,
			9% 100%,
			32px 50%
		);
		margin-left: 0;
	}

	.step:first-child {
		padding-left: 20px;
		clip-path: polygon(
			0% 0%,
			calc(100% - 32px) -50%,
			100% 50%,
			calc(108% - 32px) 100%,
			0% 100%
		);
	}
}

@media screen and (max-width: 991px) {
	header nav.navbar {
		padding-left: 16px;
		padding-right: 16px;
	}
	body.side-menu-open .nav-bar-overlay {
		display: block;
	}
	body.side-menu-open .main-content {
		margin-left: 0;
		transition: 0.2s all linear;
	}
}

@media (max-width: 767px) {
	.main-content-inner {
		padding: 20px 16px;
	}
	.timeline-container {
		max-width: 100%;
		overflow: auto;
		white-space: nowrap;
		scrollbar-width: none;
	}

	.timeline {
		min-width: 595px;
	}
	.header-left-wrapper .user-name {
		font-size: 16px;
		font-weight: 600;
	}

	.header-left-wrapper .user-name span {
		font-size: 18px;
	}
	header nav.navbar {
		padding: 10px 16px;
	}

	.header-right-wrapper {
		gap: 5px;
	}

	.user-icon {
		width: 30px;
		height: 30px;
		flex:0 0 30px;
	}

	.dropdown-toggle-side-menu,
	.btn.help-btn {
		width: 30px;
		height: 30px;
		padding: 0px;
	}

	.setting-btn svg.header-link-icon {
		padding: 0px;
	}
}
