/**
 * Minimal profile / plan / account CSS starter
 */

.swapr-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 16px 0;
}

.swapr-plan-summary,
.swapr-usage-summary,
.swapr-plan-options {
	margin-top: 14px;
}

.swapr-plan-current,
.swapr-usage-block,
.swapr-plan-card {
	padding: 14px;
	border-radius: 16px;
	background: #202634;
}

.swapr-plan-current-name,
.swapr-plan-card-name {
	font-size: 22px;
	font-weight: 700;
}

.swapr-plan-current-meta,
.swapr-plan-card-meta,
.swapr-progress-meta {
	font-size: 13px;
	opacity: 0.78;
	margin-top: 6px;
}

.swapr-usage-summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.swapr-usage-title {
	font-weight: 600;
	margin-bottom: 10px;
}

.swapr-progress {
	height: 10px;
	border-radius: 999px;
	background: rgba(255,255,255,0.08);
	overflow: hidden;
}

.swapr-progress-bar {
	height: 100%;
	background: #ffffff;
	border-radius: inherit;
}

.swapr-plan-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.swapr-plan-card.is-current {
	outline: 1px solid rgba(255,255,255,0.18);
}

.swapr-plan-card-badge {
	margin-top: 12px;
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	background: #ffffff;
	color: #111;
	font-size: 12px;
}

.swapr-profile-actions {
	margin-top: 18px;
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 980px) {
	.swapr-profile-grid,
	.swapr-usage-summary,
	.swapr-plan-options {
		grid-template-columns: 1fr;
	}
}
