.hpp-pricing-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 30px 0;
}

@media (max-width: 900px) {
	.hpp-pricing-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.hpp-pricing-grid {
		grid-template-columns: 1fr;
	}
}

.hpp-plan-card {
	position: relative;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 28px 22px;
	background: #fff;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
}

.hpp-plan-popular {
	border-color: #2271b1;
	box-shadow: 0 4px 14px rgba(34, 113, 177, 0.18);
	transform: translateY(-4px);
}

.hpp-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: #2271b1;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hpp-plan-name {
	margin: 6px 0 12px;
	font-size: 20px;
}

.hpp-plan-price {
	margin-bottom: 18px;
}

.hpp-plan-price .hpp-amount {
	font-size: 40px;
	font-weight: 700;
}

.hpp-plan-price .hpp-currency,
.hpp-plan-price .hpp-period {
	font-size: 14px;
	color: #666;
}

.hpp-plan-features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	text-align: left;
	flex-grow: 1;
}

.hpp-plan-features li {
	padding: 6px 0;
	border-bottom: 1px solid #f1f1f1;
	font-size: 14px;
}

.hpp-plan-features li::before {
	content: "\2713";
	color: #2ea043;
	margin-right: 8px;
	font-weight: 700;
}

.hpp-btn {
	display: inline-block;
	background: #2271b1;
	color: #fff !important;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	border: none;
	cursor: pointer;
}

.hpp-btn-block {
	width: 100%;
}

.hpp-btn-danger {
	background: #d63638;
	margin-top: 16px;
}

.hpp-notice {
	background: #f6f7f7;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
	margin: 16px 0;
}

.hpp-notice-small {
	font-size: 13px;
	color: #777;
}

.hpp-subscribe-message,
.hpp-dashboard-message {
	margin-top: 14px;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 14px;
}

.hpp-success {
	background: #e7f7ed;
	color: #1a7a3d;
	border: 1px solid #b7e6c6;
}

.hpp-error {
	background: #fdecea;
	color: #a02622;
	border: 1px solid #f3c2be;
}

/* Dashboard */
.hpp-dashboard-card {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 18px;
	background: #fff;
}

.hpp-dashboard-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.hpp-status {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f0f0f0;
}

.hpp-status-active { background: #e7f7ed; color: #1a7a3d; }
.hpp-status-pending { background: #fff8e5; color: #8a6d00; }
.hpp-status-suspended,
.hpp-status-past_due { background: #fff1e0; color: #a15c00; }
.hpp-status-cancelled,
.hpp-status-expired { background: #f0f0f0; color: #666; }

.hpp-dashboard-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 10px;
}

.hpp-dashboard-table th {
	text-align: left;
	color: #666;
	font-weight: 600;
	padding: 6px 8px 6px 0;
	width: 40%;
	font-size: 13px;
}

.hpp-dashboard-table td {
	padding: 6px 0;
	font-size: 13px;
}

.hpp-payment-history {
	margin-top: 10px;
	font-size: 13px;
}
