/* GenGold Member Account Display - front-end (My Account page) */

:root {
	--gmad-accent: #0a3b73; /* GenGold navy; override per site if needed */
	--gmad-border: rgba(0, 0, 0, 0.12);
	--gmad-muted: #6b7280;
}

/* --- Left rail separators ------------------------------------------------ */
.woocommerce-MyAccount-navigation li[class*="navigation-link--gmad-sep"] {
	list-style: none;
	margin: 0.55rem 0;
	padding: 0;
	border-top: 1px solid var(--gmad-border);
	height: 0;
	line-height: 0;
	pointer-events: none;
}
.woocommerce-MyAccount-navigation li[class*="navigation-link--gmad-sep"] a {
	display: none !important;
}

/* --- Dashboard ----------------------------------------------------------- */
.gmad-dashboard .gmad-greeting h2 {
	margin: 0 0 0.25rem;
}
.gmad-dashboard .gmad-greeting p {
	margin: 0 0 1.25rem;
	color: var(--gmad-muted);
}

.gmad-dashboard-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.gmad-card {
	display: flex;
	flex-direction: column;
	min-height: 130px;
	padding: 16px;
	border: 1px solid var(--gmad-border);
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.gmad-card:hover,
.gmad-card:focus {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
	border-color: var(--gmad-accent);
	text-decoration: none;
}

.gmad-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.gmad-card-icon {
	font-size: 22px;
	line-height: 1;
}
.gmad-card-title {
	font-weight: 600;
	font-size: 1rem;
	color: var(--gmad-accent);
}

.gmad-card-body {
	flex: 1 1 auto;
	font-size: 0.9rem;
}
.gmad-card-summary {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.2;
}
.gmad-card-list {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--gmad-muted);
}
.gmad-card-list li {
	margin: 0 0 2px;
}
.gmad-card-muted {
	margin: 0;
	color: var(--gmad-muted);
}

.gmad-card-cta {
	margin-top: 10px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gmad-accent);
}

@media (max-width: 480px) {
	.gmad-dashboard-widgets {
		grid-template-columns: 1fr 1fr;
	}
}
