.asg-account-dashboard {
	max-width: 640px;
}

.asg-account-details-card {
	background: #fff;
	border: 1px solid var(--asg-border, #e5d9cf);
	border-radius: 8px;
	padding: 24px 28px;
	margin-bottom: 20px;
}

.asg-account-details-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--asg-border, #e5d9cf);
}

.asg-account-details-header h2 {
	margin: 0;
	font-size: 18px;
	color: var(--asg-maroon, #70151b);
}

.asg-account-edit-btn {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 999px;
	background: var(--asg-maroon, #70151b);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
	transition: background .2s ease;
}

.asg-account-edit-btn:hover {
	background: var(--asg-maroon-dark, #4d1010);
	color: #fff !important;
}

.asg-account-details-list {
	margin: 0;
}

.asg-account-detail-row {
	display: flex;
	padding: 10px 0;
	border-bottom: 1px solid #f2ede4;
}

.asg-account-detail-row:last-child {
	border-bottom: none;
}

.asg-account-detail-row dt {
	width: 120px;
	flex-shrink: 0;
	color: #777;
	font-size: 14px;
}

.asg-account-detail-row dd {
	margin: 0;
	color: #1b1c1c;
	font-size: 14px;
	font-weight: 500;
}

.asg-account-links {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}

.asg-account-links a {
	color: var(--asg-maroon, #70151b);
}

@media (max-width: 600px) {
	.asg-account-details-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.asg-account-detail-row {
		flex-direction: column;
		gap: 2px;
	}

	.asg-account-detail-row dt {
		width: auto;
	}
}

/* ---- Small phones (320-400px) ---- */

@media (max-width: 400px) {
	/* The button carries white-space:nowrap, which at 288px can push it
	   past the card edge if the label is long. */
	.asg-account-edit-btn {
		white-space: normal;
		text-align: center;
	}

	.asg-account-cards {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.asg-account-card {
		padding: 14px;
	}
}
