/* ToolkitPlan Core — base styles. Enqueue this in your theme or via wp_enqueue_style. */

.tkp-dashboard {
	display: grid;
	gap: 20px;
	max-width: 640px;
}

.tkp-balance-card {
	background: #f7f7f5;
	border: 1px solid #e2e2de;
	border-radius: 10px;
	padding: 24px;
	text-align: center;
}

.tkp-balance-number {
	font-size: 40px;
	font-weight: 600;
}

.tkp-balance-label {
	color: #666;
	font-size: 14px;
}

.tkp-plan-card,
.tkp-history-card {
	background: #fff;
	border: 1px solid #e2e2de;
	border-radius: 10px;
	padding: 20px;
}

.tkp-plan-actions {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

.tkp-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.tkp-btn-primary {
	background: #1a1a1a;
	color: #fff;
}

.tkp-btn-secondary {
	background: transparent;
	border: 1px solid #ccc;
	color: #1a1a1a;
}

.tkp-history-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.tkp-history-table th,
.tkp-history-table td {
	text-align: left;
	padding: 8px 4px;
	border-bottom: 1px solid #eee;
}

.tkp-amount-positive { color: #1a7a3d; }
.tkp-amount-negative { color: #b3261e; }

.tkp-tool-balance-pill {
	display: inline-block;
	background: #f0f0ec;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	margin-bottom: 16px;
}

.tkp-tool-locked {
	background: #fff8e6;
	border: 1px solid #f0dfa0;
	border-radius: 8px;
	padding: 16px;
}

.tkp-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
}

.tkp-tool-card {
	border: 1px solid #e2e2de;
	border-radius: 8px;
	padding: 14px;
}

.tkp-tool-cost {
	font-size: 12px;
	color: #888;
}

.tkp-error {
	color: #b3261e;
}

.tkp-trial-banner {
	background: #eaf3ff;
	border: 1px solid #b8d8ff;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.tkp-trial-banner.tkp-trial-ended {
	background: #fff8e6;
	border-color: #f0dfa0;
}

.tkp-trial-banner a {
	font-weight: 600;
	white-space: nowrap;
}

.tkp-trial-cta {
	text-align: center;
}

.tkp-trial-active {
	color: #1a7a3d;
	font-weight: 500;
}
