/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --primary-hover: #1d4ed8;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --error-color: #ef4444;
    --background: #f9fafb;
    --card-background: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    min-height: 100vh;
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.page.active {
    display: block;
}

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

/* Progress Bar */
.progress-container {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Time Estimate */
.time-estimate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.time-estimate .time-icon {
    font-size: 1.1rem;
}

/* AI Notice */
.ai-notice {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #10b981;
    border-radius: 8px;
}

.ai-notice-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.ai-notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ai-notice-text {
    font-size: 0.9rem;
    color: #047857;
    line-height: 1.4;
}

/* Logging Notice */
.logging-notice {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid #3b82f6;
    border-radius: 8px;
}

.logging-notice-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.logging-notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.logging-notice-text {
    font-size: 0.9rem;
    color: #1d4ed8;
    line-height: 1.4;
}

/* AI Generated Content Indicator */
.ai-generated {
    position: relative;
    border-left: 3px solid #10b981;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border-radius: 8px;
    margin: 1rem 0;
}

.ai-generated::before {
    content: "🤖 KI-generiert";
    position: absolute;
    top: -8px;
    left: 8px;
    background: #10b981;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-generated-content {
    padding: 1.5rem 1rem 1rem 1rem;
}

/* Exit Hatch Option */
.exit-hatch {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px dashed var(--border-color);
    background: linear-gradient(135deg, #fef3c7, #fef7cd);
    border-radius: 8px;
    padding: 1rem;
}

.exit-hatch-text {
    font-style: italic;
    color: #92400e;
    font-weight: 500;
}

.exit-hatch:hover {
    background: linear-gradient(135deg, #fde68a, #fef3c7);
}

/* User Count Explanation */
.user-count-explanation {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.user-count-explanation p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.examples {
    font-size: 0.85rem;
}

.examples ul {
    margin: 0.5rem 0 0 1rem;
    color: var(--text-secondary);
}

.examples li {
    margin-bottom: 0.25rem;
}

/* Development Info */
.development-info {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.development-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.development-info ul {
    list-style: none;
    padding: 0;
}

.development-info li {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.development-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.development-info a:hover {
    text-decoration: underline;
}

/* Clarification Page Styles */
.use-case-display {
    background-color: #f3f4f6;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.use-case-preview {
    line-height: 1.5;
}

.guidelines-summary {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #e8f4f8;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
}

.guidelines-summary small {
    color: #666;
    font-style: italic;
}

.contextual-reflection {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
}

.contextual-reflection h4 {
    margin: 0 0 0.75rem 0;
    color: #856404;
    font-size: 1rem;
    font-weight: 600;
}

.contextual-reflection ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style-type: disc;
}

.contextual-reflection li {
    margin-bottom: 0.5rem;
    color: #856404;
    line-height: 1.4;
}

.contextual-reflection li:last-child {
    margin-bottom: 0;
}

/* File Upload Styles */
.file-upload-container {
    position: relative;
    margin-bottom: 1rem;
}

.file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 60px;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background-color: #f0f0f0;
}

.file-upload-label.dragover {
    border-color: var(--primary-color);
    background-color: #e8f4f8;
}

.file-upload-icon {
    font-size: 1.5rem;
}

.file-info {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #e8f4f8;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.file-info.show {
    display: block;
}

.file-info .file-name {
    font-weight: 600;
    color: var(--primary-color);
}

.file-info .file-size {
    color: #666;
    margin-left: 0.5rem;
}

.assumptions-container {
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    background-color: #fafafa;
}

.assumption-item {
    margin-bottom: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label:hover {
    background-color: #f8fafc;
    border-color: var(--primary-color);
}

.checkbox-label.selected {
    background-color: #eff6ff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkmark {
    /* Custom checkmark styling can be added here if needed */
}



/* Slider Question Styles */
.slider-container {
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.slider-input {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    margin: 1rem 0;
    cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-input::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-value {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: white;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}



/* Prototype Notice */
.prototype-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 0.75rem 1rem;
    text-align: center;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ffeaa7;
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: var(--card-background);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
}

textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.help-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Buttons */
button {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--card-background);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

/* Questions Page */
.use-case-summary {
    background-color: #eff6ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.question-card {
    margin-bottom: 1.5rem;
}

.question-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #dbeafe;
    color: #1e40af;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--background);
    border: 2px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.option-label:hover {
    background-color: #f0f9ff;
    border-color: #93c5fd;
}

.option-label.selected {
    background-color: #dbeafe;
    border-color: var(--primary-color);
}

.option-label input[type="radio"] {
    margin-right: 0.75rem;
}

.progress-info {
    text-align: center;
    margin-top: 1rem;
}

.text-secondary {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Summary Page */
.summary-container {
    background: var(--card-background);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.summary-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-question {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.summary-answer {
    color: var(--text-secondary);
    white-space: pre-wrap;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Deep Dive Page */
.deep-dive-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.deep-dive-left {
    padding-right: 1rem;
}

.deep-dive-right {
    padding-left: 1rem;
}

.deep-dive-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.deep-dive-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.deep-dive-section {
    margin-bottom: 2rem;
}

.deep-dive-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.deep-dive-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-box {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.info-box h4 {
    color: #0ea5e9;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.action-list {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.action-list h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.action-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

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

.action-icon {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.resource-list {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.resource-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.2s;
}

.resource-item:hover {
    background-color: var(--background);
    border-radius: 4px;
}

.resource-item:last-child {
    border-bottom: none;
}

.resource-icon {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.resource-text {
    flex: 1;
}

.resource-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.resource-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .deep-dive-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .deep-dive-left,
    .deep-dive-right {
        padding: 0;
    }
}

/* Loading State */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
    display: none;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.error-message.active {
    display: block;
}

/* Info Box */
.info-box {
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.875rem;
}

/* Transparency Section */
.transparency-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.transparency-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.transparency-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.prompt-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prompt-toggle {
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    padding: 0.75rem 1rem;
    width: 100%;
}

.prompt-toggle summary {
    cursor: pointer;
    font-weight: 600;
    color: #1d4ed8;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt-toggle summary::-webkit-details-marker {
    display: none;
}

.prompt-toggle summary::before {
    content: '▸';
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.prompt-toggle[open] summary::before {
    transform: rotate(90deg);
}

.prompt-toggle .prompt-toggle-content {
    margin-top: 0.75rem;
    color: #1e3a8a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.prompt-code {
    margin-top: 0.75rem;
    background: #0f172a;
    color: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.4);
    overflow-x: auto;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.3);
}

.prompt-code code {
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    display: block;
}

.criteria-toggle {
    margin-top: 1.5rem;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    padding: 0.75rem 1rem;
}

.criteria-toggle summary {
    cursor: pointer;
    font-weight: 600;
    color: #1d4ed8;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.criteria-toggle summary::-webkit-details-marker {
    display: none;
}

.criteria-toggle summary::before {
    content: '▸';
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.criteria-toggle[open] summary::before {
    transform: rotate(90deg);
}

.criteria-toggle .criteria-content {
    margin-top: 0.75rem;
    color: #1e3a8a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.criteria-toggle ul {
    margin: 0.75rem 0 0 1rem;
    padding: 0;
}

.criteria-toggle li {
    margin-bottom: 0.5rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.btn-link:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--card-background);
    border-radius: 0.75rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8fafc;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.prompt-display {
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: pre-wrap;
    color: var(--text-primary);
    margin: 0;
    overflow-x: auto;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .action-buttons,
    .info-box,
    header > .subtitle,
    .transparency-section {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--border-color);
        page-break-inside: avoid;
    }
}

/* Prefilter Form Styles */
.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--background);
    border: 2px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 400;
}

.radio-label:hover, .checkbox-label:hover {
    background-color: #f0f9ff;
    border-color: #93c5fd;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    transform: scale(1.2);
}

.radio-label:has(input:checked),
.checkbox-label:has(input:checked) {
    background-color: #dbeafe;
    border-color: var(--primary-color);
    font-weight: 500;
}

/* Support for older browsers that don't support :has() */
.radio-label.selected,
.checkbox-label.selected {
    background-color: #dbeafe;
    border-color: var(--primary-color);
    font-weight: 500;
}

/* Prefilter page specific styling */
#prefilter-page .form-group {
    margin-bottom: 2rem;
}

#prefilter-page label {
    font-size: 1rem;
    margin-bottom: 1rem;
}

#prefilter-page .action-buttons {
    margin-top: 2.5rem;
}

/* Seven Questions Styles */
.answer-options {
    margin-top: 1.5rem;
}

.question-context {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 1rem;
    background-color: var(--accent-background);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.context-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.context-content {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
}

/* Responsive Design */
/* Slider Styles */
.slider-container {
    margin: 1rem 0;
}

.slider-container input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.scope-display {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1rem;
}

@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
    
    .slider-labels {
        font-size: 0.75rem;
    }
}

/* Development Areas Cards */
.development-areas-section {
    margin-bottom: 2rem;
}

.development-areas-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.development-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.development-area-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.development-area-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.development-area-card.high-attention {
    border-top: 4px solid #ef4444;
}

.development-area-card.medium-attention {
    border-top: 4px solid #f59e0b;
}

.development-area-title {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
}

.score-display {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0;
}

.score-item {
    flex: 1;
    text-align: center;
}

.score-box {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 0.25rem;
}

.score-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.score-value.readiness {
    color: #3b82f6;
}

.score-value.risk-low {
    color: #10b981;
}

.score-value.risk-medium {
    color: #f59e0b;
}

.score-value.risk-high {
    color: #ef4444;
}

.score-label {
    font-size: 0.75rem;
    color: #64748b;
}

/* Strengths and Weaknesses Sections */
.strengths-weaknesses-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .strengths-weaknesses-section {
        grid-template-columns: 1fr;
    }
}

.strengths-column {
    background: #f0f9ff;
    border-radius: 16px;
    padding: 2rem;
    border-left: 4px solid #10b981;
}

.weaknesses-column {
    background: #fef2f2;
    border-radius: 16px;
    padding: 2rem;
    border-left: 4px solid #ef4444;
}

.section-title {
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title.strengths {
    color: #10b981;
}

.section-title.weaknesses {
    color: #ef4444;
}

/* Dimension Cards */
.dimension-card {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.dimension-card.strength {
    background: rgba(16, 185, 129, 0.1);
    /* border-left: 3px solid #10b981; */
}

.dimension-card.weakness {
    background: rgba(239, 68, 68, 0.1);
    /* border-left: 3px solid #ef4444; */
}

.dimension-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dimension-name {
    font-weight: 600;
}

.dimension-name.strength {
    color: #065f46;
}

.dimension-name.weakness {
    color: #991b1b;
}

.dimension-score {
    font-size: 0.8rem;
    font-weight: 500;
}

.dimension-score.strength {
    color: #065f46;
}

.dimension-score.weakness {
    color: #991b1b;
}

/* Toggle Buttons */
.toggle-button {
    background: none;
    border: 1px solid;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-button.strength {
    border-color: #10b981;
    color: #10b981;
}

.toggle-button.strength:hover {
    background: #10b981;
    color: white;
}

.toggle-button.weakness {
    border-color: #dc2626;
    color: #dc2626;
}

.toggle-button.weakness:hover {
    background: #dc2626;
    color: white;
}

/* Toggle Content */
.toggle-content {
    display: none;
    margin-top: 1rem;
}

.dimension-description {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.dimension-description.strength {
    color: #047857;
}

.dimension-description.weakness {
    color: #dc2626;
}

.critical-answers-title {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #7f1d1d;
}

.critical-answer-item {
    background: rgba(239, 68, 68, 0.05);
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #7f1d1d;
}

.empty-state {
    color: #64748b;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}
