:root {
	--primary-gradient: linear-gradient(135deg, #3b82f6 0%, #4338ca 100%);
	--primary-color: #3b82f6;
	--primary-dark: #4338ca;
	--success-color: #10b981;
	--warning-color: #f59e0b;
	--error-color: #ef4444;
	--info-color: #3b82f6;
	--text-primary: #1f2937;
	--text-secondary: #6b7280;
	--text-muted: #9ca3af;
	--border-color: #e5e7eb;
	--bg-gray: #f9fafb;
	--bg-white: #ffffff;
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 16px;
}

.smartpay-dashboard {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	padding: 40px 20px;
	flex-grow: 1;
}

.smartpay-dashboard * {
	box-sizing: border-box;
}

.smartpay-dashboard .dashboard-container {
	max-width: 1400px;
	margin: 0 auto;
}

.smartpay-dashboard .dashboard-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	align-items: start;
}

.smartpay-dashboard .dashboard-sidebar {
	position: sticky;
	top: 40px;
	background: var(--bg-white);
	/* border-radius: var(--radius-xl); */
	padding: 0;
	/* box-shadow: var(--shadow-md); */
	border-right: 1px solid var(--border-color);
	overflow: hidden;
	min-height: calc( 100vh - 80px );
	display: flex;
	flex-direction: column;
}

.smartpay-dashboard .sidebar-profile {
	padding: 30px 24px;
	text-align: center;
	background: var(--primary-gradient);
	color: white;
	position: relative;
	overflow: hidden;
}

.smartpay-dashboard .sidebar-profile::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -30%;
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}

.smartpay-dashboard .sidebar-profile::after {
	content: '';
	position: absolute;
	bottom: -50%;
	left: -30%;
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}

.smartpay-dashboard .profile-avatar-wrapper {
	position: relative;
	width: 80px;
	height: 80px;
	margin: 0 auto 16px;
	z-index: 1;
}

.smartpay-dashboard .sidebar-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.3);
	object-fit: cover;
}

.smartpay-dashboard .profile-status {
	position: absolute;
	bottom: 5px;
	right: 5px;
	width: 16px;
	height: 16px;
	background: var(--success-color);
	border-radius: 50%;
	border: 3px solid white;
}

.smartpay-dashboard .profile-name {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 4px;
	position: relative;
	z-index: 1;
}

.smartpay-dashboard .sidebar-profile .profile-email {
	font-size: 0.875rem;
	margin: 0 0 16px;
	opacity: 0.9;
	position: relative;
	z-index: 1;
	word-break: break-word;
}

.smartpay-dashboard .sidebar-profile .profile-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	font-size: 0.813rem;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.3);
	position: relative;
	z-index: 1;
}

.smartpay-dashboard .sidebar-nav {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	justify-content: space-between;
}
.smartpay-dashboard .sidebar-block {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.smartpay-dashboard .sidebar-nav .nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--radius-md);
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.938rem;
	transition: all 0.2s ease;
	position: relative;
}

.smartpay-dashboard .sidebar-nav .nav-item:hover {
	background: var(--bg-gray);
	color: var(--text-primary);
}

.smartpay-dashboard .sidebar-nav .nav-item.active {
	background: #e5e7eb;
	color: var(--text-primary);
}

.smartpay-dashboard .sidebar-nav .nav-item svg {
	flex-shrink: 0;
}

.smartpay-dashboard .sidebar-nav .nav-divider {
	height: 1px;
	background: var(--border-color);
	margin: 8px 0;
}

.smartpay-dashboard .sidebar-nav .nav-logout {
	color: var(--error-color);
}

.smartpay-dashboard .sidebar-nav .nav-logout:hover {
	background: #fee2e2;
	color: var(--error-color);
}

.smartpay-dashboard .dashboard-main {
	min-width: 0;
}

.smartpay-dashboard .dashboard-header {
	padding: 4px 0 20px;
	margin-bottom: 20px;
}

.smartpay-dashboard .dashboard-header .header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.smartpay-dashboard .dashboard-header h1 {
	font-size: 2rem;
	font-weight: 800;
	color: var(--text-primary);
	margin: 0 0 8px;
	line-height: 1.2;
}

.smartpay-dashboard .dashboard-header .subtitle {
	font-size: 1rem;
	color: var(--text-secondary);
	margin: 0;
}

.smartpay-dashboard .stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.smartpay-dashboard .stat-card {
	background: var(--bg-white);
	border-radius: var(--radius-lg);
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--border-color);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.smartpay-dashboard .stat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.smartpay-dashboard .stat-icon {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.smartpay-dashboard .stat-icon.purple {
	background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
	color: var(--primary-color);
}

.smartpay-dashboard .stat-icon.green {
	background: linear-gradient(135deg, #10b98120 0%, #05966920 100%);
	color: var(--success-color);
}

.smartpay-dashboard .stat-icon.blue {
	background: linear-gradient(135deg, #3b82f620 0%, #2563eb20 100%);
	color: var(--info-color);
}

.smartpay-dashboard .stat-icon.orange {
	background: linear-gradient(135deg, #f59e0b20 0%, #d9770620 100%);
	color: var(--warning-color);
}

.smartpay-dashboard .stat-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.smartpay-dashboard .stat-label {
	font-size: 0.875rem;
	color: var(--text-secondary);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.smartpay-dashboard .stat-value {
	font-size: 2rem;
	font-weight: 800;
	color: var(--text-primary);
	line-height: 1;
}

.smartpay-dashboard .stat-value.status-active {
	color: var(--success-color);
	font-size: 1.25rem;
}

.smartpay-dashboard .dashboard-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.smartpay-dashboard .dashboard-section {
	background: var(--bg-white);
	border-radius: var(--radius-xl);
	padding: 30px;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
}

.smartpay-dashboard .section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--border-color);
}

.smartpay-dashboard .section-header h2 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.smartpay-dashboard .section-link {
	font-size: 0.938rem;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.smartpay-dashboard .section-link:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}

.smartpay-dashboard .memberships-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.smartpay-dashboard .membership-card {
	background: var(--bg-gray);
	border-radius: var(--radius-lg);
	padding: 20px;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.smartpay-dashboard .membership-card:hover {
	border-color: var(--primary-color);
	box-shadow: var(--shadow-md);
}

.smartpay-dashboard .membership-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 16px;
	gap: 16px;
}

.smartpay-dashboard .membership-info h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 8px;
}

.smartpay-dashboard .membership-status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 0.813rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.smartpay-dashboard .membership-status.status-active {
	background: #d1fae5;
	color: #065f46;
}

.smartpay-dashboard .membership-status.status-inactive {
	background: #fee2e2;
	color: #991b1b;
}

.smartpay-dashboard .membership-price {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--primary-color);
	text-align: right;
	white-space: nowrap;
}

.smartpay-dashboard .price-period {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-secondary);
}

.smartpay-dashboard .membership-details {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}

.smartpay-dashboard .detail-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.938rem;
	color: var(--text-primary);
}

.smartpay-dashboard .detail-icon {
	font-size: 1.25rem;
}

.smartpay-dashboard .membership-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.smartpay-dashboard .payments-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
	flex: 1;
}

.smartpay-dashboard .payment-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background: var(--bg-gray);
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
	transition: all 0.2s ease;
}

.smartpay-dashboard .payment-item:hover {
	background: #f3f4f6;
	border-color: var(--primary-color);
}

.smartpay-dashboard .payment-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.smartpay-dashboard .payment-icon.status-completed {
	background: #d1fae5;
	color: var(--success-color);
}

.smartpay-dashboard .payment-icon.status-pending {
	background: #fef3c7;
	color: var(--warning-color);
}

.smartpay-dashboard .payment-info {
	flex: 1;
	min-width: 0;
}

.smartpay-dashboard .payment-info h4 {
	font-size: 0.938rem;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0 0 4px;
}

.smartpay-dashboard .payment-date {
	font-size: 0.813rem;
	color: var(--text-secondary);
}

.smartpay-dashboard .payment-amount {
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.smartpay-dashboard .payment-amount .amount {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--text-primary);
}

.smartpay-dashboard .payment-status {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.smartpay-dashboard .payment-status.status-completed {
	color: var(--success-color);
}

.smartpay-dashboard .payment-status.status-pending {
	color: var(--warning-color);
}

.smartpay-dashboard .payment-action .btn-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
	transition: all 0.2s ease;
}

.smartpay-dashboard .payment-action .btn-icon:hover {
	background: var(--bg-gray);
	color: var(--primary-color);
}

.smartpay-dashboard .empty-state {
	text-align: center;
	padding: 60px 20px;
}

.smartpay-dashboard .empty-state.small {
	padding: 40px 20px;
}

.smartpay-dashboard .empty-state svg {
	margin-bottom: 20px;
}

.smartpay-dashboard .empty-state h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 8px;
}

.smartpay-dashboard .empty-state p {
	font-size: 1rem;
	color: var(--text-secondary);
	margin: 0 0 24px;
}

.smartpay-dashboard .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 24px;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.smartpay-dashboard .btn-primary {
	background: var(--primary-gradient);
	color: white;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.smartpay-dashboard .btn-primary:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.smartpay-dashboard .btn-secondary {
	background: var(--bg-gray);
	color: var(--text-primary);
	border: 2px solid var(--border-color);
}

.smartpay-dashboard .btn-secondary:hover:not(:disabled) {
	background: #f3f4f6;
	border-color: var(--text-secondary);
}

.smartpay-dashboard .btn-outline {
	background: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.smartpay-dashboard .btn-outline:hover:not(:disabled) {
	background: var(--primary-color);
	color: white;
}

.smartpay-dashboard .btn-sm {
	padding: 8px 16px;
	font-size: 0.875rem;
}

.smartpay-dashboard .btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.smartpay-dashboard .btn:hover:not(:disabled) .btn-arrow {
	transform: translateX(4px);
}

@media (max-width: 1024px) {
	.smartpay-dashboard .dashboard-layout {
		grid-template-columns: 240px 1fr;
	}
	.smartpay-dashboard .dashboard-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.smartpay-dashboard {
		padding: 20px 10px;
	}

	.smartpay-dashboard .dashboard-layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.smartpay-dashboard .dashboard-sidebar {
		position: static;
	}

	.smartpay-dashboard .dashboard-header {
		padding: 24px 20px;
	}

	.smartpay-dashboard .dashboard-header .header-content {
		flex-direction: column;
		align-items: flex-start;
	}

	.smartpay-dashboard .stats-grid {
		grid-template-columns: 1fr;
	}

	.smartpay-dashboard .dashboard-section {
		padding: 24px 20px;
	}

	.smartpay-dashboard .membership-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.smartpay-dashboard .membership-price {
		text-align: left;
	}
}
@media (max-width: 480px) {
	.smartpay-dashboard .dashboard-header h1 {
		font-size: 1.5rem;
	}
	.smartpay-dashboard .stat-value {
		font-size: 1.5rem;
	}
	.smartpay-dashboard .membership-card {
		padding: 16px;
	}
}

/* ==========================================================================
   WooCommerce-style account area — stats, panels, clean tables (v3.0.0)
   ========================================================================== */

.smartpay-dashboard .sp-dash-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}

.smartpay-dashboard .sp-dash-stat {
	background: var(--bg-white);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.smartpay-dashboard .sp-dash-stat__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
}

.smartpay-dashboard .sp-dash-stat__value {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.1;
}

.smartpay-dashboard .sp-dash-stat__meta {
	font-size: 0.8rem;
	color: var(--text-secondary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.smartpay-dashboard .sp-dash-panel {
	background: var(--bg-white);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 24px;
}

.smartpay-dashboard .sp-dash-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-color);
}

.smartpay-dashboard .sp-dash-panel__head h2 {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
	color: var(--text-primary);
}

.smartpay-dashboard .sp-dash-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--primary-color);
	text-decoration: none;
}

.smartpay-dashboard .sp-dash-link:hover {
	text-decoration: underline;
}

.smartpay-dashboard .sp-dash-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.smartpay-dashboard .sp-dash-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.smartpay-dashboard .sp-dash-table thead th {
	text-align: left;
	padding: 12px 20px;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
	background: var(--bg-gray);
	border-bottom: 1px solid var(--border-color);
	white-space: nowrap;
}

.smartpay-dashboard .sp-dash-table tbody td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-primary);
	vertical-align: middle;
}

.smartpay-dashboard .sp-dash-table tbody tr:last-child td {
	border-bottom: none;
}

.smartpay-dashboard .sp-dash-table tbody tr:hover {
	background: var(--bg-gray);
}

.smartpay-dashboard .sp-dash-table__actions {
	text-align: right;
}

.smartpay-dashboard .sp-dash-muted {
	color: var(--text-muted);
}

/* Status badges */
.smartpay-dashboard .sp-dash-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	background: #f3f4f6;
	color: #374151;
	white-space: nowrap;
}

.smartpay-dashboard .sp-dash-badge.is-completed,
.smartpay-dashboard .sp-dash-badge.is-active {
	background: #dcfce7;
	color: #166534;
}

.smartpay-dashboard .sp-dash-badge.is-processing,
.smartpay-dashboard .sp-dash-badge.is-trialling {
	background: #dbeafe;
	color: #1e40af;
}

.smartpay-dashboard .sp-dash-badge.is-pending {
	background: #fef3c7;
	color: #92400e;
}

.smartpay-dashboard .sp-dash-badge.is-failed,
.smartpay-dashboard .sp-dash-badge.is-failing,
.smartpay-dashboard .sp-dash-badge.is-cancelled,
.smartpay-dashboard .sp-dash-badge.is-revoked {
	background: #fee2e2;
	color: #991b1b;
}

.smartpay-dashboard .sp-dash-badge.is-refunded,
.smartpay-dashboard .sp-dash-badge.is-expired,
.smartpay-dashboard .sp-dash-badge.is-abandoned,
.smartpay-dashboard .sp-dash-badge.is-suspended {
	background: #f3f4f6;
	color: #4b5563;
}

/* Buttons */
.smartpay-dashboard .sp-dash-btn {
	display: inline-block;
	padding: 6px 14px;
	border-radius: var(--radius-md);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--primary-color);
	border: 1px solid var(--border-color);
	background: var(--bg-white);
	transition: all 0.15s ease;
}

.smartpay-dashboard .sp-dash-btn:hover {
	border-color: var(--primary-color);
	background: var(--bg-gray);
}

.smartpay-dashboard .sp-dash-btn--sm {
	padding: 4px 12px;
	font-size: 0.78rem;
}

/* Empty state */
.smartpay-dashboard .sp-dash-empty {
	padding: 48px 20px;
	text-align: center;
	color: var(--text-secondary);
}

.smartpay-dashboard .sp-dash-empty p {
	margin: 0;
	font-size: 0.95rem;
}

/* Responsive: stacked card rows on small screens */
@media (max-width: 900px) {
	.smartpay-dashboard .sp-dash-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.smartpay-dashboard .sp-dash-stats {
		grid-template-columns: 1fr;
	}

	.smartpay-dashboard .sp-dash-table thead {
		display: none;
	}

	.smartpay-dashboard .sp-dash-table,
	.smartpay-dashboard .sp-dash-table tbody,
	.smartpay-dashboard .sp-dash-table tr,
	.smartpay-dashboard .sp-dash-table td {
		display: block;
		width: 100%;
	}

	.smartpay-dashboard .sp-dash-table tr {
		border-bottom: 1px solid var(--border-color);
		padding: 8px 0;
	}

	.smartpay-dashboard .sp-dash-table tbody td {
		border: none;
		padding: 8px 20px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 16px;
	}

	.smartpay-dashboard .sp-dash-table tbody td::before {
		content: attr(data-label);
		font-size: 0.72rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: var(--text-muted);
	}

	.smartpay-dashboard .sp-dash-table__actions {
		text-align: left;
	}
}

/* ==========================================================================
   Order detail (key/value) + subscription cards (v3.0.0)
   ========================================================================== */

/* Order detail key/value list */
.smartpay-dashboard .sp-dash-kv {
	padding: 8px 20px;
}

.smartpay-dashboard .sp-dash-kv__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border-color);
	font-size: 0.9rem;
}

.smartpay-dashboard .sp-dash-kv__row:last-child {
	border-bottom: none;
}

.smartpay-dashboard .sp-dash-kv__key {
	color: var(--text-secondary);
}

.smartpay-dashboard .sp-dash-kv__val {
	color: var(--text-primary);
	text-align: right;
}

.smartpay-dashboard .sp-dash-panel__foot {
	padding: 16px 20px;
	border-top: 1px solid var(--border-color);
}

/* Subscription cards */
.smartpay-dashboard .sp-dash-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
}

.smartpay-dashboard .sp-dash-card {
	background: var(--bg-white);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 20px;
}

.smartpay-dashboard .sp-dash-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.smartpay-dashboard .sp-dash-card__title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
}

.smartpay-dashboard .sp-dash-card__price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.1;
	margin-bottom: 16px;
}

.smartpay-dashboard .sp-dash-card__period {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-muted);
}

.smartpay-dashboard .sp-dash-card__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-top: 1px solid var(--border-color);
	font-size: 0.85rem;
}

.smartpay-dashboard .sp-dash-card__row span {
	color: var(--text-secondary);
}

.smartpay-dashboard .sp-dash-card__row strong {
	color: var(--text-primary);
	font-weight: 600;
}
