/* =====================================================
   VALUES & VISION STATEMENT - TOOL-SPECIFIC STYLES
   ===================================================== */

/* ===== STEP HEADERS ===== */
.step-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--bs-primary);
	margin-bottom: 1rem;
}

.step-instructions {
	font-size: 1.1rem;
	color: #4a5568;
	margin-bottom: 2rem;
	line-height: 1.6;
}

/* ===== STEP 1: BRAINSTORM ===== */

.dimension-section {
	margin-bottom: 2rem;
	border-radius: var(--bs-border-radius-lg);
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	min-width: 0;
}

.dimension-header {
	padding: 1.5rem;
	color: white;
}

.dimension-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dimension-ideas {
	font-size: 0.9rem;
	margin-bottom: 0;
	font-style: italic;
	opacity: 0.95;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.dimension-content {
	padding: 1.5rem;
	background-color: white;
}

.brainstorm-textarea {
	width: 100%;
	min-height: 10rem;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	padding: 1rem;
	font-size: 1rem;
	line-height: 1.6;
	resize: vertical;
	transition: border-color 0.3s ease;
	overflow-wrap: anywhere;
}

	.brainstorm-textarea:focus {
		border-color: var(--bs-primary);
		outline: none;
		box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
	}

/* ===== STEP 2: REFINE ===== */

/* Two-column layout: brainstorm notes (left) + statement editor (right) */
.refine-columns {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	min-width: 0;
}

.brainstorm-column {
	flex: 0 0 42%;
	min-width: 0;
}

.statement-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

	.statement-column .final-statement-textarea {
		flex: 1;
	}

.brainstorm-readonly-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.brainstorm-readonly-panel {
	border-radius: var(--bs-border-radius);
	overflow: hidden;
	border: 1px solid #e0e0e0;
}

.brainstorm-readonly-dim-label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 0.4rem 0.75rem;
}

.brainstorm-readonly-content {
	padding: 0.75rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #4a5568;
	white-space: pre-wrap;
	min-height: 60px;
	background: #fafafa;
	overflow-wrap: anywhere;
}

@media (max-width: 992px) {
	.refine-columns {
		flex-direction: column;
		gap: 1.25rem;
	}

	.brainstorm-column {
		flex: none;
		width: 100%;
	}

	.statement-column {
		width: 100%;
	}
}

@media (min-width: 769px) and (max-width: 992px) {
	.brainstorm-readonly-list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: stretch;
	}

	.brainstorm-readonly-panel {
		display: flex;
		flex-direction: column;
	}

	.brainstorm-readonly-content {
		flex: 1;
		min-height: 8rem;
	}
}

.refine-section {
	background: white;
	padding: 2rem;
	border-radius: var(--bs-border-radius-lg);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--bs-primary);
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 3px solid var(--bs-primary);
}

.final-statement-textarea {
	width: 100%;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	padding: 1.5rem;
	font-size: 1rem;
	line-height: 1.8;
	resize: vertical;
	min-height: 400px;
	transition: border-color 0.3s ease;
}

	.final-statement-textarea:focus {
		border-color: var(--bs-primary);
		outline: none;
		box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
	}

/* ===== STEP 3: SHARE ===== */
/*
.final-statement-display {
	background: #f8f9fa;
	padding: 2rem;
	border-radius: var(--bs-border-radius-lg);
	margin-bottom: 2rem;
	border-left: 4px solid var(--bs-primary);
}*/

.statement-preview {
	background: white;
	padding: 2rem;
	border-radius: 4px;
	border-left: 4px solid var(--bs-primary);
	white-space: pre-wrap;
	font-size: 1rem;
	line-height: 1.8;
	min-height: 150px;
	font-family: 'Georgia', serif;
	color: #333;
	overflow-wrap: anywhere;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
	.step-content {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	.wizard-step-info {
		margin-bottom: 0.75rem;
		padding: 0.85rem;
	}

	.dimension-section {
		margin-bottom: 1rem;
		border-radius: 8px;
	}

	.dimension-header {
		padding: 0.9rem;
	}

	.dimension-title {
		font-size: 1.1rem;
		line-height: 1.2;
	}

	.dimension-ideas {
		font-size: 0.85rem;
	}

	.dimension-content {
		padding: 0.85rem;
	}

	.brainstorm-textarea,
	.final-statement-textarea {
		padding: 0.8rem;
		font-size: 0.95rem;
		line-height: 1.55;
	}

	.brainstorm-textarea {
		min-height: 9rem;
	}

	.refine-section {
		padding: 1rem;
		border-radius: 8px;
	}

	.brainstorm-readonly-list {
		gap: 0.65rem;
	}

	.brainstorm-readonly-dim-label {
		padding: 0.5rem 0.65rem;
		font-size: 0.76rem;
		line-height: 1.2;
	}

	.brainstorm-readonly-content {
		padding: 0.65rem;
		min-height: 4.75rem;
		font-size: 0.9rem;
		line-height: 1.45;
	}

	.final-statement-textarea {
		min-height: clamp(16rem, 48vh, 22rem);
	}

	.canva-templates {
		flex-direction: column;
	}

	.canva-template-link {
		min-width: 100%;
	}

	.step-title {
		font-size: 1.5rem;
	}

	.step-instructions {
		font-size: 1rem;
		line-height: 1.5;
	}

	.section-title {
		margin-bottom: 1rem;
		padding-bottom: 0.55rem;
		font-size: 1.2rem;
		line-height: 1.2;
	}

	.statement-preview {
		padding: 1rem;
		min-height: 10rem;
		font-size: 0.95rem;
		line-height: 1.65;
	}
}

@media (max-width: 576px) {
	.brainstorm-textarea {
		min-height: 8rem;
	}

	.final-statement-textarea {
		min-height: 14rem;
	}

	.step-content {
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}

	.wizard-step-info {
		padding: 0.75rem;
	}

	.dimension-header,
	.dimension-content,
	.refine-section {
		padding: 0.75rem;
	}

	.dimension-title {
		font-size: 1rem;
	}

	.dimension-ideas,
	.step-instructions {
		font-size: 0.9rem;
	}

	.statement-preview {
		padding: 0.85rem;
	}
}

/* ===== ACCESSIBILITY ===== */

.brainstorm-textarea:focus-visible,
.final-statement-textarea:focus-visible {
	outline: 3px solid var(--bs-primary);
	outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.dimension-header {
		border: 2px solid currentColor;
	}

	.brainstorm-textarea,
	.final-statement-textarea {
		border-width: 3px;
	}
}

/* Print styles */
@media print {
	.dimension-section {
		page-break-inside: avoid;
	}

	.canva-templates {
		display: none;
	}
}
