/* Scoped avatar update block — user profile pages */

.isach-profile-avatar-wrap {
	float: right;
	width: 176px;
	margin: 0 0 20px 28px;
	text-align: center;
}

.isach-avatar-frame {
	width: 160px;
	height: 160px;
	margin: 0 auto;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	background: #f3f4f6;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.isach-avatar-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.isach-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 48px;
	font-weight: 700;
	color: #9ca3af;
	background: linear-gradient(180deg, #f9fafb 0%, #eef2f7 100%);
}

.isach-avatar-update {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: 160px;
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	color: #111 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.isach-avatar-update svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.isach-avatar-update:hover {
	background: #f9fafb;
	border-color: #9ca3af;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	text-decoration: none !important;
}

@media (max-width: 640px) {
	.isach-profile-avatar-wrap {
		float: none;
		width: 100%;
		max-width: 220px;
		margin: 0 auto 24px;
	}

	.isach-avatar-frame {
		width: 140px;
		height: 140px;
	}

	.isach-avatar-update {
		max-width: 140px;
	}
}
