.kodo-profile-avatar-panel{
	position: relative;
	z-index: 20;
	display: flex;
	height: 100%;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.kodo-profile-avatar-btn-holder{
	display: block;
	width: 100%;
	height: 100%;
}
.kodo-profile-avatar-btn{
	display: flex;
	height: 100%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 2.5rem;
	background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
	padding: 1rem;
	text-align: center;
	box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
	--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
	--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
	text-decoration: none;
}
.kodo-profile-avatar-btn:hover{
	--tw-scale-y: 1.1;
	--tw-scale-x: 1.1;
}
.kodo-profile-avatar-btn:active{
	--tw-scale-y: .95;
	--tw-scale-x: .95;
}

/*  Выпадающий список кнопок  */

.kodo-profile-avatar-dropdown
{
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 8px;
	width: 256px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
	border: 1px solid #f3f4f6;
	overflow: hidden;
	z-index: 50;
	text-align: left;
	animation: kodoDropdownIn 0.2s ease;
}

.kodo-profile-avatar-dropdown-overlay
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.kodo-profile-avatar-dropdown-overlay-btn
{
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

/* группировка блоков */
.kodo-profile-avatar-dropdown > koi-idlink
{
	display: block;
	padding: 4px 8px;
}

.kodo-profile-avatar-dropdown > koi-idlink
{
	background: #f1f2f3;
}

.kodo-profile-avatar-dropdown > koi-idlink:first-child
{
	border-bottom: 1px solid #f9fafb;
	background: #ffffff;
}

/* ссылки */
.kodo-profile-avatar-dropdown a
{
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px;
	border-radius: 12px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	font-size: 14px;
	line-height: 1;
}

/* svg */
.kodo-profile-avatar-dropdown svg
{
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Edit profile */
.kodo-profile-avatar-dropdown .kodo-profile-avatar-edit-btn
{
	color: #374151;
}

.kodo-profile-avatar-dropdown .kodo-profile-avatar-edit-btn svg
{
	color: #9ca3af;
}

.kodo-profile-avatar-dropdown .kodo-profile-avatar-edit-btn span
{
	font-weight: 700;
}

.kodo-profile-avatar-dropdown .kodo-profile-avatar-edit-btn:hover
{
	background: #f1f2f3;
}

/* Add child */
.kodo-profile-avatar-dropdown .kodo-profile-avatar-create-btn
{
	color: #d97706;
	margin-bottom: 4px;
}

.kodo-profile-avatar-dropdown .kodo-profile-avatar-create-btn span
{
	font-weight: 700;
}

.kodo-profile-avatar-dropdown .kodo-profile-avatar-create-btn svg
{
	width: 16px;
	height: 16px;
	color: #d97706;
}

.kodo-profile-avatar-dropdown .kodo-profile-avatar-create-btn:hover
{
	background: #ffffff;
}

/* Manage profiles */
.kodo-profile-avatar-dropdown .kodo-profile-avatar-list-btn
{
	color: #6b7280;
}

.kodo-profile-avatar-dropdown .kodo-profile-avatar-list-btn span
{
	font-weight: 500;
}

.kodo-profile-avatar-dropdown .kodo-profile-avatar-list-btn svg
{
	color: #9ca3af;
}

.kodo-profile-avatar-dropdown .kodo-profile-avatar-list-btn:hover
{
	background: #ffffff;
}

/* анимация */
@keyframes kodoDropdownIn
{
	from
	{
		opacity: 0;
		transform: scale(0.95);
	}
	to
	{
		opacity: 1;
		transform: scale(1);
	}
}

/*  Аватарка  */

.kodo-profile-avatar-btn-contents
{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.kodo-profile-avatar-btn-contents .icon-holder
{
	font-size: 3rem;
	margin-bottom: 16px;
	line-height: 1;
	display: inline-block;
	transition: transform 0.2s ease;
}

.kodo-profile-avatar-btn-contents .name-holder
{
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #111827;
}

.kodo-profile-avatar-btn-contents .name-holder svg
{
	width: 16px;
	height: 16px;
	color: #9ca3af;
	flex-shrink: 0;
}

