/**
 * HP Blocksy Support — Account / Dashboard Pages
 *
 * User account, vendor dashboard, HP tabbed menus.
 */

/* === Account Page Layout === */
.hp-page--user-account .hp-row {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.hp-page--user-account .hp-page__sidebar {
	flex: 0 0 250px;
	max-width: 250px;
}

.hp-page--user-account .hp-page__content {
	flex: 1;
	min-width: 0;
}

@media (max-width: 768px) {
	.hp-page--user-account .hp-page__sidebar {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* === Account Menu === */
.hp-menu--user-account {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hp-menu--user-account .hp-menu__item {
	margin: 0;
}

.hp-menu--user-account .hp-menu__item a {
	display: block;
	padding: 10px 16px;
	color: var(--hp-color-text, #333);
	text-decoration: none;
	border-radius: var(--hp-border-radius, 3px);
	transition: background 0.15s ease;
}

.hp-menu--user-account .hp-menu__item a:hover {
	background: var(--hp-color-surface, #f5f5f5);
}

.hp-menu--user-account .hp-menu__item--current a {
	background: var(--hp-color-primary, #4a90d9);
	color: #fff;
	font-weight: 600;
}

/* === Tabbed Menu === */
.hp-menu--tabbed {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border-bottom: 2px solid var(--hp-color-border, #eee);
	margin-bottom: 24px;
	list-style: none;
	padding: 0;
}

.hp-menu--tabbed .hp-menu__item a {
	display: block;
	padding: 10px 20px;
	color: var(--hp-color-muted, #6c757d);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.hp-menu--tabbed .hp-menu__item a:hover {
	color: var(--hp-color-text, #333);
}

.hp-menu--tabbed .hp-menu__item--current a {
	color: var(--hp-color-primary, #4a90d9);
	border-bottom-color: var(--hp-color-primary, #4a90d9);
	font-weight: 600;
}

/* === Account Sidebar Widget === */
.hp-page--user-account .hp-page__sidebar .widget {
	margin-bottom: 24px;
}

.hp-page--user-account .hp-page__sidebar .widget__title {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hp-color-muted, #6c757d);
	margin-bottom: 12px;
}

/* === HP Tables (orders, etc.) === */
.hp-table {
	width: 100%;
	border-collapse: collapse;
}

.hp-table th,
.hp-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--hp-color-border, #eee);
}

.hp-table th {
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--hp-color-muted, #6c757d);
}

.hp-table tr:hover td {
	background: var(--hp-color-surface, #f8f8f8);
}
