* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.header {
	background: #0D1C2E;  /* Solid color instead of gradient */
	color: white;
	padding: 30px;
	text-align: center;
}

.header h1 {
	font-size: 1.5em;        /* Reduced from 2.0em */
	margin: 0px;      /* Reduced from 10px */
	font-weight: 600;
}

.header p {
	font-size: 1.0em;
	opacity: 0.9;
	margin-top: 0;           /* Remove any top margin */
}

.header-content {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: center;
}

.header-logo {
	height: 50px;
	width: auto;
	flex-shrink: 0;
}

.header-text {
	text-align: left;
}

/* Mobile adjustments */
@media (max-width: 600px) {
	.header-content {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
	
	.header-logo {
		height: 40px;
	}
	
	.header-text {
		text-align: center;
	}
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	background: linear-gradient(135deg, #1e3a5f 0%, #0f1f35 100%);
	min-height: 100vh;
	padding: 20px;
}

/* Link styling to match page design */
a {
	color: #2c5aa0;           /* Your main blue color */
	text-decoration: none;    /* Remove underline */
	transition: color 0.1s ease;
}

a:hover {
	color: #87ceeb;           /* Much lighter blue on hover */
}

a:visited {
	color: #2c5aa0;           /* Keep same color for visited links */
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	background: #d0dbe6;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
	overflow: hidden;
}

.container.container-narrow {
	max-width: 600px;
}

.footer-link {
	text-align: center;
	margin-top: 0px;
	margin-bottom: 30px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.footer-link a {
	color: #999;
	text-decoration: none;
	font-size: 0.75em;
	transition: color 0.3s;
}

.footer-link a:hover {
	color: #00b4d8;
}

.survey-content {
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 30px;
}

.question {
	margin-bottom: 10px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	transition: all 0.3s ease;
	overflow: hidden;
	padding: 10px 12px;
	background: #f5f7f9;
}

.question.unanswered-highlight {
	border: 2px solid #dc3545;
	background: #fff5f5;
	box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.question-text-wrapper {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 8px;
}

.question-number {
	width: 20px;
	text-align: right;
	flex-shrink: 0;
	font-weight: 500;
	color: #1e3a5f;
}

.question-content {
	font-size: 1.0em;
	font-weight: 500;
	color: #1e3a5f;
	line-height: 1.4;
}

.question:hover {
	border-color: #2c5aa0;
	box-shadow: 0 2px 8px rgba(44, 90, 160, 0.1);
}

.question-text {
	font-size: 1.0em;
	font-weight: 500;
	padding: 8px 12px;
	color: #1e3a5f;
	background: #c050d3;
	margin: 0;
	border-bottom: 1px solid #e0e0e0;
}

.rating-scale {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap; /* Don't wrap on desktop */
	gap: 2px;
	padding: 3px;
	background: #e2e8f2;
	border-radius: 6px;
}

.rating-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 4px 2px;
	border-radius: 4px;
	min-width: 80px;
	background: transparent;
	border: none;
	flex: 1; /* Distribute evenly on desktop */
	max-width: none; /* No max width on desktop */
}

.rating-option:hover {
	background-color: rgba(44, 90, 160, 0.1);
	transform: translateY(-1px);
}

.rating-option input[type="radio"] {
	margin-bottom: 8px;
	transform: scale(1.3);
	accent-color: #2c5aa0;
}

.rating-label {
	font-size: 0.9em;
	text-align: center;
	color: #666;
	font-weight: 500;
	line-height: 1.2;
}

/* Legend/scale labels with proper hanging indent */
.scale-legend {
	margin-bottom: 0px;
	margin-left: 5px;
	padding: 0 10px;
	font-size: 0.9em;
	color: #666;
	line-height: 1.4;
}

.legend-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 6px;
	line-height: 1.3;
}

.legend-item .legend-label {
	font-weight: 600;
	color: #1e3a5f;
	flex-shrink: 0;           /* Don't let it shrink */
	width: 6em;            /* Fixed width for alignment */
	margin-right: 0.5em;     /* Small gap between label and text */
}

.legend-item .legend-text {
	flex: 1;                 /* Takes remaining space */
	line-height: 1.3;
}


/* Portrait orientation alert - ONLY show on small screens in portrait */
.orientation-alert {
	display: none;
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	color: #856404;
	padding: 15px;
	margin: 10px 0;
	border-radius: 4px;
	text-align: center;
	font-size: 0.9em;
}

.orientation-alert .icon {
	font-size: 1.2em;
	margin-right: 8px;
}

.submit-section {
	text-align: center;
	margin-top: 30px;
	padding-top: 25px;
	border-top: 1px solid #e0e0e0;
}

.submit-btn {
	background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
	color: white;
	border: none;
	padding: 12px 30px;
	font-size: 1.0em;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 3px 10px rgba(44, 90, 160, 0.3);
}

.submit-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
}

.submit-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.results {
	display: none;
	padding: 25px;
	background: linear-gradient(135deg, #f0f4f8 0%, #e8f2f7 100%);
	margin-top: 25px;
	border-radius: 4px;
}

.results h2 {
	color: #1e3a5f;
	margin-bottom: 20px;
	font-size: 1.5em;
}

.diagnosis-section {
	background: white;
	padding: 20px;
	border-radius: 4px;
	margin-bottom: 20px;
	border-left: 4px solid #2c5aa0;
	border: 1px solid #e0e0e0;
}

.diagnosis-section h3 {
	color: #1e3a5f;
	font-size: 1.1em;
	font-weight: 600;
	margin-top: 16px;
	margin-bottom: 0px;
}

.diagnosis-section h3:first-child {
	margin-top: 0;
}

.diagnosis-type {
	font-weight: 600;
	color: #2c5aa0;
}

.diagnosis-description {
	font-style: italic;
	color: #666;
	font-size: 1.0em;
	line-height: 1.3;
	margin-bottom: 8px;
	margin-left: 20px;
}

.action-content {
	color: #333;
	line-height: 1.4;
	font-size: 1.05em;
	margin-left: 20px;
}

.diagnosis-section p {
	color: #666;
	line-height: 1.4;
	margin-left: 20px;
}

.diagnosis-section a {
	color: #2c5aa0;
	text-decoration: none;
	font-weight: 600;
}

.diagnosis-section a:hover {
	text-decoration: underline;
}

.score-bars {
	display: flex;
	flex-direction: column;
	gap: 0px;
	margin: 0 0 15px 20px;
	padding: 0;
	line-height: 0;
	overflow: hidden;
}

.score-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 2px 0;
	margin: 0;
	height: 16px;
	vertical-align: top;
}

.score-label {
	width: 70px;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	line-height: 16px;
	background: white;
}

.score-name {
	font-weight: 500;
	font-size: 0.9em;
	color: #1e3a5f;
	margin: 0;
	padding: 0;
}

.score-bar-container {
	height: 16px;
	background: #f3f4f6;
	border-radius: 2px;
	overflow: hidden;
	flex-grow: 1;
	border: 1px solid #e5e7eb;
	position: relative;
	margin: 0;
	padding: 0;
	vertical-align: top;
}

.score-bar-container::before,
.score-bar-container::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(30, 58, 95, 0.3);
	z-index: 2;
}

.score-bar-container::before {
	left: 33.33%;
}

.score-bar-container::after {
	left: 66.67%;
}

.score-bar-fill {
	height: 16px;
	border-radius: 1px;
	position: relative;
	display: block;
	width: 0%;
	transition: width 0.6s ease-out;
	z-index: 1;
	margin: 0;
	padding: 0;
}

.clarity-bar {
	background: #6e02e9;
}

.unity-bar {
	background: #22c55e;
}

.capacity-bar {
	background: #3b82f6;
}

/* ===========================================
   GATEKEEPER STYLES
   =========================================== */

.gatekeeper {
	padding: 30px;
	padding-bottom: 10px;
	text-align: center;
}

.gatekeeper h2 {
	color: #1e3a5f;
	margin-bottom: 20px;
}

.gatekeeper p {
	color: #666;
	margin-bottom: 25px;
	line-height: 1.6;
}

.gatekeeper input[type="text"],
.gatekeeper input[type="email"] {
	width: 100%;
	padding: 12px;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	font-size: 16px;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.gatekeeper input:focus {
	border-color: #2c5aa0;
	outline: none;
}

.gatekeeper button {
	background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
	color: white;
	border: none;
	padding: 12px 30px;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.gatekeeper button:hover {
	transform: translateY(-1px);
	box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
}

.error {
	color: #d32f2f;
	margin-bottom: 15px;
	font-weight: 500;
}

/* ===========================================
   ASSESSMENT INTRO STYLES
   =========================================== */

.assessment-intro {
	margin: 30px auto;
	margin-top: 0px;
	padding: 20px 20px;
	max-width: 1000px;
	background: #e8e9ea;
	border-radius: 8px;
	border-left: 4px solid #2c5aa0;
}

.assessment-intro strong {
	color: #1e3a5f;
	font-weight: 600;
}

/* ===========================================
   FRAMEWORK QUESTION (QUESTION 0) STYLES
   =========================================== */

.framework-question {
	margin-bottom: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	padding: 15px;
	background: #f5f7f9;
	border-left: 4px solid #2c5aa0;
}

.framework-question .framework-label {
	font-size: 1.0em;
	font-weight: 600;
	color: #1e3a5f;
	margin-bottom: 0px;
	line-height: 1.4;
}

.framework-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	gap: 2px;
	padding: 3px;
	background: #e2e8f2;
	border-radius: 6px;
}

.framework-options label {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 8px 4px;
	border-radius: 4px;
	min-width: 80px;
	background: transparent;
	border: none;
	flex: 1;
	max-width: none;
}

.framework-options label:hover {
	background-color: rgba(44, 90, 160, 0.1);
}

.framework-options input[type="radio"] {
	margin-bottom: 8px;
	transform: scale(1.3);
	accent-color: #2c5aa0;
}

.framework-options label span {
	font-size: 0.9em;
	text-align: center;
	color: #666;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.framework-options input[type="radio"]:checked + span {
	color: #2c5aa0;
	font-weight: 600;
}

/* Section divider between Q0 and Q1-15 */
.section-divider {
	margin: 25px 0;
	border: none;
	border-top: 2px solid #999;
}

/* ===========================================
   RESULTS DISCLAIMER
   =========================================== */

.results-disclaimer {
	font-style: italic;
	color: #666;
	font-size: 0.9em;
	margin-bottom: 20px;
	padding: 10px 15px;
	background: #f9f9f9;
	border-radius: 4px;
}

/* ===========================================
   INSIGHT SECTION
   =========================================== */

.insight-section {
	margin: 15px 0 15px 20px;
	padding: 0 15px 15px 15px;
	background: #f0f4f8;
	border-left: 3px solid #2c5aa0;
	border-radius: 0 4px 4px 0;
}

.insight-section h3 {
	color: #1e3a5f;
	margin: 0;
	padding-top: 15px;
	padding-bottom: 0px;
	font-size: 1.0em;
}

.insight-section p,
.insight-section .insight-content {
	color: #555;
	font-size: 0.95em;
	line-height: 1.5;
	margin: 0;
}

/* ===========================================
   TEAM MEMBER THANK YOU
   =========================================== */

.team-member-thanks {
	text-align: center;
	padding: 30px;
	background: #f0f7ff;
	border-radius: 8px;
	margin-top: 20px;
}

.team-member-thanks h3 {
	color: #1e3a5f;
	margin-bottom: 15px;
}

.team-member-thanks p {
	color: #666;
	line-height: 1.6;
}

/* ===========================================
   RECALCULATE SECTION (after results)
   =========================================== */

.recalculate-section {
	margin-top: 30px;
	padding-top: 25px;
}

.recalculate-section h3 {
	color: #1e3a5f;
	margin-bottom: 15px;
	font-size: 1.1em;
}

.recalculate-section .scale-legend {
	margin-bottom: 20px;
}

/* ===========================================
   MOBILE RESPONSIVE - FRAMEWORK QUESTION
   =========================================== */

@media (max-width: 600px) {
	.framework-options {
		flex-direction: column;
		gap: 2px;
		padding: 8px;
	}
	
	.framework-options label {
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
		padding: 10px 8px;
		min-width: 0;
		flex-direction: row;
		justify-content: flex-start;
		gap: 15px;
	}
	
	.framework-options input[type="radio"] {
		margin-bottom: 0;
		transform: scale(1.5);
		flex-shrink: 0;
	}
	
	.framework-options label span {
		font-size: 1.0em;
		text-align: left;
		font-weight: 500;
	}
}

/* Tablet styles - only for actual tablets */
@media (max-width: 900px) and (min-width: 769px) {
	body {
		padding: 15px;
	}
	
	.header {
		padding: 25px;
	}
	
	.survey-content {
		padding: 25px;
	}
}

/* Mobile styles - only for phones */
@media (max-width: 768px) {
	body {
		padding: 10px;
	}
	
	.header {
		padding: 20px;
	}
	
	.header h1 {
		font-size: 1.4em;
	}
	
	.survey-content {
		padding: 20px;
	}
	
	.question {
		padding: 12px;
		margin-bottom: 12px;
	}
	
	.question-text-wrapper {
		margin-bottom: 12px;
	}
	
	.question-content {
		font-size: 1.0em;
		line-height: 1.5;
	}
	
	.submit-btn {
		padding: 15px 25px;
		font-size: 1.1em;
		width: 100%;
		max-width: 300px;
	}
	
	.wizard-nav {
		flex-direction: column;
		gap: 10px;
	}
	
	.wizard-nav-spacer {
		display: none;
	}
	
	.wizard-btn {
		width: 100%;
		max-width: 300px;
	}
}

/* Mobile portrait - vertical radio buttons only on small screens */
@media (max-width: 600px) {
	.rating-scale {
		flex-direction: column;
		gap: 2px;
		padding: 8px;
		background: #f0f0f0;
	}
	
	.rating-option {
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
		padding: 10px 8px;
		min-width: 0;
		flex-direction: row;
		justify-content: flex-start;
		gap: 15px;
	}
	
	.rating-option input[type="radio"] {
		margin-bottom: 0;
		transform: scale(1.5);
		flex-shrink: 0;
	}
	
	.rating-label {
		font-size: 1.0em;
		text-align: left;
		font-weight: 500;
	}
}

/* Portrait phone specific - ONLY small screens in portrait */
@media (max-width: 600px) and (orientation: portrait) {
	.orientation-alert {
		display: block;
	}
	
	.question {
		padding: 12px;
	}
	
	.rating-option {
		padding: 12px 10px;
	}
}

/* Landscape phone styles - ONLY for mobile phones in landscape */
@media (max-width: 600px) and (orientation: landscape) {
	.orientation-alert {
		display: none;
	}
	
	.rating-scale {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
		justify-content: center;
	}
	
	.rating-option {
		width: auto;
		min-width: 90px;
		flex-direction: column;
		padding: 10px 8px;
	}
	
	.rating-option input[type="radio"] {
		margin-bottom: 8px;
		transform: scale(1.3);
	}
	
	.rating-label {
		font-size: 0.85em;
		text-align: center;
	}
}

/* Very small screens */
@media (max-width: 360px) {
	.container {
		margin: 0;
		border-radius: 0;
	}
	
	.question-number {
		width: 18px;
	}
	
	.question-content {
		font-size: 0.95em;
	}
}: 2px;
	padding: 3px;
	background: #e2e8f2;
	border-radius: 6px;
}

.framework-options label {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 8px 4px;
	border-radius: 4px;
	min-width: 80px;
	background: transparent;
	border: none;
	flex: 1;
	max-width: none;
}

.framework-options label:hover {
	background-color: rgba(44, 90, 160, 0.1);
}

.framework-options input[type="radio"] {
	margin-bottom: 8px;
	transform: scale(1.3);
	accent-color: #2c5aa0;
}

.framework-options label span {
	font-size: 0.9em;
	text-align: center;
	color: #666;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowwwrap;
}

.framework-options input[type="radio"]:checked + span {
	color: #2c5aa0;
	font-weight: 600;
}

/* Section divider between Q0 and Q1-15 */
.section-divider {
	margin: 25px 0;
	border: none;
	border-top: 2px solid #999;
}

/* ===========================================
   RESULTS DISCLAIMER
   =========================================== */

.results-disclaimer {
	font-style: italic;
	color: #666;
	font-size: 0.9em;
	margin-bottom: 20px;
	padding: 10px 15px;
	background: #f9f9f9;
	border-radius: 4px;
}

/* ===========================================
   TEAM MEMBER THANK YOU
   =========================================== */

.team-member-thanks {
	text-align: center;
	padding: 30px;
	background: #f0f7ff;
	border-radius: 8px;
	margin-top: 20px;
}

.team-member-thanks h3 {
	color: #1e3a5f;
	margin-bottom: 15px;
}

.team-member-thanks p {
	color: #666;
	line-height: 1.6;
}

/* ===========================================
   RECALCULATE SECTION (after results)
   =========================================== */

.recalculate-section {
	margin-top: 30px;
	padding-top: 25px;
	border-top: 2px solid #ccc;
}

.recalculate-section h3 {
	color: #1e3a5f;
	margin-bottom: 15px;
	font-size: 1.1em;
}

.recalculate-section .scale-legend {
	margin-bottom: 20px;
}

/* ===========================================
   MOBILE RESPONSIVE - FRAMEWORK QUESTION
   =========================================== */

@media (max-width: 600px) {
	.framework-options {
		flex-direction: column;
		gap: 2px;
		padding: 8px;
	}
	
	.framework-options label {
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
		padding: 10px 8px;
		min-width: 0;
		flex-direction: row;
		justify-content: flex-start;
		gap: 15px;
	}
	
	.framework-options input[type="radio"] {
		margin-bottom: 0;
		transform: scale(1.5);
		flex-shrink: 0;
	}
	
	.framework-options label span {
		font-size: 1.0em;
		text-align: left;
		font-weight: 500;
	}
}

/* Tablet styles - only for actual tablets */
@media (max-width: 900px) and (min-width: 769px) {
	body {
		padding: 15px;
	}
	
	.header {
		padding: 25px;
	}
	
	.survey-content {
		padding: 25px;
	}
}

/* Mobile styles - only for phones */
@media (max-width: 768px) {
	body {
		padding: 10px;
	}
	
	.header {
		padding: 20px;
	}
	
	.header h1 {
		font-size: 1.4em;
	}
	
	.survey-content {
		padding: 20px;
	}
	
	.question {
		padding: 12px;
		margin-bottom: 12px;
	}
	
	.question-text-wrapper {
		margin-bottom: 12px;
	}
	
	.question-content {
		font-size: 1.0em;
		line-height: 1.5;
	}
	
	.submit-btn {
		padding: 15px 25px;
		font-size: 1.1em;
		width: 100%;
		max-width: 300px;
	}
}

/* Mobile portrait - vertical radio buttons only on small screens */
@media (max-width: 600px) {
	.rating-scale {
		flex-direction: column;
		gap: 2px;
		padding: 8px;
		background: #f0f0f0;
	}
	
	.rating-option {
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
		padding: 10px 8px;
		min-width: 0;
		flex-direction: row;
		justify-content: flex-start;
		gap: 15px;
	}
	
	.rating-option input[type="radio"] {
		margin-bottom: 0;
		transform: scale(1.5);
		flex-shrink: 0;
	}
	
	.rating-label {
		font-size: 1.0em;
		text-align: left;
		font-weight: 500;
	}
}

/* Portrait phone specific - ONLY small screens in portrait */
@media (max-width: 600px) and (orientation: portrait) {
	.orientation-alert {
		display: block;
	}
	
	.question {
		padding: 12px;
	}
	
	.rating-option {
		padding: 12px 10px;
	}
}

/* Landscape phone styles - ONLY for mobile phones in landscape */
@media (max-width: 600px) and (orientation: landscape) {
	.orientation-alert {
		display: none;
	}
	
	.rating-scale {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
		justify-content: center;
	}
	
	.rating-option {
		width: auto;
		min-width: 90px;
		flex-direction: column;
		padding: 10px 8px;
	}
	
	.rating-option input[type="radio"] {
		margin-bottom: 8px;
		transform: scale(1.3);
	}
	
	.rating-label {
		font-size: 0.85em;
		text-align: center;
	}
}
/* Very small screens */
@media (max-width: 360px) {
	.container {
		margin: 0;
		border-radius: 0;
	}
	
	.question-number {
		width: 18px;
	}
	
	.question-content {
		font-size: 0.95em;
	}
}
