/* =========================================================================
   CDS COMMAND CENTER: SSB MODULE PREMIUM STYLES
   ========================================================================= */

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

/* Utility classes must be at top or have highest specificity */
.hidden {
    display: none !important;
}

/* =========================
   VARIABLES & THEMING
========================= */
:root {
    --bg-dark: #0a0c10;
    --bg-medium: #0d1117;
    --bg-light: #161b22;
    --accent: #7ed321;
    --accent-dark: #5fa515;
    --accent-glow: rgba(126, 211, 33, 0.4);
    
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f8f9fa;
    --text-secondary: #b7c6cc;
    
    --danger: #ff4757;
    --danger-glow: rgba(255, 71, 87, 0.5);
    
    --warning: #ffa502;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */

@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(20px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px var(--accent-glow); }
    100% { box-shadow: 0 0 25px var(--accent-glow), 0 0 40px rgba(126, 211, 33, 0.2); }
}

@keyframes urgentPulse {
    0% { text-shadow: 0 0 5px var(--danger-glow); box-shadow: inset 0 0 10px rgba(255,71,87,0.1); }
    100% { text-shadow: 0 0 20px var(--danger), 0 0 30px var(--danger-glow); box-shadow: inset 0 0 20px rgba(255,71,87,0.3); border-color: rgba(255,71,87,0.5); }
}

.test-section {
    padding-top: 40px;
}

.test-section, .instructions, .test-complete, .test-selection, .picture-selection, .gto-overview, .olq-overview {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =========================================================================
   TYPOGRAPHY & HEADERS
   ========================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.test-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 50px 60px;
    background: var(--card-bg);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.test-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.header-with-back {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-title h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-title p {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */

button, .btn-primary, .btn-nav, .btn-home, .btn-back-home, .btn-close, .btn-pause, .btn-back {
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

/* Modern Green Primary Action — Flat (matches Next.js) */
.btn-primary, .btn-nav, .btn-close {
    background: var(--accent);
    color: #000; 
    padding: 12px 24px;
    box-shadow: none;
}

.btn-primary:hover, .btn-nav:hover:not(:disabled), .btn-close:hover {
    background: #68b31a;
    transform: none;
    box-shadow: none;
}

/* Secondary / Back Buttons — Flat dark (matches Next.js) */
.btn-back, .btn-home, .btn-back-home {
    background: #1c222d;
    color: var(--text-primary);
    padding: 12px 24px;
    border: none;
    backdrop-filter: none;
}

.btn-back:hover, .btn-home:hover, .btn-back-home:hover {
    background: #2d3748;
    transform: none;
}

.btn-home {
    position: absolute;
    left: 0;
}

/* Pause Button */
.btn-pause {
    padding: 12px 24px;
    background: rgba(255, 165, 2, 0.15);
    color: var(--warning);
    border: 1px solid rgba(255, 165, 2, 0.3);
}

.btn-pause:hover {
    background: rgba(255, 165, 2, 0.25);
}

.btn-nav:disabled {
    background: #1c222d;
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

/* =========================================================================
   SSB HERO HEADER (New — matches Next.js)
   ========================================================================= */

.ssb-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
}

.ssb-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(126, 211, 33, 0.3);
}

.ssb-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================================================
   CARDS & PANELS — Redesigned to match Next.js
   ========================================================================= */

.test-selection, .picture-selection, .instructions, .gto-overview, .olq-overview {
    background: #141820;
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: none;
    border: 1px solid #1c222d;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
}

.test-selection h2, .picture-selection h2, .instructions h2, .gto-overview h2, .olq-overview h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-size: 1.9rem;
    font-weight: 700;
}

/* Grid Layouts */
.test-grid, .picture-grid, .gto-tasks-grid, .olq-factors-grid {
    display: grid;
    gap: 20px;
}

.test-grid { grid-template-columns: repeat(3, 1fr); }
.picture-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 40px; }
.gto-tasks-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 40px; }
.olq-factors-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin-bottom: 40px; }

/* Interactive Cards — Next.js style */
.test-card {
    background: #0a0c10;
    padding: 28px;
    border-radius: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #1c222d;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.gto-task-card, .olq-factor-card, .picture-option {
    background: #0a0c10;
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #1c222d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.picture-option { padding: 15px; }

.test-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(126, 211, 33, 0.15);
    background: #0a0c10;
}

.gto-task-card:hover, .olq-factor-card:hover, .picture-option:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(126, 211, 33, 0.15);
}

.test-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    filter: none;
}

.task-icon, .factor-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.test-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.test-card:hover h3 {
    color: var(--accent);
}

.gto-task-card h3, .olq-factor-card h3 {
    color: var(--text-primary);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.olq-factor-card h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.test-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.gto-task-card p, .picture-option p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Duration Badge — Dark chip style */
.test-duration, .task-duration {
    display: inline-block;
    padding: 6px 14px;
    background: #1c222d;
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
}

/* Materials Button — Centered solid green */
.btn-material-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.btn-material-viewer {
    padding: 14px 32px;
    background: var(--accent) !important;
    color: #000 !important;
    border: none !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(126, 211, 33, 0.3);
    width: auto;
    transition: all 0.3s ease;
}

.btn-material-viewer:hover {
    background: #68b31a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(126, 211, 33, 0.4);
}

/* =========================================================================
   CINEMATIC TEST FOCUS MODE (UX IMPROVEMENT)
   ========================================================================= */

/* The test screen becomes a full-width cinematic view */
.test-screen {
    background: #0a0c10;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

/* Premium Top Navigation / Timer Bar */
.timer-display {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    background: #141820;
    border-radius: 0;
    border-bottom: 1px solid #1c222d;
    box-shadow: none;
}

.timer-display h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    text-align: left;
}

/* Glowing Minimalist Timer */
.timer {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'SF Mono', 'Courier New', monospace;
    letter-spacing: 2px;
    padding: 6px 16px;
    background: #1c222d;
    border-radius: 6px;
    border: none;
    text-align: center;
    animation: none;
    text-shadow: none;
}

.test-controls {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin: 0;
    justify-content: flex-end;
}

.test-controls button {
    width: auto;
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Centered Picture / Distraction Free Display */
.picture-display-large {
    width: 100%;
    max-width: 900px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.picture-display-large img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
    /* Slight blur initially, then sharp focusing effect? 
       No, we want clear vision. Let's just shadow it. */
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.8));
    animation: fadeSlideUp 0.8s ease forwards;
}

/* Focused Writing Instructions */
.writing-instructions {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    padding: 50px;
    border: none;
    animation: fadeSlideUp 0.5s ease forwards;
}

.writing-instructions h2 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 4rem;
    font-weight: 800;
}

.writing-guide {
    text-align: left;
    max-width: 600px;
}

.writing-guide h3 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.writing-guide ol {
    margin-left: 20px;
}

.writing-guide li {
    margin: 15px 0;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* =========================================================================
   WAT & SRT SPECIFIC (Minimalist typography focus)
   ========================================================================= */

.word-display {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.current-word {
    font-size: 6rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 20px;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.wat-instruction { margin-top: 40px; }
.wat-instruction p {
    font-size: 1.4rem; color: var(--text-secondary); font-weight: 300; letter-spacing: 1px;
}

.situation-display {
    width: 100%;
    max-width: 900px;
    padding: 60px;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.situation-number {
    font-size: 1.4rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.situation-text {
    font-size: 2rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 700;
}

.srt-navigation {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

/* =========================================================================
   INSTRUCTION PANELS & INFO BLOCKS
   ========================================================================= */

.instruction-box, .gto-intro, .olq-intro {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border-left: none;
    margin-bottom: 35px;
}

.instruction-box h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instruction-box ol, .instruction-box ul {
    margin-left: 25px;
    color: var(--text-secondary);
}

.instruction-box li {
    margin: 12px 0;
    font-size: 1.1rem;
}

.warning {
    background: rgba(255, 165, 2, 0.1);
    padding: 18px 25px;
    border-radius: 10px;
    border-left: 4px solid var(--warning);
    margin-top: 25px;
    color: #fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================================
   COMPLETION & DROPDOWNS
   ========================================================================= */

.test-complete {
    background: #141820;
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #1c222d;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    max-width: 600px;
    margin: 0 auto;
}

.test-complete h2 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.dropdown-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    margin-bottom: 30px;
}

.dropdown-selection label {
    font-size: 1.2rem; margin-bottom: 20px; color: var(--text-primary);
}

.picture-dropdown {
    width: 100%; max-width: 400px; padding: 16px 20px; font-size: 1.1rem;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 10px;
    background: var(--bg-dark); color: white; cursor: pointer;
    margin-bottom: 25px; transition: 0.3s;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.picture-dropdown:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(126, 211, 33, 0.3);
}

/* =========================================================================
   MODALS & OVERLAYS & VIEWERS
   ========================================================================= */

.loading-indicator {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(11, 20, 22, 0.95); backdrop-filter: blur(20px);
    padding: 50px 60px; border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid var(--border-light); text-align: center; z-index: 10000;
}

.spinner {
    border: 4px solid rgba(255,255,255,0.05);
    border-top: 4px solid var(--accent);
    border-radius: 50%; width: 60px; height: 60px;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin: 0 auto 25px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.image-modal {
    position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95); display: flex; justify-content: center; align-items: center;
    backdrop-filter: blur(10px);
}
.modal-content {
    max-width: 90%; max-height: 85vh; border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.modal-close {
    position: absolute; top: 40px; right: 60px; color: rgba(255,255,255,0.5);
    font-size: 3rem; cursor: pointer; transition: 0.3s;
}
.modal-close:hover { color: var(--accent); transform: scale(1.1) rotate(90deg); }


/* Factor Cards styling */
.factor-qualities span {
    background: rgba(255,255,255,0.05); color: var(--text-primary);
    padding: 6px 14px; border-radius: 20px; font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1); margin: 2px 0;
}
.factor-qualities { flex-direction: row; flex-wrap: wrap; justify-content: center; }

/* =========================
MATERIAL VIEWER FIX
========================= */

.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

/* Card */
.material-item {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid var(--border-light);
  transition: 0.3s;
  cursor: pointer;
  overflow: hidden;
}

/* Hover */
.material-item:hover {
  transform: translateY(-5px);
  border-color: rgba(120,200,40,0.4);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* Image container */
.material-item img {
  width: 100%;
  aspect-ratio: 4/3;   /* 🔥 FIXES SIZE ISSUE */
  object-fit: cover;
  border-radius: 8px;
}

/* Label */
.material-item p {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
/* Grid Items in material viewer */
.material-item, .word-chip, .situation-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; transition: 0.3s;
}
.material-item:hover, .word-chip:hover, .situation-item:hover {
    background: rgba(255,255,255,0.05); border-color: rgba(126,211,33,0.3);
}
.situation-item { padding: 25px; border-left: 4px solid var(--accent); }

/* Task details specifics */
.task-header, .factor-header {
    background: rgba(0,0,0,0.3); 
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 25px;
}
.task-icon-large, .factor-icon-large {
    font-size: 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.task-meta h3, .factor-meta h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.task-meta .duration {
    font-size: 0.95rem;
    color: var(--accent);
    background: rgba(126, 211, 33, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}
.task-description p, .factor-description p, .factor-importance p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.task-description, .task-process, .factor-description {
    background: rgba(255,255,255,0.02); 
    border-left: 4px solid var(--accent); 
    border-radius: 12px;
    padding: 20px;
}
.quality-card {
    background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05);
}


/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1024px) {
    .timer-display { flex-direction: column; gap: 15px; text-align: center; }
    .timer-display h3 { flex-basis: auto; text-align: center; }
    .test-controls { flex-basis: auto; justify-content: center; flex-wrap: wrap; }
    .picture-display-large { min-height: 40vh; }

    .test-grid { grid-template-columns: repeat(2, 1fr); }

    .ssb-hero h1 { font-size: 2.5rem; }
    .ssb-hero p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .btn-home { position: static; transform: none; display: block; margin-bottom: 20px; }
    .header-with-back { flex-direction: column; }
    .test-header { padding: 30px 20px; }

    .ssb-hero { margin-bottom: 24px; }
    .ssb-hero h1 { font-size: 2rem; }
    .ssb-hero p { font-size: 1rem; }
    
    .test-selection, .picture-selection, .instructions, .gto-overview, .olq-overview {
        padding: 24px 16px;
    }
    
    .test-selection h2, .picture-selection h2, .instructions h2, .gto-overview h2, .olq-overview h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .test-grid, .gto-tasks-grid, .olq-factors-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .test-card {
        padding: 20px;
    }

    .test-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .test-card h3 {
        font-size: 1.25rem;
    }

    .test-card p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .btn-material-viewer {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .current-word { font-size: 3rem; padding: 30px 15px; }
    .situation-display { padding: 25px 15px; }
    .situation-text { font-size: 1.2rem; }
    
    /* Mobile adjustments for GTO/OLQ sub-topics */
    .task-header, .factor-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    .task-icon-large, .factor-icon-large {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }
    .task-meta h3, .factor-meta h3 {
        font-size: 1.4rem;
    }
    .task-description p, .factor-description p, .factor-importance p, .quality-card p {
        font-size: 0.95rem;
    }
    .task-process li, .task-tips li, .assessment-criteria li, .sample-content li, .preparation-tips li, .leadership-tips li, .challenges li, .factor-development li {
        font-size: 0.95rem;
    }
}
/* =========================
GTO + OLQ FINAL FIX
========================= */

/* Fix ALL list containers */
.task-process ol,
.task-tips ul,
.assessment-criteria ul,
.sample-content ul,
.preparation-tips ul,
.leadership-tips ul,
.challenges ul,
.factor-development ul {
  margin-left: 22px;
  margin-top: 10px;
  margin-bottom: 20px;
  padding-left: 10px;
}

/* Fix list items */
.task-process li,
.task-tips li,
.assessment-criteria li,
.sample-content li,
.preparation-tips li,
.leadership-tips li,
.challenges li,
.factor-development li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Improve headings */
.task-description h4,
.task-process h4,
.task-tips h4,
.assessment-criteria h4,
.sample-content h4,
.factor-description h4,
.factor-qualities-detailed h4,
.factor-development h4 {
  color: var(--accent);
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Improve spacing between sections */
.task-description,
.task-process,
.task-tips,
.assessment-criteria,
.sample-content,
.preparation-tips,
.leadership-tips,
.challenges,
.factor-description,
.factor-qualities-detailed,
.factor-development {
  margin-bottom: 20px;
}

/* OLQ quality cards (important) */
.quality-card {
  background: rgba(255,255,255,0.03);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.quality-card h5 {
  color: var(--accent);
  margin-bottom: 6px;
}