/* ==========================================================================
Thistle Health Assessment - Luxury WordPress Plugin Stylesheet
Theme Matching: Deep Forest Green (#142217), Warm Gold (#C5A059), Cream (#F7F5EE)
========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

.thistle-assessment-wrapper {
	--thistle-dark: #142217;
	--thistle-dark-gradient: linear-gradient(135deg, #0e1710 0%, #1a2e20 50%, #121e14 100%);
	--thistle-gold: #C5A059;
	--thistle-gold-hover: #D4AF37;
	--thistle-gold-dark: #9A7737;
	--thistle-gold-light: #F6F0E3;
	--thistle-gold-glow: rgba(197, 160, 89, 0.25);
	--thistle-cream: #F7F5EE;
	--thistle-cream-card: #FAF8F3;
	--thistle-text-dark: #1A241C;
	--thistle-text-muted: #58665B;
	--thistle-text-light: #F7F5EE;
	--thistle-border: rgba(197, 160, 89, 0.3);
	--thistle-border-light: #E5DFC8;
	--thistle-radius-sm: 6px;
	--thistle-radius-md: 12px;
	--thistle-radius-lg: 18px;
	--thistle-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	--thistle-shadow-hover: 0 15px 35px rgba(20, 34, 23, 0.12);
	--thistle-font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--thistle-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

	box-sizing: border-box;
	font-family: var(--thistle-font-body);
	color: var(--thistle-text-dark);
	line-height: 1.6;
	max-width: 960px;
	margin: 20px auto;
	padding: 0;
	background: var(--thistle-cream);
	border-radius: var(--thistle-radius-lg);
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
	border: 1px solid var(--thistle-border);
}

.thistle-assessment-wrapper *,
.thistle-assessment-wrapper *::before,
.thistle-assessment-wrapper *::after {
	box-sizing: inherit;
}

/* ==========================================================================
Header Section (Dark Forest Green with Gold Accent)
========================================================================== */

.thistle-header {
	background: var(--thistle-dark-gradient);
	color: var(--thistle-text-light);
	padding: 48px 40px 40px;
	text-align: center;
	position: relative;
	border-bottom: 2px solid var(--thistle-gold);
}

.thistle-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 3px;
	background: var(--thistle-gold);
}

.thistle-brand-tag {
	font-family: var(--thistle-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--thistle-gold);
	margin-bottom: 12px;
	display: block;
}

.thistle-header h1 {
	font-family: var(--thistle-font-heading);
	font-size: 42px;
	font-weight: 500;
	letter-spacing: -0.5px;
	color: #FFFFFF;
	margin: 0 0 16px 0;
	line-height: 1.2;
}

.thistle-header p.thistle-subtitle {
	font-size: 16px;
	color: rgba(247, 245, 238, 0.85);
	max-width: 680px;
	margin: 0 auto;
	font-weight: 400;
}

/* ==========================================================================
Content Container
========================================================================== */

.thistle-body {
	padding: 40px;
	background: var(--thistle-cream);
}

/* Screen Transitions */
.thistle-screen {
	animation: thistleFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.thistle-screen[hidden] {
	display: none !important;
}

@keyframes thistleFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
Screen Intro
========================================================================== */

.thistle-intro-card {
	background: #FFFFFF;
	border-radius: var(--thistle-radius-md);
	padding: 36px;
	border: 1px solid var(--thistle-border-light);
	box-shadow: var(--thistle-shadow);
	text-align: center;
}

.thistle-intro-card h2 {
	font-family: var(--thistle-font-heading);
	font-size: 32px;
	color: var(--thistle-dark);
	margin-top: 0;
	margin-bottom: 16px;
}

.thistle-intro-card p {
	font-size: 16px;
	color: var(--thistle-text-muted);
	max-width: 620px;
	margin: 0 auto 24px;
}

.thistle-scale-guide {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin: 32px 0;
}

.thistle-scale-item {
	background: var(--thistle-cream-card);
	border: 1px solid var(--thistle-border-light);
	border-radius: var(--thistle-radius-sm);
	padding: 16px 8px;
	text-align: center;
	transition: all 0.2s ease;
}

.thistle-scale-item:hover {
	border-color: var(--thistle-gold);
	transform: translateY(-2px);
}

.thistle-scale-num {
	font-family: var(--thistle-font-heading);
	font-size: 24px;
	font-weight: 700;
	color: var(--thistle-gold-dark);
	display: block;
	margin-bottom: 4px;
}

.thistle-scale-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--thistle-dark);
}

/* ==========================================================================
Navigation Bar & Progress Meter
========================================================================== */

.thistle-nav-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.thistle-back-btn {
	background: transparent;
	border: 1px solid var(--thistle-border);
	color: var(--thistle-dark);
	font-family: var(--thistle-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 8px 18px;
	border-radius: var(--thistle-radius-sm);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.thistle-back-btn:hover {
	background: var(--thistle-dark);
	color: var(--thistle-gold);
	border-color: var(--thistle-dark);
}

.thistle-section-badge {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--thistle-gold-dark);
	background: var(--thistle-gold-light);
	padding: 6px 14px;
	border-radius: 20px;
	border: 1px solid rgba(197, 160, 89, 0.4);
}

.thistle-progress-container {
	margin-bottom: 32px;
	background: #FFFFFF;
	padding: 20px;
	border-radius: var(--thistle-radius-md);
	border: 1px solid var(--thistle-border-light);
	box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.thistle-progress-info {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 600;
	color: var(--thistle-text-muted);
	margin-bottom: 8px;
}

.thistle-progress-track {
	height: 10px;
	background: var(--thistle-cream);
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--thistle-border-light);
}

.thistle-progress-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--thistle-gold-dark) 0%, var(--thistle-gold) 100%);
	border-radius: 5px;
	transition: width 0.4s ease;
}

/* ==========================================================================
Section & Question Cards
========================================================================== */

.thistle-section-header {
	margin-bottom: 28px;
}

.thistle-section-header h2 {
	font-family: var(--thistle-font-heading);
	font-size: 34px;
	font-weight: 600;
	color: var(--thistle-dark);
	margin: 0 0 8px 0;
	position: relative;
	display: inline-block;
}

.thistle-section-header h2::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 40px;
	height: 2px;
	background: var(--thistle-gold);
}

.thistle-section-header p {
	font-size: 15px;
	color: var(--thistle-text-muted);
	margin: 12px 0 0;
}

.thistle-question-card {
	background: #FFFFFF;
	border: 1px solid var(--thistle-border-light);
	border-radius: var(--thistle-radius-md);
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.02);
	transition: all 0.25s ease;
}

.thistle-question-card:hover {
	border-color: var(--thistle-border);
	box-shadow: 0 8px 24px rgba(20, 34, 23, 0.06);
}

.thistle-question-title {
	font-family: var(--thistle-font-heading);
	font-size: 20px;
	font-weight: 600;
	color: var(--thistle-dark);
	margin: 0 0 16px 0;
}

.thistle-options-group {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.thistle-radio-option {
	position: relative;
	cursor: pointer;
	user-select: none;
}

.thistle-radio-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.thistle-radio-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px 6px;
	background: var(--thistle-cream-card);
	border: 1px solid var(--thistle-border-light);
	border-radius: var(--thistle-radius-sm);
	text-align: center;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	min-height: 70px;
}

.thistle-radio-option:hover .thistle-radio-box {
	border-color: var(--thistle-gold);
	background: #FFFFFF;
	transform: translateY(-1px);
}

.thistle-radio-option input[type="radio"]:checked + .thistle-radio-box {
	background: var(--thistle-dark);
	color: #FFFFFF;
	border-color: var(--thistle-dark);
	box-shadow: 0 4px 14px rgba(20, 34, 23, 0.2);
}

.thistle-radio-option input[type="radio"]:focus-visible + .thistle-radio-box {
	outline: 2px solid var(--thistle-gold);
	outline-offset: 2px;
}

.thistle-radio-val {
	font-family: var(--thistle-font-heading);
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 2px;
}

.thistle-radio-option input[type="radio"]:checked + .thistle-radio-box .thistle-radio-val {
	color: var(--thistle-gold);
}

.thistle-radio-text {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: var(--thistle-text-muted);
}

.thistle-radio-option input[type="radio"]:checked + .thistle-radio-box .thistle-radio-text {
	color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.thistle-btn-primary {
	background: var(--thistle-gold);
	color: var(--thistle-dark);
	border: none;
	font-family: var(--thistle-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 16px 36px;
	border-radius: var(--thistle-radius-sm);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: all 0.25s ease;
	box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
	text-decoration: none;
}

.thistle-btn-primary:hover:not(:disabled) {
	background: var(--thistle-gold-hover);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45);
}

.thistle-btn-primary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	box-shadow: none;
}

.thistle-btn-secondary {
	background: transparent;
	color: var(--thistle-dark);
	border: 1px solid var(--thistle-dark);
	font-family: var(--thistle-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: var(--thistle-radius-sm);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
	text-decoration: none;
}

.thistle-btn-secondary:hover {
	background: var(--thistle-dark);
	color: var(--thistle-gold);
}

.thistle-form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 14px;
	margin-top: 32px;
}

/* ==========================================================================
Screen Optional / Contact Form
========================================================================== */

.thistle-field-group {
	margin-bottom: 24px;
}

.thistle-field-group label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: var(--thistle-dark);
	margin-bottom: 8px;
}

.thistle-field-group input[type="text"],
.thistle-field-group input[type="email"],
.thistle-field-group input[type="tel"],
.thistle-field-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--thistle-border-light);
	border-radius: var(--thistle-radius-sm);
	font-family: var(--thistle-font-body);
	font-size: 14px;
	background: #FFFFFF;
	color: var(--thistle-text-dark);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.thistle-field-group input:focus,
.thistle-field-group textarea:focus {
	outline: none;
	border-color: var(--thistle-gold);
	box-shadow: 0 0 0 3px var(--thistle-gold-glow);
}

.thistle-contact-card {
	background: #FFFFFF;
	border: 1px solid var(--thistle-border-light);
	border-radius: var(--thistle-radius-md);
	padding: 32px;
	margin-bottom: 28px;
	box-shadow: var(--thistle-shadow);
}

.thistle-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.thistle-contact-grid .thistle-field-group.full-width {
	grid-column: span 2;
}

/* ==========================================================================
Screen Results (Dashboard & Reports)
========================================================================== */

.thistle-results-hero {
	background: var(--thistle-dark-gradient);
	color: #FFFFFF;
	border-radius: var(--thistle-radius-md);
	padding: 40px;
	text-align: center;
	position: relative;
	border: 1px solid var(--thistle-gold);
	margin-bottom: 32px;
}

.thistle-badge-emoji {
	font-size: 48px;
	display: block;
	margin-bottom: 12px;
}

.thistle-score-number {
	font-family: var(--thistle-font-heading);
	font-size: 56px;
	font-weight: 700;
	color: var(--thistle-gold);
	line-height: 1;
	margin-bottom: 8px;
}

.thistle-score-label {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #FFFFFF;
	margin-bottom: 12px;
}

.thistle-score-summary {
	font-size: 16px;
	color: rgba(255,255,255,0.85);
	max-width: 580px;
	margin: 0 auto;
}

/* Highlights Grid */
.thistle-highlights-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 32px;
}

.thistle-highlight-card {
	background: #FFFFFF;
	border-radius: var(--thistle-radius-md);
	padding: 24px;
	border-left: 4px solid var(--thistle-gold);
	box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.thistle-highlight-card.weakest {
	border-left-color: #C85A32;
}

.thistle-highlight-card.strongest {
	border-left-color: #2D6A4F;
}

.thistle-highlight-card span.tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--thistle-text-muted);
	display: block;
	margin-bottom: 6px;
}

.thistle-highlight-card h4 {
	font-family: var(--thistle-font-heading);
	font-size: 22px;
	color: var(--thistle-dark);
	margin: 0 0 8px 0;
}

.thistle-highlight-card p {
	font-size: 14px;
	color: var(--thistle-text-muted);
	margin: 0;
}

/* Pillars Breakdown */
.thistle-pillars-section {
	background: #FFFFFF;
	border-radius: var(--thistle-radius-md);
	padding: 32px;
	border: 1px solid var(--thistle-border-light);
	box-shadow: var(--thistle-shadow);
	margin-bottom: 32px;
}

.thistle-pillars-section h3 {
	font-family: var(--thistle-font-heading);
	font-size: 26px;
	color: var(--thistle-dark);
	margin-top: 0;
	margin-bottom: 24px;
}

.thistle-pillar-item {
	margin-bottom: 24px;
}

.thistle-pillar-item:last-child {
	margin-bottom: 0;
}

.thistle-pillar-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
}

.thistle-pillar-name {
	font-family: var(--thistle-font-heading);
	font-size: 19px;
	font-weight: 600;
	color: var(--thistle-dark);
}

.thistle-pillar-score-val {
	font-weight: 700;
	font-size: 14px;
	color: var(--thistle-gold-dark);
}

.thistle-pillar-meter {
	height: 8px;
	background: var(--thistle-cream);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 8px;
	border: 1px solid var(--thistle-border-light);
}

.thistle-pillar-bar {
	height: 100%;
	background: var(--thistle-dark);
	border-radius: 4px;
	transition: width 0.6s ease;
}

.thistle-pillar-feedback {
	font-size: 13.5px;
	color: var(--thistle-text-muted);
	margin: 0;
}

/* Strategy Call CTA Banner */
.thistle-cta-banner {
	background: var(--thistle-gold-light);
	border: 1px solid var(--thistle-gold);
	border-radius: var(--thistle-radius-md);
	padding: 32px;
	text-align: center;
	margin-bottom: 32px;
}

.thistle-cta-banner h3 {
	font-family: var(--thistle-font-heading);
	font-size: 28px;
	color: var(--thistle-dark);
	margin: 0 0 10px 0;
}

.thistle-cta-banner p {
	font-size: 15px;
	color: var(--thistle-text-dark);
	max-width: 600px;
	margin: 0 auto 20px;
}

/* ==========================================================================
Responsive Adaptations
========================================================================== */

@media (max-width: 768px) {
	.thistle-header {
		padding: 32px 20px;
	}

	.thistle-header h1 {
		font-size: 30px;
	}

	.thistle-body {
		padding: 24px 16px;
	}

	.thistle-scale-guide {
		grid-template-columns: repeat(1, 1fr);
	}

	.thistle-options-group {
		grid-template-columns: repeat(5, 1fr);
		gap: 4px;
	}

	.thistle-radio-box {
		padding: 8px 2px;
		min-height: 55px;
	}

	.thistle-radio-val {
		font-size: 16px;
	}

	.thistle-radio-text {
		font-size: 9px;
	}

	.thistle-highlights-grid {
		grid-template-columns: 1fr;
	}

	.thistle-contact-grid {
		grid-template-columns: 1fr;
	}

	.thistle-contact-grid .thistle-field-group.full-width {
		grid-column: span 1;
	}
	.thistle-intro-card {
		padding:15px;
	}

}

