.avs-open-btn {
	cursor: pointer;
	padding: 10px 18px;
	border: none;
	border-radius: 6px;
	background: #2271b1;
	color: #fff;
	font-size: 14px;
}

.avs-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.avs-modal {
	background: #fff;
	width: 90%;
	max-width: 640px;
	max-height: 80vh;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	direction: rtl;
	font-family: inherit;
}

.avs-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
}

.avs-modal-header h3 {
	margin: 0;
}

.avs-modal-close {
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
}

.avs-modal-user-info {
	padding: 8px 20px;
	background: #f7f7f7;
	font-size: 13px;
}

.avs-modal-body {
	padding: 20px;
	overflow-y: auto;
}

.avs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
	gap: 14px;
}

.avs-avatar-item {
	cursor: pointer;
	text-align: center;
}

.avs-avatar-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid transparent;
}

.avs-avatar-item.avs-selected .avs-avatar-img-wrap {
	border-color: #2271b1;
}

.avs-avatar-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.avs-lock-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	text-align: center;
	padding: 4px;
}

.avs-price-badge {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 10px;
	padding: 2px 0;
	text-align: center;
}

.avs-selected-badge {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(34, 113, 177, 0.85);
	color: #fff;
	font-size: 10px;
	padding: 2px 0;
	text-align: center;
}

.avs-avatar-item.avs-locked-level {
	opacity: 0.6;
}

.avs-avatar-item.avs-cant-afford {
	opacity: 0.75;
}
