.aggww-welcome {
	align-items: center;
	background: transparent;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit;
	display: inline-flex;
	flex: 0 0 auto;
	font: inherit;
	gap: 10px;
	justify-content: center;
	line-height: 1.2;
	max-width: none;
	min-width: max-content;
	outline: 0 !important;
	overflow: visible;
	padding: 0;
	text-align: inherit;
	text-decoration: none;
	vertical-align: middle;
	white-space: nowrap;
	width: max-content;
}

a.aggww-welcome {
	cursor: pointer;
}

a.aggww-welcome:hover,
a.aggww-welcome:focus {
	border-color: transparent !important;
	box-shadow: none !important;
	color: inherit;
	outline: 0 !important;
	text-decoration: none;
}

.aggww-welcome:focus-visible {
	outline: 0 !important;
}

.aggww-welcome__text {
	color: inherit;
	display: inline-block;
	flex: 0 0 auto;
	overflow-wrap: normal;
	transition: color 0.2s ease;
	white-space: nowrap;
	word-break: normal;
}

.aggww-welcome__avatar-wrap {
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	display: block;
	flex: 0 0 auto;
	height: 50px;
	isolation: isolate;
	overflow: hidden;
	position: relative;
	width: 50px;
}

.aggww-welcome__avatar {
	border-radius: inherit;
	display: block;
	height: 100%;
	object-fit: cover;
	position: relative;
	width: 100%;
	z-index: 0;
}

.aggww-welcome--avatar-before .aggww-welcome__avatar-wrap {
	order: 0;
}

.aggww-welcome--avatar-before .aggww-welcome__text {
	order: 1;
}

.aggww-welcome--avatar-after .aggww-welcome__text {
	order: 0;
}

.aggww-welcome--avatar-after .aggww-welcome__avatar-wrap {
	order: 1;
}

.aggww-welcome--avatar-shine .aggww-welcome__avatar-wrap::after {
	background: linear-gradient(
		115deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.18) 34%,
		rgba(255, 255, 255, 0.78) 50%,
		rgba(255, 255, 255, 0.18) 66%,
		rgba(255, 255, 255, 0) 100%
	);
	bottom: -30%;
	content: "";
	filter: blur(0.2px);
	left: -75%;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: -30%;
	transform: translateX(0) skewX(-18deg);
	width: 48%;
	z-index: 1;
}

.aggww-welcome--avatar-shine:hover .aggww-welcome__avatar-wrap::after,
.aggww-welcome--avatar-shine .aggww-welcome__avatar-wrap:hover::after,
.aggww-welcome--avatar-shine:focus-visible .aggww-welcome__avatar-wrap::after {
	animation: aggww-avatar-shine 1050ms ease;
}

@keyframes aggww-avatar-shine {
	0% {
		opacity: 0;
		transform: translateX(0) skewX(-18deg);
	}

	18%,
	62% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translateX(430%) skewX(-18deg);
	}
}

.aggww-profile {
	color: inherit;
	max-width: 100%;
}

.aggww-profile__form {
	align-items: flex-start;
	display: flex;
	gap: 24px;
	width: 100%;
}

.aggww-profile__avatar-area {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 10px;
	text-align: center;
}

.aggww-profile__avatar-button {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	display: block;
	height: 112px;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 112px;
}

.aggww-profile__avatar-button:focus {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.aggww-profile__avatar-button.is-dragging .aggww-profile__avatar-overlay,
.aggww-profile__avatar-button:hover .aggww-profile__avatar-overlay,
.aggww-profile__avatar-button:focus .aggww-profile__avatar-overlay {
	opacity: 1;
}

.aggww-profile__avatar {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.aggww-profile__avatar-overlay {
	align-items: center;
	background: rgba(0, 0, 0, 0.58);
	color: #fff;
	display: flex;
	font-size: 12px;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 10px;
	position: absolute;
	text-align: center;
	transition: opacity 0.2s ease;
}

.aggww-profile__avatar-input {
	display: none;
}

.aggww-profile__fields {
	display: grid;
	flex: 1 1 auto;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-width: 0;
}

.aggww-profile__field {
	display: grid;
	gap: 6px;
}

.aggww-profile__field--email,
.aggww-profile__field--mobile,
.aggww-profile__actions {
	grid-column: 1 / -1;
}

.aggww-profile__label {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.aggww-profile__input {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 6px;
	box-sizing: border-box;
	color: #1f2933;
	min-height: 42px;
	padding: 9px 12px;
	width: 100%;
}

.aggww-profile__input[readonly] {
	background: rgba(127, 127, 127, 0.12);
	cursor: not-allowed;
	opacity: 0.85;
}

.aggww-profile__phone-control {
	align-items: stretch;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 6px;
	box-sizing: border-box;
	direction: ltr;
	display: flex;
	min-height: 42px;
	position: relative;
	width: 100%;
}

.aggww-profile__country-picker {
	border-inline-end: 1px solid rgba(0, 0, 0, 0.14);
	flex: 0 0 auto;
	position: relative;
}

.aggww-profile__country-trigger {
	align-items: center;
	background: rgba(127, 127, 127, 0.08);
	border: 0;
	color: #1f2933;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	gap: 8px;
	height: 100%;
	justify-content: center;
	min-height: 40px;
	min-width: 80px;
	padding: 0 10px;
	white-space: nowrap;
}

.aggww-profile__country-trigger:focus,
.aggww-profile__phone-input:focus {
	outline: 0;
}

.aggww-profile__phone-control:focus-within {
	box-shadow: 0 0 0 1px currentColor;
}

.aggww-profile__phone-control .aggww-profile__phone-input {
	background: transparent;
	border: 0;
	border-radius: 0;
	flex: 1 1 auto;
	min-width: 0;
	text-align: start;
}

.aggww-profile__country-menu {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
	inset-inline-start: 0;
	max-height: 240px;
	min-width: 250px;
	overflow: auto;
	padding: 6px;
	position: absolute;
	top: calc(100% + 6px);
	z-index: 9999;
}

.aggww-profile__country-search {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 6px;
	box-sizing: border-box;
	color: #1f2933;
	font: inherit;
	margin: 0 0 6px;
	min-height: 38px;
	padding: 8px 10px;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 1;
}

.aggww-profile__country-search:focus {
	border-color: #1f2933;
	box-shadow: none;
	outline: 0;
}

.aggww-profile__country-option {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: #1f2933;
	cursor: pointer;
	display: grid;
	font: inherit;
	gap: 8px;
	grid-template-columns: 28px 1fr auto;
	padding: 8px 10px;
	text-align: start;
	width: 100%;
}

.aggww-profile__country-option[hidden] {
	display: none;
}

.aggww-profile__country-option:hover,
.aggww-profile__country-option:focus,
.aggww-profile__country-option[aria-selected="true"] {
	background: rgba(0, 0, 0, 0.08);
	outline: 0;
}

.aggww-profile__country-option-code {
	font-weight: 700;
}

.aggww-profile__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.aggww-profile__save {
	align-items: center;
	border-radius: 6px;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-height: 40px;
	padding: 9px 16px;
	text-decoration: none;
}

.aggww-profile__save {
	background: #111;
	border: 0;
	color: #fff;
	cursor: pointer;
}

.aggww-profile__status {
	font-size: 13px;
	line-height: 1.3;
	min-height: 1.3em;
}

.aggww-profile__status[data-state="success"] {
	color: #16803c;
}

.aggww-profile__status[data-state="error"] {
	color: #b42318;
}

@media (max-width: 767px) {
	.aggww-profile__form {
		align-items: stretch;
		flex-direction: column;
	}

	.aggww-profile__avatar-area {
		align-self: center;
	}

	.aggww-profile__fields {
		grid-template-columns: 1fr;
	}

	.aggww-profile__country-trigger {
		min-width: 76px;
		padding-inline: 8px;
	}

	.aggww-profile__country-menu {
		min-width: min(260px, 86vw);
	}
}
