/*************************************************************************
 * INSYGMA — ACCOUNT HEADER
 *************************************************************************/

.insy-acc {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	color: #111 !important;
	text-decoration: none !important;
}

.insy-acc:hover,
.insy-acc:visited {
	color: #111 !important;
	text-decoration: none !important;
}


/*************************************************************************
 * AVATAR — NAVY + GRADIENT BORDER
 *************************************************************************/

.insy-acc__avatar {
	position: relative;
	z-index: 1;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 27px;
	height: 27px;
	flex: 0 0 26px;

	box-sizing: border-box;

	border: 2px solid transparent;
	border-radius: 50%;

	background:
		linear-gradient(#0f172a, #0f172a) padding-box,
		linear-gradient(
			135deg,
			#E85D68 0%,
			#F0946E 45%,
			#F5C982 100%
		) border-box;

	color: #fff !important;

	font-size: 12px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: -0.02em;

	box-shadow:
		0 0 0 1px #fff,
		0 4px 10px rgba(15, 23, 42, 0.18);

	transition:
		transform 180ms ease,
		box-shadow 180ms ease;
}


/* Linha interior subtil */

.insy-acc__avatar::after {
	content: "";
	position: absolute;
	inset: 2px;
	z-index: -1;

	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;

	pointer-events: none;
}


/* Pequeno ponto coral */

.insy-acc__avatar::before {
	content: "";
	position: absolute;
	right: -2px;
	bottom: -2px;
	z-index: 2;

	width: 8px;
	height: 8px;

	box-sizing: border-box;

	border: 1px solid #fff;
	border-radius: 50%;

	background: #ef8c68;

	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.14);

	pointer-events: none;
}


.insy-acc:hover .insy-acc__avatar {
	transform: translateY(-1px);

	box-shadow:
		0 0 0 1px #fff,
		0 6px 14px rgba(15, 23, 42, 0.22);
}


/*************************************************************************
 * NOME
 *************************************************************************/

.insy-acc__nome {
	max-width: 90px;

	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;

	color: #111 !important;

	font-size: 13px;
	line-height: 1.2;
	font-weight: 500;
}


/*************************************************************************
 * GUEST ICON
 *************************************************************************/

.insy-acc--guest svg {
	display: block;

	width: 22px;
	height: 22px;

	margin-top: 3px;
}


/*************************************************************************
 * MOBILE
 *************************************************************************/

@media (max-width: 768px) {

	.insy-acc {
		gap: 0;
	}

	.insy-acc__nome {
		display: none;
	}

	.insy-acc__avatar {
		width: 22px;
		height: 22px;
		flex: 0 0 20px;

		margin-bottom: 6px;

		border-width: 1px;

		font-size: 9px;
		font-weight: 600;
		line-height: 1;

		box-shadow:
			0 0 0 1px #fff,
			0 2px 5px rgba(15, 23, 42, 0.14);
	}

	.insy-acc__avatar::after {
		inset: 2px;
		border-width: 1px;
	}

	.insy-acc__avatar::before {
		right: -1px;
		bottom: -1px;

		width: 7px;
		height: 7px;

		border-width: 1px;
		box-shadow: none;
	}

	.insy-acc:hover .insy-acc__avatar {
		transform: none;

		box-shadow:
			0 0 0 1px #fff,
			0 2px 5px rgba(15, 23, 42, 0.14);
	}

	.insy-acc--guest svg {
		width: 18px;
		height: 18px;
	}

}