.header-user-profile {
	position: absolute;
	bottom: -25.8rem;
	right: 0;
	z-index: 100;

	height: 26rem;
	width: 25rem;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	
	border-radius: 1.5rem;
	background-color: #fff;
	box-shadow: 8px 8px 45px -6px rgba(0, 0, 0, 0.14);

	opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;

	margin-top: 1rem;

	padding-inline: 1.7rem;
}

.header-user-profile:not(.header-user-profile-partners) {
	bottom: -26.8rem;
}

.header-user-profile__link-icon {
	color: #000;

	transform: rotate(180deg);
}

.header-user-profile__name {
	color: #000;
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1;

	margin-bottom: 0.4rem;
}

.header-user-profile__tel {
	color: #7C7C7C;
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1;
}

.header-user-profile__wrapper {
	display: flex;
	flex-direction: column;
}

.header-user-profile__info {
	display: flex;
	align-items: center;
	column-gap: 1.2rem;

	margin-bottom: 1.9rem;
}

.header-user-profile__text {
	font-size: 1rem;
	line-height: 1;
	font-weight: 600;

	margin-bottom: 1.1rem;
}

.header-user-profile__amount {
	font-size: 1.6rem;
	line-height: 1;
	font-weight: 500;
}

.header-user-profile__badge {
	position: absolute;
	top: 0;
	right: -0.9rem;

	font-weight: 500;
	line-height: 1;
	font-size: 0.6rem;
}

.header-user-profile__icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 1.4rem;
	height: 1.4rem;

	border-radius: 100%;
}

.header-user-profile__icon--balance {
	background-color: #3F892C;
}

.header-user-profile__icon--cashbak {
	background-color: #DB904B;
}

.header-user-profile__icon img {
	width: 0.7rem;
	height: 0.7rem;
}

.header-user-profile__value {
	position: relative;

	display: flex;
	align-items: center;
	column-gap: 0.5rem;
}

.header-user-profile__stat--cashback .header-user-profile__value {
	justify-content: center;
}

.header-user-profile__stat.header-user-profile__stat--balance .header-user-profile__value {
	width: 10.5rem;

	padding-left: 0.3rem;
}

.header-user-profile__stat.header-user-profile__stat--balance .header-user-profile__value.header-user-profile-value {
	width: auto;
}

.header-user-profile__stat {
	height: 5rem;

	display: flex;
  flex-direction: column;
  justify-content: center;

	border-radius: 8px;
	background-color: #fff;
	border: 0.50px solid #c8c8c8;

	padding: 0.7rem 0 0.7rem 0.7rem;
}

.header-user-profile__stat--balance {
	width: 14.1rem;
}

.header-user-profile__stat--cashback {
	width: 6.8rem;
}

.header-user-profile__stats {
	display: flex;
	column-gap: 0.6rem;

	margin-bottom: 1.6rem;
}

.header-user-profile__link {
	width: 100%;

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 1rem;
	line-height: 1;
	font-weight: 600;
	
	border-radius: 30px;
	background-color: #f1f1f1;

	padding-block: 1rem;
}

.header-user-profile__link:not(:last-child) {
	margin-bottom: 0.8rem;
}

.header-user-profile__link:has(.header-user-profile__link-icon) {
	justify-content: flex-start;

	padding-left: 0.8rem;
}

.header-user-profile__link:has(.header-user-profile__link-icon) .header-user-profile__link-icon {
	padding-left: 6.3rem;
}

.header-user-profile__link:hover,
.header-user-profile__link:hover .header-user-profile__link-icon {
	color: #3F892C;
}

.header-user-profile__link:hover {
	background-color: #ECF3EA;
}

.header-user-profile-partners {
	display: none;
}

body.partner-profile .header-user-profile-partners {
	display: flex !important;

	bottom: -33.7rem;

	flex-direction: column;
	align-items: flex-start;

	height: 33.2rem;
}

body.partner-profile .header-user-profile-partners .header-user-profile__icon--balance {
	background-color: #6AA9B3;
}

body.partner-profile .header-user-profile-partners .header-user-profile__image {
	display: flex;
	align-items: center;
	justify-content: center;
}

body.partner-profile .header-user-profile-partners .header-user-profile__image img {
	width: 1.8rem;
	height: 1.8rem;
}

body.partner-profile .header-user-profile-partners .header-user-profile__info {
	align-items: flex-start;
}

body.partner-profile .header-user-profile {
	display: none;
}

