.wpc-credit-breakdown {
	margin: 1.25em 0;
	padding: 1em 1.15em;
	border: 1px solid #e5e5e5;
	background: #fff;
}

.wpc-credit-breakdown__title {
	margin: 0 0 0.5em;
	font-size: 1.05em;
}

.wpc-credit-breakdown__intro,
.wpc-credit-breakdown__note {
	margin: 0 0 0.75em;
	font-size: 0.92em;
}

.wpc-credit-breakdown__note {
	color: #515151;
}

.wpc-credit-breakdown__table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.wpc-credit-breakdown__table th,
.wpc-credit-breakdown__table td {
	padding: 0.55em 0.65em;
	border-bottom: 1px solid #eee;
	text-align: start;
}

.wpc-credit-breakdown__table thead th {
	font-size: 0.85em;
	color: #50575e;
}

.wpc-credit-breakdown-host:empty {
	display: none;
}

.wpc-credit-breakdown-row:has(.wpc-credit-breakdown-host:empty) {
	display: none;
}

.wpc-login-notice {
	margin: 0 0 1em;
	padding: 0.75em 1em;
	border: 1px solid #d63638;
	color: #6e1e1e;
	background: #fcf0f1;
}

.wpc-account-credits {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.wpc-account-credit {
	padding: 1.15em;
	border: 1px solid #e5e5e5;
	background: #fff;
}

.wpc-account-credit__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75em;
	margin-bottom: 0.75em;
}

.wpc-account-credit__code {
	margin: 0;
	font-size: 1.1em;
}

.wpc-account-credit__meta {
	display: flex;
	gap: 0.4em;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpc-account-credit__badge {
	padding: 0.15em 0.55em;
	border: 1px solid #dcdcde;
	font-size: 0.8em;
}

.wpc-account-credit__badge--owned {
	border-color: #00a32a;
	color: #00a32a;
}

.wpc-account-credit__badge--expired {
	border-color: #d63638;
	color: #d63638;
}

.wpc-account-credit__intro,
.wpc-account-credit__note,
.wpc-account-empty {
	margin: 0 0 0.75em;
}

.wpc-account-credit__orders-title {
	margin: 1em 0 0.5em;
	font-size: 1em;
}

@media (max-width: 768px) {
	.wpc-credit-breakdown__table thead {
		display: none;
	}

	.wpc-credit-breakdown__table tr {
		display: block;
		margin-bottom: 1em;
		border-bottom: 1px solid #ddd;
	}

	.wpc-credit-breakdown__table td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		border: 0;
	}

	.wpc-credit-breakdown__table td::before {
		content: attr(data-title);
		font-weight: 600;
	}
}
