/* SST Self-Enrollment public form */

.sst-enroll-wrap {
	max-width: 560px;
	margin: 30px auto;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 12px;
	padding: 28px 30px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.06);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1d2327;
}

.sst-enroll-title {
	margin: 0 0 20px;
	font-size: 24px;
	color: #1a3c6e;
	text-align: center;
}

.sst-enroll-loggedin {
	background: #eef7ee;
	border: 1px solid #c8e6c9;
	color: #1e5b1e;
	padding: 12px 14px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.4;
}

.sst-enroll-form { display: block; }

.sst-field { margin-bottom: 16px; }
.sst-field label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: #1d2327;
	margin-bottom: 6px;
}
.sst-field input,
.sst-field select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	background: #fff;
	color: #1d2327;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sst-field input:focus,
.sst-field select:focus {
	outline: none;
	border-color: #1a3c6e;
	box-shadow: 0 0 0 3px rgba(26,60,110,0.12);
}
.sst-field small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #6b7280;
}

.sst-amount-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f7f8fa;
	border: 1px solid #e3e6ea;
	border-radius: 8px;
	padding: 14px 18px;
	margin: 22px 0 18px;
}
.sst-amount-label {
	font-size: 14px;
	color: #4b5563;
	font-weight: 600;
}
.sst-amount-value {
	font-size: 22px;
	font-weight: 800;
	color: #1a3c6e;
}

.sst-pay-btn {
	width: 100%;
	padding: 14px 20px;
	background: #1a3c6e;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.05s ease;
	font-family: inherit;
}
.sst-pay-btn:hover:not(:disabled) {
	background: #12305a;
}
.sst-pay-btn:active:not(:disabled) {
	transform: translateY(1px);
}
.sst-pay-btn:disabled {
	background: #9ca3af;
	cursor: not-allowed;
}

.sst-enroll-error {
	margin-top: 14px;
	padding: 12px 14px;
	background: #fef6f6;
	border: 1px solid #f0c1c1;
	border-left: 4px solid #b32d2e;
	color: #7a1e1e;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.4;
}
.sst-enroll-error a { color: #7a1e1e; font-weight: 700; }

.sst-enroll-success {
	margin-top: 14px;
	padding: 12px 14px;
	background: #eef7ee;
	border: 1px solid #c8e6c9;
	border-left: 4px solid #1e5b1e;
	color: #1e5b1e;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.sst-enroll-help {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px dashed #e3e6ea;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.6;
}
.sst-enroll-help strong { color: #1a3c6e; }
.sst-enroll-help a { color: #1a3c6e; font-weight: 600; }
.sst-enroll-help em { color: #4b5563; }

.sst-enroll-msg {
	max-width: 560px;
	margin: 30px auto;
	background: #f7f8fa;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	padding: 24px;
	text-align: center;
	color: #4b5563;
	font-size: 15px;
}

@media (max-width: 600px) {
	.sst-enroll-wrap {
		padding: 20px 18px;
		margin: 16px 10px;
		border-radius: 10px;
	}
	.sst-enroll-title { font-size: 20px; }
	.sst-amount-value { font-size: 20px; }
	.sst-pay-btn { padding: 13px 16px; font-size: 15px; }
}

/* Selected course confirmation (shown below dropdown once picked) */
.sst-course-selected {
	margin: -8px 0 16px;
	padding: 10px 14px;
	background: #eef7ee;
	border: 1px solid #c8e6c9;
	border-radius: 6px;
	animation: sst-fade-in 0.2s ease;
}
.sst-course-title {
	color: #1e5b1e;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.4;
}
@keyframes sst-fade-in {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Make sure dropdown options render with adequate padding on all browsers */
.sst-field select option { padding: 6px 8px; font-size: 15px; }

/* ============================================================
   [sst_course_landing] — full marketing landing page
   ============================================================ */

.sst-landing {
	max-width: 900px;
	margin: 30px auto;
	color: #1d2327;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--sst-brand: #1a3c6e;
}

/* Hero */
.sst-landing-hero {
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 14px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0,0,0,0.06);
	display: grid;
	grid-template-columns: minmax(0, 380px) 1fr;
	gap: 0;
}
.sst-landing-thumb { line-height: 0; background: #f7f8fa; }
.sst-landing-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sst-landing-hero-body { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.sst-landing-title {
	color: var(--sst-brand);
	font-size: 28px; line-height: 1.2;
	margin: 0 0 12px;
	font-weight: 800;
}
.sst-landing-tagline {
	font-size: 16px; color: #4b5563; line-height: 1.5;
	margin: 0 0 20px;
}

.sst-landing-price-row {
	display: flex; align-items: center; gap: 16px;
	flex-wrap: wrap; margin-top: 8px;
}
.sst-landing-price {
	font-size: 30px; font-weight: 800; color: var(--sst-brand);
}
.sst-landing-price-big { font-size: 42px; margin: 8px 0 16px; }

.sst-landing-cta {
	display: inline-block;
	background: var(--sst-brand);
	color: #fff !important;
	padding: 14px 28px;
	border-radius: 10px;
	font-size: 16px; font-weight: 800;
	text-decoration: none !important;
	transition: transform .1s ease, box-shadow .15s ease;
	box-shadow: 0 3px 10px rgba(26,60,110,0.25);
}
.sst-landing-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 14px rgba(26,60,110,0.35);
	color: #fff !important;
}
.sst-landing-cta-big { padding: 18px 36px; font-size: 18px; }

.sst-landing-hero-note {
	margin: 12px 0 0; font-size: 13px; color: #6b7280;
}
.sst-landing-unavail {
	color: #7a1e1e; background: #fef6f6;
	border: 1px solid #f0c1c1; border-radius: 6px;
	padding: 10px 14px; font-size: 14px; margin: 12px 0 0;
}

/* Sections */
.sst-landing-section {
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 14px;
	padding: 28px 30px;
	margin-top: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.sst-landing-h2 {
	color: var(--sst-brand);
	font-size: 22px;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #eef3f9;
}
.sst-landing-content { font-size: 15px; line-height: 1.7; color: #1d2327; }
.sst-landing-content p { margin: 0 0 14px; }
.sst-landing-content ul, .sst-landing-content ol { margin: 0 0 14px 20px; }
.sst-landing-content li { margin-bottom: 6px; }
.sst-landing-content h1,.sst-landing-content h2,.sst-landing-content h3,.sst-landing-content h4 {
	color: var(--sst-brand); margin: 20px 0 10px;
}
.sst-landing-content img { max-width: 100%; height: auto; border-radius: 8px; }

/* Curriculum */
.sst-landing-curriculum { display: flex; flex-direction: column; gap: 10px; }
.sst-landing-topic {
	background: #f7f8fa;
	border: 1px solid #e3e6ea;
	border-radius: 8px;
	padding: 0;
}
.sst-landing-topic-head {
	list-style: none;
	padding: 14px 18px;
	cursor: pointer;
	font-weight: 700;
	color: #1d2327;
	display: flex; justify-content: space-between; align-items: center;
	gap: 12px;
}
.sst-landing-topic-head::-webkit-details-marker { display: none; }
.sst-landing-topic-title { font-size: 15px; }
.sst-landing-topic-count {
	background: #dbeafe; color: #1e40af;
	padding: 3px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 700; white-space: nowrap;
}
.sst-landing-lessons {
	list-style: none;
	padding: 0 18px 14px 42px;
	margin: 0;
}
.sst-landing-lessons li {
	padding: 6px 0;
	color: #4b5563;
	font-size: 14px;
	border-bottom: 1px dashed #e3e6ea;
}
.sst-landing-lessons li:last-child { border-bottom: none; }
.sst-landing-locknote {
	margin: 14px 0 0; font-size: 13px; color: #6b7280;
	background: #fef6e7; border: 1px solid #fde3b3;
	padding: 10px 14px; border-radius: 6px;
}

/* Bottom CTA */
.sst-landing-cta-bottom {
	background: linear-gradient(135deg, var(--sst-brand) 0%, #12305a 100%);
	color: #fff;
	border-radius: 14px;
	padding: 36px 30px;
	margin-top: 20px;
	text-align: center;
}
.sst-landing-cta-bottom .sst-landing-h2 {
	color: #fff; border-bottom-color: rgba(255,255,255,0.2);
}
.sst-landing-cta-bottom .sst-landing-price { color: #fff; }
.sst-landing-cta-bottom .sst-landing-cta {
	background: #fff;
	color: var(--sst-brand) !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.sst-landing-cta-bottom .sst-landing-hero-note { color: rgba(255,255,255,0.85); }

/* Pre-select banner on enroll page */
.sst-preselect-banner {
	background: #fef6e7;
	border: 1px solid #f4c98a;
	border-left: 4px solid #f59e0b;
	color: #7c4a03;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.5;
}

/* Mobile */
@media (max-width: 700px) {
	.sst-landing-hero { grid-template-columns: 1fr; }
	.sst-landing-thumb img { height: 200px; }
	.sst-landing-hero-body { padding: 20px 22px; }
	.sst-landing-title { font-size: 22px; }
	.sst-landing-section { padding: 20px 22px; }
	.sst-landing-h2 { font-size: 18px; }
	.sst-landing-price { font-size: 26px; }
	.sst-landing-price-big { font-size: 34px; }
	.sst-landing-cta { padding: 12px 22px; font-size: 15px; }
	.sst-landing-cta-big { padding: 16px 28px; font-size: 16px; }
	.sst-landing-cta-bottom { padding: 28px 20px; }
}
