.ptb-wrap {
	max-width: 900px;
	margin: 0 auto;
	font-family: inherit;
}

.ptb-empty {
	padding: 1em;
	background: #f6f7f7;
	border-radius: 6px;
	color: #555;
}

.ptb-balance {
	font-weight: 600;
	margin-bottom: 1em;
	padding: 0.6em 1em;
	background: #eef6ff;
	border-radius: 6px;
	display: inline-block;
}

.ptb-class-list,
.ptb-package-list {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
}

.ptb-package-list {
	flex-direction: row;
	flex-wrap: wrap;
}

.ptb-class-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	background: #fff;
	border: 1px solid #e2e4e7;
	border-left: 5px solid #2271b1;
	border-radius: 8px;
	padding: 1em 1.25em;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.ptb-class-title {
	margin: 0 0 0.2em;
	font-size: 1.1em;
}

.ptb-class-meta {
	margin: 0 0 0.3em;
	color: #555;
	font-size: 0.9em;
}

.ptb-class-desc {
	margin: 0 0 0.3em;
	color: #333;
	font-size: 0.92em;
}

.ptb-class-spaces {
	margin: 0;
	font-size: 0.88em;
	font-weight: 600;
	color: #2271b1;
}

.ptb-class-spaces.ptb-full {
	color: #cc1818;
}

.ptb-class-action {
	flex-shrink: 0;
}

.ptb-btn {
	display: inline-block;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0.6em 1.2em;
	font-size: 0.95em;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease;
}

.ptb-btn:hover {
	background: #185a8b;
	color: #fff;
}

.ptb-btn-secondary {
	background: #f0f0f1;
	color: #333;
}

.ptb-btn-secondary:hover {
	background: #dcdcde;
	color: #333;
}

.ptb-btn-disabled {
	background: #e2e4e7;
	color: #888;
	cursor: default;
	pointer-events: none;
}

.ptb-package-card {
	flex: 1 1 200px;
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	padding: 1.25em;
	text-align: center;
}

.ptb-package-title {
	margin: 0 0 0.3em;
}

.ptb-package-credits {
	font-weight: 600;
	color: #2271b1;
	margin: 0 0 0.4em;
}

.ptb-package-price {
	font-size: 1.4em;
	font-weight: 700;
	margin: 0;
}

.ptb-package-per-credit {
	color: #777;
	font-size: 0.85em;
	margin: 0 0 0.8em;
}

.ptb-payment-instructions {
	margin-top: 1.2em;
	padding: 1em;
	background: #fff8e5;
	border: 1px solid #f0dfa0;
	border-radius: 6px;
	font-size: 0.9em;
}

.ptb-message {
	margin: 0.75em 0;
	padding: 0.6em 1em;
	border-radius: 6px;
	font-size: 0.9em;
}

.ptb-message-success {
	background: #eafbe7;
	color: #1a6b1a;
	border: 1px solid #b7e6b3;
}

.ptb-message-error {
	background: #fdeaea;
	color: #a91b1b;
	border: 1px solid #f3b8b8;
}

@media (max-width: 600px) {
	.ptb-class-card {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Registration form — deliberately plain so it's easy to restyle. */
.ptb-register-form {
	max-width: 420px;
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.ptb-field {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35em;
}

.ptb-field label {
	font-weight: 600;
	font-size: 0.92em;
}

.ptb-field input[type="text"],
.ptb-field input[type="email"],
.ptb-field input[type="password"] {
	padding: 0.6em 0.75em;
	border: 1px solid #ccd0d4;
	border-radius: 6px;
	font-size: 1em;
}

.ptb-field-submit {
	margin-top: 0.5em;
}

.ptb-field-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ptb-register-login-link {
	margin-top: 1em;
	font-size: 0.92em;
}
