/**
 * Registration / membership flow styles (Revision Village–inspired).
 */

/* ---- Pricing cards (membership-subscriptions) ---- */
.rv-pricing-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px 60px;
}

.rv-pricing-page .rv-pricing-intro {
	text-align: center;
	margin-bottom: 32px;
}

.rv-pricing-page .rv-pricing-intro h1 {
	font-size: 2rem;
	color: #0a1c3e;
	margin: 0 0 8px;
}

.rv-pricing-page .rv-pricing-intro p {
	color: #4a5568;
	margin: 0;
}

.rv-pricing-wrapper {
	display: flex;
	gap: 20px;
	align-items: stretch;
	background: #fff;
	font-family: 'Inter', system-ui, sans-serif;
}

.pricing-card {
	flex: 1;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card-header {
	padding: 15px;
	text-align: center;
	font-weight: 700;
	font-size: 14px;
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-content {
	padding: 40px 30px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.tier-free { background-color: #b8c1d1; }
.tier-single { background-color: #b4d9f6; }
.tier-suite { background-color: #f3e4bc; }

.tier-free .card-header { color: #2d3748; }
.tier-single .card-header { color: #2b6cb0; }
.tier-suite .card-header { color: #b7791f; }

.pricing-card h2 {
	font-size: 28px;
	margin: 0 0 20px;
	color: #0a1c3e;
	line-height: 1.2;
}

.price {
	font-size: 48px;
	font-weight: 800;
	color: #0a1c3e;
	margin-bottom: 5px;
}

.price sup { font-size: 20px; top: -0.5em; }
.price small { font-size: 14px; font-weight: 400; color: #2d3748; }
.price-sub { font-size: 14px; color: #4a5568; line-height: 1.5; margin-bottom: 24px; }

.title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.gold-label {
	background: #fbc02d;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	padding: 4px 8px;
	border-radius: 6px;
	text-transform: uppercase;
}

.btn-primary,
.btn-dark,
.qb-btn-primary,
.qb-btn-submit {
	display: block;
	text-align: center;
	padding: 16px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 24px;
	background: #0a1c3e;
	color: #fff !important;
	border: none;
	cursor: pointer;
	width: 100%;
}

.btn-primary:hover,
.btn-dark:hover,
.qb-btn-primary:hover,
.qb-btn-submit:hover {
	opacity: 0.92;
	color: #fff !important;
}

.qb-btn-submit:disabled {
	background: #a0aec0;
	cursor: not-allowed;
	opacity: 1;
}

.qb-btn-text {
	background: none;
	border: none;
	color: #0a1c3e;
	font-weight: 600;
	cursor: pointer;
	padding: 12px 16px;
}

.pricing-card hr {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin: 20px 0;
}

.feature-lead { font-weight: 700; color: #0a1c3e; margin-bottom: 15px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
	margin-bottom: 12px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	color: #0a1c3e;
}

.course-mini-list { font-size: 14px; color: #0a1c3e; }
.course-mini-list p { margin-bottom: 10px; display: flex; gap: 10px; }

@media (max-width: 992px) {
	.rv-pricing-wrapper { flex-direction: column; }
}

/* ---- Course preference modal ---- */
.qb-reg-modal {
	position: fixed;
	inset: 0;
	background: rgba(10, 28, 62, 0.55);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.qb-reg-modal-window {
	background: #fff;
	border-radius: 12px;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.qb-reg-modal .qb-modal-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
	color: #0a1c3e;
}

.qb-reg-modal .qb-modal-header strong {
	flex: 1;
	font-size: 1.15rem;
}

.qb-pref-count {
	background: #0a1c3e;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}

.qb-reg-modal .js-close-reg-modal {
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #718096;
	padding: 0 4px;
}

.qb-reg-modal .qb-modal-body {
	padding: 16px 20px;
	overflow-y: auto;
	flex: 1;
}

.qb-pref-help {
	font-size: 14px;
	color: #4a5568;
	margin: 0 0 16px;
}

.qb-acc-item {
	border-bottom: 1px solid #edf2f7;
}

.qb-acc-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 4px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: #0a1c3e;
	font-size: 15px;
	font-weight: 600;
}

.qb-acc-name { flex: 1; }
.qb-acc-meta { color: #a0aec0; font-weight: 500; font-size: 13px; }
.qb-acc-chevron { color: #a0aec0; transition: transform 0.2s; }
.qb-acc-item.is-open .qb-acc-chevron { transform: rotate(180deg); }

.qb-acc-panel {
	padding: 0 4px 12px 8px;
}

.qb-acc-subgroup-title {
	font-size: 13px;
	font-weight: 700;
	color: #4a5568;
	margin: 8px 0 6px;
}

.qb-course-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 8px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	color: #0a1c3e;
}

.qb-course-option:hover {
	background: #f7fafc;
}

.qb-course-option input {
	accent-color: #0a1c3e;
}

.qb-reg-modal .qb-modal-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 20px;
	border-top: 1px solid #e2e8f0;
	background: #fff;
}

.qb-reg-modal .qb-modal-footer .qb-btn-submit {
	width: auto;
	min-width: 140px;
	margin: 0;
	padding: 12px 28px;
}

/* ---- Dashboard / activation ---- */
.qb-dashboard,
.qb-activation-panel {
	max-width: 720px;
	margin: 40px auto;
	padding: 0 20px 60px;
	color: #0a1c3e;
}

.qb-dashboard-header h1 {
	margin: 0 0 8px;
	font-size: 1.75rem;
}

.qb-dash-level {
	color: #4a5568;
	margin: 0 0 24px;
}

.qb-dash-section {
	margin-bottom: 32px;
	padding: 20px;
	background: #f7fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
}

.qb-dash-section h2 {
	margin: 0 0 12px;
	font-size: 1.15rem;
}

.qb-dash-course-list {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}

.qb-dash-course-list li {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #e2e8f0;
}

.qb-dash-qb-link {
	font-size: 13px;
	font-weight: 600;
}

.qb-dash-alert {
	padding: 14px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.qb-dash-alert p { margin: 0 0 6px; }
.qb-dash-alert p:last-child { margin-bottom: 0; }

.qb-dash-alert-warn { background: #fefcbf; border: 1px solid #f6e05e; }
.qb-dash-alert-error { background: #fed7d7; border: 1px solid #fc8181; }
.qb-dash-alert-info { background: #ebf8ff; border: 1px solid #90cdf4; }

.qb-resend-activation-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.qb-resend-activation-form input[type="email"] {
	width: 100%;
	max-width: 400px;
	padding: 12px;
	border: 1px solid #cbd5e0;
	border-radius: 8px;
	margin-bottom: 12px;
}

.qb-resend-msg {
	margin-top: 10px;
	font-size: 14px;
}

/* ---- PMPro checkout extras ---- */
.qb-radio-inline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 16px;
	font-weight: 500;
}

.qb-checkout-course-list {
	margin: 0;
	padding-left: 18px;
}

.nav-btn-member {
	background: #0a1c3e;
	color: #fff !important;
	padding: 8px 16px !important;
	border-radius: 999px;
	font-weight: 700;
}
