/* ============================================
   CSS för "Fredagsquiz med AI" - Pedagogisk genomgång
   Skapad av: Cursor (AI-assisterad utveckling)
   Datum: November 2025
   ============================================ */

/* CSS-variabler för enkel temahantering */
:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset och grundläggande styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Container för centrerad layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header .subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Teknik-knapp i header */
.tech-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    margin-top: 15px;
}

.tech-btn:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tech-btn:active {
    transform: translateY(0);
}

/* ============================================
   SEKTIONER - Gemensam styling
   ============================================ */
section {
    padding: 60px 20px;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: center;
}

section .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* ============================================
   INTRODUKTION
   ============================================ */
.intro-section {
    background-color: var(--bg-white);
}

.intro-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Referensbox */
.reference-box {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 30px;
}

.reference-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.reference-box ul {
    list-style: none;
    padding: 0;
}

.reference-box li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.reference-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.reference-box a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.reference-box a:hover {
    border-bottom-color: var(--primary-color);
}

/* ============================================
   PROCESS-SEKTION - Tvåstegsprocessen
   ============================================ */
.process-section {
    background-color: var(--bg-light);
}

/* Steg-kort (Claude och Cursor) */
.step-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--primary-color);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-card.step-1 {
    border-left-color: #3b82f6;
}

.step-card.step-2 {
    border-left-color: var(--secondary-color);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
}

/* Prompt-information */
.prompt-info {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

/* Filformat-sektion - Tre format för olika behov */
.file-formats-section {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border: 2px solid var(--primary-color);
}

.file-formats-section > p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.format-links {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.format-link-item {
    display: flex;
    gap: 15px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.format-link-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.format-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.format-details {
    flex: 1;
}

.format-link-main {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
    transition: var(--transition);
}

.format-link-main:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.format-description {
    margin: 10px 0;
    line-height: 1.7;
    color: var(--text-dark);
}

.format-description strong {
    color: var(--primary-color);
}

.recommended-for {
    display: inline-block;
    background-color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    margin-top: 8px;
}

.format-summary {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 25px;
    border-left: 4px solid var(--primary-color);
}

.format-summary p {
    margin-bottom: 12px;
    font-weight: 600;
}

.format-summary ul {
    margin: 0;
    padding-left: 25px;
}

.format-summary li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.prompt-info h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.file-reference {
    background-color: var(--bg-white);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.file-reference a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.file-reference a:hover {
    color: var(--secondary-color);
}

/* Process detaljer */
.process-detail {
    margin: 25px 0;
}

.process-detail h5 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.process-detail ol {
    padding-left: 25px;
}

.process-detail li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.process-detail strong {
    color: var(--primary-color);
}

/* AI-styrkor box */
.ai-strength {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 25px;
}

.ai-strength h5 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.ai-strength ul {
    list-style: none;
    padding: 0;
}

.ai-strength li {
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
}

.ai-strength li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ============================================
   JÄMFÖRELSE-SEKTION
   ============================================ */
.why-section {
    background-color: var(--bg-white);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.comparison-card {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.comparison-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comparison-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.comparison-card .role {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card li {
    padding-left: 25px;
    margin-bottom: 12px;
    position: relative;
}

.comparison-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Synergi-box */
.synergy-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.synergy-box h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.synergy-box p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.synergy-box ul {
    list-style: none;
    padding: 0;
}

.synergy-box li {
    padding-left: 30px;
    margin-bottom: 15px;
    position: relative;
    line-height: 1.8;
}

.synergy-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

/* ============================================
   ARBETSFLÖDE - Visuell diagram
   ============================================ */
.workflow-section {
    background-color: var(--bg-light);
}

.workflow-diagram {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.workflow-step {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 150px;
    max-width: 180px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.workflow-step:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.workflow-step h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.workflow-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================
   INSIKTER
   ============================================ */
.insights-section {
    background-color: var(--bg-white);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.insight-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insight-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.insight-card ul {
    list-style: none;
    padding: 0;
}

.insight-card li {
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
}

.insight-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================
   KONVERTERINGSGUIDE - Praktisk guide för PDF/Word → Markdown
   ============================================ */
.conversion-guide-section {
    background-color: var(--bg-white);
    padding: 60px 20px;
}

.guide-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Konverteringsmetoder */
.conversion-method {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-color);
}

.conversion-method:nth-child(even) {
    border-left-color: var(--secondary-color);
}

.conversion-method h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.7rem;
}

.method-content {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
}

.method-content h4 {
    color: var(--secondary-color);
    margin: 25px 0 15px 0;
    font-size: 1.3rem;
}

.method-content h5 {
    color: var(--text-dark);
    margin: 20px 0 12px 0;
    font-size: 1.1rem;
}

.method-content ul {
    list-style: none;
    padding: 0;
}

.method-content ul li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.7;
}

.method-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Steg-för-steg instruktioner */
.step-by-step {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.step-by-step h5 {
    color: var(--primary-color) !important;
    margin: 0 0 15px 0 !important;
}

.step-by-step ol {
    padding-left: 25px;
    margin: 0;
}

.step-by-step li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.step-by-step ul {
    margin-top: 10px;
    padding-left: 20px;
}

.step-by-step ul li::before {
    content: "•";
    left: -20px;
}

/* Pro tips */
.pro-tip {
    background-color: #fef3c7;
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
}

/* Kodblock */
.code-block {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 15px 0;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

.code-block code {
    color: #f9fafb;
}

/* Markdown exempel */
.markdown-example {
    margin: 20px 0;
}

.markdown-example h5 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Jämförelsebox för AI-verktyg */
.comparison-box {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border: 2px solid var(--secondary-color);
}

.comparison-box h5 {
    color: var(--secondary-color) !important;
    margin: 0 0 15px 0 !important;
}

.comparison-box ul {
    list-style: none;
    padding: 0;
}

.comparison-box ul li {
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
}

.comparison-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.comparison-box .note {
    background-color: var(--bg-white);
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.95rem;
}

/* Sammanfattning av konverteringsmetoder */
.conversion-summary {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 35px;
    border-radius: var(--border-radius);
    margin: 40px 0;
    border: 3px solid var(--success-color);
}

.conversion-summary h3 {
    color: var(--success-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

/* Jämförelsetabell */
.method-comparison-table {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    overflow-x: auto;
}

.method-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.method-comparison-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.method-comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.method-comparison-table tbody tr:hover {
    background-color: var(--bg-light);
}

.method-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Rekommendationsbox */
.recommendation-box {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 25px;
    border: 2px solid var(--success-color);
}

.recommendation-box h4 {
    color: var(--success-color);
    margin: 0 0 15px 0;
    font-size: 1.4rem;
}

.recommendation-box p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.recommendation-box strong {
    color: var(--success-color);
}

.recommendation-box ol {
    padding-left: 25px;
    margin: 15px 0;
}

.recommendation-box li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.recommendation-box code {
    background-color: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

/* Praktiskt exempel */
.practical-example {
    background-color: var(--bg-light);
    padding: 35px;
    border-radius: var(--border-radius);
    margin: 40px 0;
    border: 2px solid var(--primary-color);
}

.practical-example h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.7rem;
}

.practical-example > p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.example-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.example-step {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.example-step h4 {
    color: var(--secondary-color);
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.example-step ol {
    padding-left: 25px;
    margin: 15px 0;
}

.example-step li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.example-step code {
    background-color: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

/* ============================================
   FRAMTID
   ============================================ */
.future-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    padding: 60px 20px;
}

.future-section h2 {
    color: var(--secondary-color);
}

.future-section > .container > p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.future-section > .container > ul {
    max-width: 800px;
    margin: 0 auto 40px;
    list-style: none;
    padding: 0;
}

.future-section > .container > ul li {
    background-color: var(--bg-white);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* UPPDATERING 2025-11-24: Samarbetsbild mellan Claude och Cursor */
/* Sektion för samarbetsbilden - visar Claude och Cursor i praktiken */
.collaboration-image-section {
    text-align: center;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
}

/* Själva bilden - responsiv och klickbar */
.collaboration-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

/* Hover-effekt när man hovrar över bilden */
.collaboration-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Bildtext under bilden */
.image-caption {
    margin-top: 15px;
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.future-vision {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 40px auto 0;
}

.future-vision h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.future-vision ul {
    list-style: none;
    padding: 0;
}

.future-vision li {
    padding-left: 30px;
    margin-bottom: 15px;
    position: relative;
}

.future-vision li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: #fbbf24;
}

/* ============================================
   MODAL - Teknik och filformat
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    margin: 50px auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px 40px;
    margin: 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-size: 2rem;
}

.close {
    color: white;
    float: right;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover,
.close:focus {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Teknik-sektioner i modal */
.tech-section {
    padding: 30px 40px;
    border-bottom: 1px solid var(--border-color);
}

.tech-section:last-child {
    border-bottom: none;
}

.tech-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.tech-section h4 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.tech-section h5 {
    color: var(--text-dark);
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.tech-section h6 {
    color: var(--text-dark);
    margin: 15px 0 10px;
    font-size: 1rem;
    font-weight: 600;
}

.tech-note {
    background-color: #fef3c7;
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-style: italic;
}

/* Format-jämförelse */
.format-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.format-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
}

.format-card h4 {
    color: var(--primary-color) !important;
    margin: 0 0 20px 0 !important;
    font-size: 1.3rem !important;
}

.pros-cons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pros h5,
.cons h5 {
    margin-bottom: 10px !important;
    font-size: 1rem !important;
}

.pros h5 {
    color: var(--success-color) !important;
}

.cons h5 {
    color: #ef4444 !important;
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
}

.pros li,
.cons li {
    padding-left: 0;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Tech Reality Box */
.tech-reality {
    background-color: #fef3c7;
    border: 2px solid var(--accent-color);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
}

.tech-reality strong {
    color: var(--accent-color);
}

/* Rekommendation */
.recommendation {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid var(--success-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 25px 0;
}

.recommendation h5 {
    color: var(--success-color) !important;
    margin-bottom: 15px !important;
}

.recommendation p strong {
    color: var(--success-color);
    font-size: 1.1rem;
}

.why-markdown {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

/* Best Practice */
.best-practice {
    background-color: #dbeafe;
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
}

.best-practice ol {
    padding-left: 25px;
}

.best-practice li {
    margin-bottom: 12px;
}

/* Filosofin om tre format */
.three-formats-philosophy {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 35px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border: 3px solid var(--accent-color);
}

.three-formats-philosophy h4 {
    color: var(--accent-color) !important;
    margin-bottom: 20px !important;
    font-size: 1.6rem !important;
}

.three-formats-philosophy > p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Use case cards */
.format-use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.use-case-card {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.use-case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.use-case-card h5 {
    color: var(--primary-color) !important;
    margin: 0 0 15px 0 !important;
    font-size: 1.2rem !important;
}

.use-case-card > p {
    margin-bottom: 10px;
    font-weight: 600;
}

.use-case-card ul {
    margin: 10px 0;
    padding-left: 25px;
}

.use-case-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.use-case-benefit {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.95rem;
    border-left: 3px solid var(--primary-color);
}

/* Workflow alla format */
.workflow-all-formats {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
    border: 2px solid var(--success-color);
}

.workflow-all-formats h5 {
    color: var(--success-color) !important;
    margin: 0 0 15px 0 !important;
}

.workflow-all-formats ol {
    padding-left: 25px;
    margin: 15px 0;
}

.workflow-all-formats li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.workflow-note {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--success-color);
    font-weight: 600;
}

/* Real world example table */
.real-world-example {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
}

.real-world-example h5 {
    color: var(--secondary-color) !important;
    margin: 0 0 20px 0 !important;
}

.real-world-example table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.real-world-example th {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.real-world-example td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.real-world-example tbody tr:hover {
    background-color: var(--bg-light);
}

.real-world-example tbody tr:last-child td {
    border-bottom: none;
}

/* Key insight */
.key-insight {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
    border: 3px solid var(--secondary-color);
}

.key-insight h5 {
    color: var(--secondary-color) !important;
    margin: 0 0 15px 0 !important;
}

.highlight-message {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 15px 0;
    font-size: 1.05rem;
    line-height: 1.8;
    border-left: 6px solid var(--secondary-color);
}

.highlight-message strong {
    color: var(--secondary-color);
}

.key-insight ul {
    margin: 15px 0;
    padding-left: 25px;
}

.key-insight li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Tech Insight */
.tech-insight {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
    border: 2px solid var(--secondary-color);
}

.tech-insight h4 {
    color: var(--secondary-color) !important;
}

.future-note {
    background-color: var(--bg-white);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* ============================================
   UPPDATERING 2025-11-24: PDF-PARSING SEKTION
   Styling för den nya sektionen om PDF-läsning med Python
   ============================================ */

.pdf-parsing-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    border: 2px solid #10b981;
}

.pdf-parsing-section h3 {
    color: #047857;
    margin-bottom: 25px;
}

.solution-intro {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    border-left: 4px solid #10b981;
}

.solution-intro strong {
    color: #047857;
}

.what-is-parser {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.what-is-parser h4 {
    color: #047857;
    margin-bottom: 15px;
}

.what-is-parser ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.parser-analogy {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid var(--accent-color);
}

.parser-analogy strong {
    color: #92400e;
}

.implementation-steps {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.implementation-steps h4 {
    color: #047857;
    margin-bottom: 20px;
}

.step-by-step-implementation {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.impl-step {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.impl-step h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.impl-step .code-block {
    background-color: #1f2937;
    color: #f9fafb);
    padding: 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    margin: 10px 0;
    overflow-x: auto;
}

.impl-step .code-block code {
    color: #10b981;
}

.step-result {
    margin-top: 10px;
    padding: 10px;
    background-color: #d1fae5;
    border-radius: 6px;
    font-weight: 500;
    color: #065f46;
}

.before-after-parsing {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.before-after-parsing h4 {
    color: #047857;
    margin-bottom: 20px;
}

.parsing-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.before-parsing,
.after-parsing {
    padding: 20px;
    border-radius: var(--border-radius);
}

.before-parsing {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #dc2626;
}

.after-parsing {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left: 4px solid #10b981;
}

.before-parsing h5 {
    color: #991b1b;
    margin-bottom: 15px;
}

.after-parsing h5 {
    color: #065f46;
    margin-bottom: 15px;
}

.prompt-for-future {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.prompt-for-future h4 {
    color: #047857;
    margin-bottom: 15px;
}

.prompt-box {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border: 2px solid var(--primary-color);
}

.prompt-box pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
}

.prompt-box code {
    color: #a7f3d0;
    line-height: 1.8;
}

.prompt-note {
    background-color: #dbeafe;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    border-left: 4px solid var(--primary-color);
}

.limitations-and-alternatives {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.limitations-and-alternatives h4 {
    color: #047857;
    margin-bottom: 20px;
}

.limitations,
.alternatives {
    margin-bottom: 20px;
}

.limitations h5,
.alternatives h5 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.alternatives table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.alternatives table th,
.alternatives table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.alternatives table th {
    background-color: #f3f4f6;
    color: var(--text-dark);
    font-weight: 600;
}

.alternatives table code {
    background-color: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-color);
}

.recommendation-parsing {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.recommendation-parsing h4 {
    color: #047857;
    margin-bottom: 20px;
}

.workflow-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.option-card {
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.option-card:nth-child(1) {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: var(--accent-color);
}

.option-card:nth-child(2) {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-color: var(--primary-color);
}

.option-card:nth-child(3) {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: var(--secondary-color);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.option-card h5 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.option-card strong {
    color: var(--text-dark);
}

.option-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.option-card li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}

.option-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.parsing-summary {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
}

.parsing-summary h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.parsing-summary ul {
    list-style: none;
    padding-left: 0;
}

.parsing-summary li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.parsing-summary li:last-child {
    border-bottom: none;
}

.parsing-summary code {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-color);
}

.file-reference {
    background-color: #fef3c7;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    border: 2px dashed var(--accent-color);
}

.file-reference code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    color: #92400e;
}

/* Responsiv design för PDF-parsing sektion */
@media (max-width: 768px) {
    .parsing-comparison {
        grid-template-columns: 1fr;
    }
    
    .workflow-options {
        grid-template-columns: 1fr;
    }
}

/* FÖRE/EFTER Genombrott-sektion */
.breakthrough-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid var(--accent-color);
}

.breakthrough-section h3 {
    color: var(--accent-color) !important;
    font-size: 2rem !important;
}

.before-after-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.before-state,
.after-state {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-lg);
}

.before-state {
    border: 3px solid #ef4444;
}

.after-state {
    border: 3px solid var(--success-color);
}

.before-state h4 {
    color: #ef4444 !important;
    margin: 0 0 20px 0 !important;
    font-size: 1.3rem !important;
}

.after-state h4 {
    color: var(--success-color) !important;
    margin: 0 0 20px 0 !important;
    font-size: 1.3rem !important;
}

.state-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.state-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.state-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.error-message {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    color: #991b1b;
}

.success-message {
    background-color: #d1fae5;
    border-left: 4px solid var(--success-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    color: #065f46;
}

/* Konkreta exempel */
.concrete-examples {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.concrete-examples h4 {
    color: var(--primary-color) !important;
    margin-bottom: 25px !important;
}

.example-item {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.example-item h5 {
    color: var(--primary-color) !important;
    margin: 0 0 12px 0 !important;
}

.example-item blockquote {
    background-color: var(--bg-white);
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
    color: var(--text-dark);
}

.example-item ul {
    margin-top: 10px;
    padding-left: 25px;
}

.example-item li {
    margin-bottom: 8px;
}

/* Metrics comparison table */
.metrics-comparison {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.metrics-comparison h4 {
    color: var(--success-color) !important;
    margin-bottom: 20px !important;
}

.metrics-comparison table {
    width: 100%;
    border-collapse: collapse;
}

.metrics-comparison th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.metrics-comparison td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.metrics-comparison tbody tr:hover {
    background-color: var(--bg-light);
}

.metrics-comparison tbody tr:last-child td {
    border-bottom: none;
}

/* Lesson learned */
.lesson-learned {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border: 3px solid var(--success-color);
}

.lesson-learned h4 {
    color: var(--success-color) !important;
    margin-bottom: 20px !important;
}

.highlight-box {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    font-size: 1.1rem;
    border-left: 6px solid var(--success-color);
}

.highlight-box strong {
    color: var(--success-color);
    display: block;
    margin-bottom: 10px;
}

/* Prompt example boxes */
.real-prompt-example {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
    border: 2px solid var(--accent-color);
}

.real-prompt-example h5 {
    color: var(--accent-color) !important;
    margin-bottom: 15px !important;
}

.prompt-excerpt {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.prompt-excerpt p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.prompt-excerpt strong {
    color: var(--accent-color);
}

/* Prompt specifics */
.prompt-specifics {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
    border: 2px solid var(--secondary-color);
}

.prompt-specifics h5 {
    color: var(--secondary-color) !important;
    margin-bottom: 15px !important;
}

.prompt-specifics ul {
    list-style: none;
    padding: 0;
}

.prompt-specifics li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
}

.prompt-specifics li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Workflow insight */
.workflow-insight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
    border: 2px solid var(--primary-color);
}

.workflow-insight h5 {
    color: var(--primary-color) !important;
    margin-bottom: 15px !important;
}

.workflow-insight ul {
    margin: 15px 0;
    padding-left: 25px;
}

.workflow-insight li {
    margin-bottom: 10px;
}

/* Tech Stack Grid */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.tech-item {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f3f4f6 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.tech-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.tech-item h4 {
    color: var(--primary-color) !important;
    margin: 0 0 10px 0 !important;
}

.tech-comment {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-style: italic;
    color: var(--text-light);
}

/* ============================================
   RESPONSIV DESIGN
   ============================================ */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header .subtitle {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .step-card {
        padding: 25px;
    }

    .step-header {
        flex-direction: column;
        text-align: center;
    }

    .workflow-diagram {
        flex-direction: column;
    }

    .workflow-arrow {
        transform: rotate(90deg);
    }

    .modal-content {
        width: 95%;
        margin: 20px auto;
    }

    .tech-section {
        padding: 20px;
    }

    .format-comparison {
        grid-template-columns: 1fr;
    }

    .conversion-method {
        padding: 20px;
    }

    .method-content {
        padding: 15px;
    }

    .example-steps {
        grid-template-columns: 1fr;
    }

    .method-comparison-table {
        font-size: 0.9rem;
    }

    .method-comparison-table th,
    .method-comparison-table td {
        padding: 10px;
    }

    .before-after-comparison {
        grid-template-columns: 1fr;
    }

    .concrete-examples,
    .metrics-comparison,
    .lesson-learned {
        padding: 20px;
    }

    .example-item {
        padding: 15px;
    }

    .metrics-comparison table {
        font-size: 0.85rem;
    }

    .metrics-comparison th,
    .metrics-comparison td {
        padding: 8px;
    }

    .format-use-cases {
        grid-template-columns: 1fr;
    }

    .three-formats-philosophy,
    .workflow-all-formats,
    .real-world-example,
    .key-insight {
        padding: 20px;
    }

    .real-world-example table {
        font-size: 0.85rem;
    }

    .real-world-example th,
    .real-world-example td {
        padding: 8px;
    }
}

/* ============================================
   TILLGÄNGLIGHET
   ============================================ */

/* Fokus-states för tangentbordsnavigation */
a:focus,
button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Reduce motion för användare som föredrar det */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   SKRIV UT - Print styles
   ============================================ */
@media print {
    header,
    footer,
    .tech-btn,
    .modal {
        display: none;
    }

    body {
        background-color: white;
    }

    section {
        page-break-inside: avoid;
    }
}

