.woocommerce-account .site-main {
	max-width: 100%;
}

.woocommerce-account .entry-content > .woocommerce {
	background: #f7f7f7;
	border-radius: 16px;
	padding: 16px;
}

.ll-account-layout {
	width: 100%;
}

.ll-account-dashboard {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ll-account-dashboard__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ll-account-dashboard__title {
	margin: 0;
	font-size: 1.75rem;
	line-height: 1.2;
}

.ll-account-dashboard__subtitle {
	margin: 0;
	color: #6b7280;
	font-size: 0.95rem;
}

.ll-account-dashboard__greeting {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #ffffff;
	border: 1px solid #eceff3;
	border-radius: 14px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
	padding: 16px;
}

.ll-account-dashboard__user {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.ll-account-dashboard__avatar img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: block;
	object-fit: cover;
}

.ll-account-dashboard__avatar-trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.ll-account-dashboard__avatar-edit {
	position: absolute;
	right: -4px;
	bottom: -4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 9999px;
	background: #111827;
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.ll-account-dashboard__avatar-edit svg {
	width: 14px;
	height: 14px;
}

.ll-account-dashboard__avatar-trigger:focus-visible .ll-account-dashboard__avatar-edit,
.ll-account-dashboard__avatar-trigger:hover .ll-account-dashboard__avatar-edit {
	background: #1f2937;
}

.ll-account-dashboard__avatar-file {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.ll-account-avatar-modal[hidden] {
	display: none;
}

.ll-account-avatar-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}

.ll-account-avatar-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.48);
}

.ll-account-avatar-modal__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 30rem;
	background: #ffffff;
	border-radius: 12px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ll-account-avatar-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ll-account-avatar-modal__title {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.2;
}

.ll-account-avatar-modal__close {
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.ll-account-avatar-modal__body img {
	display: block;
	width: 100%;
	max-height: 60vh;
}

.ll-account-avatar-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}

body.ll-account-avatar-modal-open {
	overflow: hidden;
}

.ll-account-dashboard__user-text {
	min-width: 0;
}

.ll-account-dashboard__hello {
	margin: 0 0 4px;
	font-size: 1.2rem;
	font-weight: 600;
	color: #111827;
}

.ll-account-dashboard__plan {
	margin: 0;
	color: #6b7280;
}

.ll-account-dashboard__greeting-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 9999px;
	border: 1px solid #d7dde5;
	background: #ffffff;
	color: #111827;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ll-account-dashboard__greeting-link:hover,
.ll-account-dashboard__greeting-link:focus-visible {
	background: #f3f4f6;
	border-color: #c6ced8;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
	color: #111827;
	text-decoration: none;
}

.ll-account-dashboard__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.ll-account-card {
	display: block;
	background: #ffffff;
	border: 1px solid #eceff3;
	border-radius: 14px;
	padding: 16px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ll-account-card:hover,
.ll-account-card:focus-visible {
	transform: translateY(-2px);
	border-color: #dae1ea;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	text-decoration: none;
}

.ll-account-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.ll-account-card__lead {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ll-account-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	color: #8b8fa1;
}

.ll-account-card__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ll-account-card__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 9999px;
	background: #f1f5f9;
	color: #475569;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1;
}

.ll-account-card__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.2;
	color: #111827;
}

.ll-account-card__meta {
	margin: 0;
	color: #6b7280;
	font-size: 0.92rem;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.woocommerce-account .entry-content > .woocommerce {
		padding: 24px;
	}

	.ll-account-dashboard {
		gap: 20px;
	}

	.ll-account-dashboard__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.ll-account-card {
		padding: 18px;
	}

	.ll-account-avatar-modal {
		padding: 20px;
	}

	.ll-account-avatar-modal__panel {
		padding: 18px;
	}
}
