/**
 * Modern Survey UI - Compact & Elegant
 * Designed for 50+ questions across multiple categories
 * WOW-Factor: Unique, modern, mobile-friendly
 * Version: 2.0
 */

/* ================================================
   GLOBAL BUTTON STYLES
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary, #1A4D78) 0%, var(--indigo-500, #6366f1) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 77, 120, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 77, 120, 0.4);
    background: linear-gradient(135deg, var(--primary-dark, #143B5E) 0%, var(--indigo-600, #4f46e5) 100%);
}

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

.btn-secondary {
    background: #e2e8f0;
    color: var(--gray-700, #334155);
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-large i {
    font-size: 1.2rem;
}

/* ================================================
   LAYOUT & CONTAINER
   ================================================ */
.survey-container {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

/* ================================================
   CATEGORY SIDEBAR - Sticky Navigation
   ================================================ */
.survey-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 350px;
    height: 100vh;
    background: white;
    border-right: 1px solid #e2e8f0;
    padding: 2rem 1.75rem;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.05);
}

/* Logo mit Progress Ring kombiniert */
.survey-sidebar__logo-progress {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.logo-progress-ring .progress-ring {
    transform: rotate(-90deg);
    position: absolute;
    top: 0;
    left: 0;
}

.logo-progress-ring__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: contain;
}

.progress-ring__circle--bg {
    stroke: var(--blue-100, #dbeafe);
}

.progress-ring__circle {
    stroke: url(#progress-gradient);
    transition: stroke-dashoffset 0.5s ease;
}

.logo-progress-ring__percent {
    margin-top: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.survey-sidebar__categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-nav-item {
    margin-bottom: 0.625rem;
}

.category-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.125rem;
    border-radius: 10px;
    color: #64748b;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.category-nav-link:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.category-nav-link.active {
    background: linear-gradient(135deg, var(--primary, #1A4D78) 0%, var(--indigo-500, #6366f1) 100%);
    color: white !important;
    box-shadow: 0 4px 12px rgba(26, 77, 120, 0.3);
}

.category-nav-link__icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    flex-shrink: 0;
}

.category-nav-link.active .category-nav-link__icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-nav-link__content {
    flex: 1;
}

.category-nav-link__title {
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.category-nav-link__count {
    font-size: 0.75rem;
    opacity: 0.7;
}

.category-nav-link__status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    flex-shrink: 0;
}

.category-nav-link.completed .category-nav-link__status {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

/* ================================================
   MAIN CONTENT AREA
   ================================================ */
.survey-main {
    margin-left: 350px;
    flex: 1;
    padding: 3rem 2rem;
    min-height: 100vh;
    background: var(--gray-50, #f8fafc);
}

/* Content Container mit max-width */
.survey-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ================================================
   QUESTION DISPLAY
   Desktop: Alle Fragen einer Kategorie sichtbar
   Mobile: Eine Frage nach der anderen
   ================================================ */

/* Kategorie-Sektion: Nur aktive Kategorie sichtbar */
.category-section {
    display: none;
}

.category-section.active {
    display: block;
}

.question-view {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.question-view__header {
    margin-bottom: 3rem;
}

/* Modern Category Header - Desktop */
.category-header-modern {
    background: linear-gradient(135deg, var(--primary, #1A4D78) 0%, var(--indigo-500, #6366f1) 100%);
    /* background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); */
    /* border-left: 4px solid var(--primary); */
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.category-header-modern__icon {
    border: 2px solid var(--white);
    width: 64px;
    height: 64px;
    border-radius: 12px;
    /* background: white; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: var(--primary); */
    color: var(--white);
    font-size: 1.75rem;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    box-shadow: 0 5px 17px rgba(0, 0, 0, 0.30);
    flex-shrink: 0;
}

.category-header-modern__content {
    flex: 1;
}

.category-header-modern__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    /* margin-bottom: 0.5rem; */
}

.category-header-modern__description {
    font-size: 0.9375rem;
    color: var(--gray-300);
    line-height: 1.6;
    font-weight: 500;
}

.category-header-modern__progress {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

/* Desktop: Questions Container */
.questions-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Mobile Progress Bar */
.mobile-progress {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    z-index: 50; /* Unter Overlay */
}

.mobile-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #6366f1 100%);
    transition: width 0.3s ease;
}

.mobile-progress__text {
    display: none; /* Nur auf Mobile sichtbar */
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 50; /* Unter Overlay */
}

/* ================================================
   COMPACT QUESTION CARD
   ================================================ */
.question-compact {
    background: white;
    border-radius: 20px;
    padding: 2rem 2rem 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    animation: slideInUp 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

/* Header: Nummer links, Text rechts */
.question-compact__header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

/* Quadratische Nummer */
.question-compact__number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary, #1A4D78) 0%, var(--indigo-500, #6366f1) 100%);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Text-Container rechts */
.question-compact__content {
    flex: 1;
    min-width: 0;
}

/* Fragetext */
.question-compact__text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900, #1e293b);
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.01em;
}

.question-compact__required {
    color: #ef4444;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

/* Beschreibungstext */
.question-compact__help {
    font-size: 0.9375rem;
    color: var(--gray-600, #64748b);
    line-height: 1.6;
}

/* ================================================
   COMPACT ANSWER OPTIONS
   ================================================ */
.answers-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Radio/Checkbox - Minimal Design */
.answer-compact {
    position: relative;
    cursor: pointer;
}

.answer-compact__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.answer-compact__label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.answer-compact__input:checked + .answer-compact__label {
    background: linear-gradient(135deg, var(--primary, #1A4D78) 0%, var(--indigo-500) 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

.answer-compact__label:hover {
    border-color: var(--primary);
    background: #f1f5f9;
}

.answer-compact__input:checked + .answer-compact__label:hover {
    background: linear-gradient(135deg, var(--primary-dark, #143B5E) 0%, var(--indigo-600) 100%);
}

.answer-compact__indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: white;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.answer-compact__input:checked + .answer-compact__label .answer-compact__indicator {
    border-color: white;
    background: white;
}

.answer-compact__input:checked + .answer-compact__label .answer-compact__indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

/* Checkbox Variant */
.answer-compact__indicator--checkbox {
    border-radius: 6px;
}

.answer-compact__input:checked + .answer-compact__label .answer-compact__indicator--checkbox::after {
    content: '\2713';
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

.answer-compact__text {
    flex: 1;
}

/* ================================================
   COMPACT RATING SCALE
   ================================================ */
.rating-compact {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.rating-compact__item {
    flex: 1;
    max-width: 120px;
}

.rating-compact__button {
    width: 100%;
    min-height: 100px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
}

.rating-compact__button:hover {
    border-color: var(--primary);
    background: #f1f5f9;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.rating-compact__button.selected {
    /* background: linear-gradient(135deg, var(--primary, #1A4D78) 0%, var(--indigo-500) 100%); */
    background: linear-gradient(135deg, #1a4d78b0 0%, #6366f1b5 100%);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.4);
    z-index: 2;
}

/* Zahl im Button */
.rating-compact__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #64748b;
    line-height: 1;
}

.rating-compact__button.selected .rating-compact__number {
    color: white;
}

/* Text im Button (dezent, kleiner) */
.rating-compact__text {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    opacity: 0.8;
}

.rating-compact__button.selected .rating-compact__text {
    color: white;
    opacity: 0.95;
}

.rating-compact__button:hover .rating-compact__number {
    color: var(--primary);
}

.rating-compact__button.selected:hover .rating-compact__number {
    color: white;
}

.rating-compact__extremes {
    display: none; /* Desktop: versteckt, Labels sind in Buttons */
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
}

/* ================================================
   BELASTUNGS-ABFRAGE (Innovative Expansion)
   ================================================ */
.stress-query {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #e2e8f0;
    display: none;
}

.stress-query.active {
    display: block;
    animation: slideInDown 0.4s ease;
}

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

.stress-query__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stress-query__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.stress-query__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.stress-query__subtitle {
    font-size: 0.875rem;
    color: #64748b;
}

/* Stress Scale - Icon-based, compact */
.stress-scale {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.stress-scale__option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.stress-scale__button {
    width: 75px;
    height: 55px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.85rem;
    color: var(--gray-500, #64748b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stress-scale__button:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--blue-50, #EFF6FC);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 120, 0.15);
}

.stress-scale__button.selected {
    border-color: var(--primary);
    /* background: linear-gradient(135deg, var(--primary, #1A4D78) 0%, var(--indigo-500) 100%); */
    background: linear-gradient(135deg, #1a4d78b0 0%, #6366f1b5 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 77, 120, 0.25);
}

.stress-scale__label {
    font-size: 0.6875rem;
    color: var(--gray-500, #64748b);
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
}

/* ================================================
   TEXT INPUT - Compact
   ================================================ */
.text-input-compact {
    margin-top: 0.5rem;
}

.text-input-compact__field {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.2s;
    background: #f8fafc;
}

.text-input-compact__field:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.text-input-compact__textarea {
    min-height: 120px;
    resize: vertical;
}

.text-input-compact__counter {
    text-align: right;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* ================================================
   SLIDER - Compact
   ================================================ */
.slider-compact {
    padding: 2rem 1rem 1rem;
}

.slider-compact__track {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #ef4444 0%, #f59e0b 50%, #10b981 100%);
    border-radius: 3px;
    outline: none;
}

.slider-compact__track::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.slider-compact__track::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.slider-compact__track::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-compact__value {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1rem;
}

.slider-compact__labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
}

/* ================================================
   NAVIGATION BUTTONS (Desktop: inline, Mobile: FAB)
   ================================================ */
.survey-fab-container {
    /* Desktop: Inline unter dem Content */
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
    margin-top: 1rem;
}

.survey-fab {
    /* Desktop: Normale Buttons */
    min-width: 140px;
    height: 48px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.survey-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.survey-fab:active {
    transform: translateY(0);
}

.survey-fab:focus {
    outline: none;
}

.survey-fab--prev {
    background: white;
    color: var(--primary);
    border: 2px solid #e2e8f0;
}

.survey-fab--next {
    background: linear-gradient(135deg, var(--primary, #1A4D78) 0%, var(--indigo-500) 100%);
    color: white;
}

.survey-fab--submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.survey-fab:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ================================================
   MOBILE RESPONSIVENESS
   ================================================ */
@media (max-width: 1200px) {
    .survey-sidebar {
        width: 300px;
        padding: 1.75rem 1.25rem;
    }
    
    .survey-main {
        margin-left: 300px;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Sidebar Overlay - dunkler Hintergrund mit Blur */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 99;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Sidebar von RECHTS einsliden */
    .survey-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: auto;
        right: 0;
        width: 350px;
        max-width: 90vw;
        height: 100vh;
        border-right: none;
        border-left: 1px solid #e2e8f0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding: 2rem 1.5rem;
        z-index: 100;
        overflow-y: auto;
    }
    
    .survey-sidebar.open {
        transform: translateX(0);
    }
    
    .survey-main {
        margin-left: 0;
        padding: 1.5rem 1rem;
        padding-bottom: 8rem;
        padding-top: 4rem; /* Platz für Mobile Progress */
    }
    
    /* Mobile: One-Question-Per-View */
    .questions-container .question-compact {
        display: none;
    }
    
    .questions-container .question-compact:first-child {
        display: block;
    }
    
    .question-compact {
        padding: 1.5rem 1.25rem 2rem;
        border-radius: 16px;
    }
    
    .question-compact__header {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .question-compact__number {
        min-width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .question-compact__text {
        font-size: 1.1rem;
    }
    
    .question-compact__help {
        font-size: 0.875rem;
    }
    
    /* Mobile: Category Header kompakter */
    .category-header-modern {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }
    
    .category-header-modern__icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .category-header-modern__title {
        font-size: 1.125rem;
    }
    
    .category-header-modern__description {
        font-size: 0.8125rem;
    }
    
    .category-header-modern__progress {
        display: none; /* In Mobile Progress Bar */
    }
    
    /* Mobile: Rating kompakt */
    .rating-compact__item {
        max-width: none;
    }
    
    .rating-compact__button {
        min-height: 80px; /* Kleiner auf Mobile */
        gap: 0.375rem;
        padding: 0.625rem 0.375rem;
    }
    
    .rating-compact__number {
        font-size: 1.25rem;
    }
    
    /* Mobile: Labels IN Buttons verstecken */
    .rating-compact__text {
        display: none;
    }
    
    /* Mobile: Extremes UNTER Buttons anzeigen */
    .rating-compact__extremes {
        display: flex;
        justify-content: space-between;
        margin-top: 0.5rem;
        font-size: 0.6875rem;
    }
    
    /* Mobile: Stress Scale kleiner */
    .stress-scale__button {
        width: 50px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .stress-scale__label {
        font-size: 0.625rem;
    }
    
    /* Mobile Progress sichtbar */
    .mobile-progress {
        display: block;
    }
    
    .mobile-progress__text {
        display: block;
    }
    
    /* Mobile: FAB-Buttons als Floating Buttons */
    .survey-fab-container {
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        flex-direction: column;
        padding: 0;
        margin: 0;
        z-index: 50;
    }
    
    .survey-fab {
        width: 56px;
        height: 56px;
        min-width: unset;
        border-radius: 50%;
        font-size: 1.25rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
    
    /* Verstecke Button-Text auf Mobile */
    .survey-fab .fab-text {
        display: none;
    }
    
    /* Mobile: Show category toggle button */
    .category-toggle-btn {
        display: flex;
        position: fixed;
        top: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: white;
        border: 2px solid #e2e8f0;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 101;
        cursor: pointer;
    }
}

@media (min-width: 769px) {
    .category-toggle-btn {
        display: none;
    }
}

/* ================================================
   ANIMATIONS & TRANSITIONS
   ================================================ */
.fade-in {
    animation: fadeIn 0.3s ease;
}

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

.slide-in-left {
    animation: slideInLeft 0.4s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================================
   MICRO INTERACTIONS
   ================================================ */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ================================================
   INTRO SECTION - Einführungsseite
   ================================================ */
.intro-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.intro-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.intro-card--welcome {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--blue-50, #EFF6FC);
    border: 1px solid var(--blue-200, #ADD1EF);
}

.intro-card--welcome .intro-card__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary, #1A4D78);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.intro-card--welcome h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--blue-800, #0E2A45);
}

.intro-card--welcome p {
    margin: 0;
    color: var(--blue-700, #143B5E);
    line-height: 1.6;
}

.intro-card--tips h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--dark-gray, #1e293b);
}

.intro-card--tips h3 i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

.intro-tips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-tips li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0px 12px 12px 0px;
    border-left: 4px solid var(--primary);
}

.intro-tips li > i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.intro-tips li div {
    display: flex;
    flex-direction: column;
}

.intro-tips li strong {
    color: var(--dark-gray, #1e293b);
    font-size: 0.95rem;
}

.intro-tips li span {
    color: var(--gray-600, #64748b);
    font-size: 0.85rem;
    margin-top: 0.125rem;
}

.intro-card--scale h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    color: var(--dark-gray, #1e293b);
}

.intro-card--scale h3 i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.intro-card--scale p {
    margin: 0;
    color: var(--gray-600, #64748b);
}

.intro-scale-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.intro-scale-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.intro-scale-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.intro-scale-label {
    font-size: 0.85rem;
    color: var(--gray-600, #64748b);
    text-align: center;
}

.intro-scale-arrow {
    color: var(--gray-400, #94a3b8);
    font-size: 1.25rem;
}

.intro-card--privacy {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.intro-card--privacy .intro-card__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.intro-card--privacy h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #065f46;
}

.intro-card--privacy p {
    margin: 0;
    color: #047857;
    line-height: 1.6;
    font-size: 0.9rem;
}

.intro-start {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.intro-start .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    gap: 0.75rem;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .intro-card {
        padding: 1.25rem;
    }
    
    .intro-card--welcome {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-card--welcome .intro-card__icon {
        margin: 0 auto;
    }
    
    .intro-card--privacy {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-card--privacy .intro-card__icon {
        margin: 0 auto;
    }
    
    .intro-scale-demo {
        flex-direction: row;
        gap: 1rem;
    }
    
    .intro-scale-arrow {
        transform: rotate(0deg);
    }
}

/* ================================================
   ANSWERS SUMMARY - Antwort-Übersicht
   ================================================ */
.answers-summary {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.answers-summary__title {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--dark-gray, #1e293b);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.answers-summary__title i {
    color: var(--primary);
}

.answers-summary__hint {
    margin: 0 0 1.5rem 0;
    font-size: 0.85rem;
    color: var(--gray-500, #64748b);
}

.answers-summary__category {
    margin-bottom: 1.25rem;
}

.answers-summary__category:last-child {
    margin-bottom: 0;
}

.answers-summary__category-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-gray, #1e293b);
}

.answers-summary__category-header i {
    color: var(--primary);
    font-size: 0.85rem;
}

.answers-summary__questions {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.answers-summary__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #fafafa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.answers-summary__item:hover {
    background: var(--blue-50, #EFF6FC);
    border-color: var(--primary);
}

.answers-summary__question {
    flex: 1;
    font-size: 0.875rem;
    color: var(--gray-700, #334155);
    padding-right: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.answers-summary__answer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.answers-summary__answer .answer-value {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 0.75rem;
}

.answers-summary__answer .answer-value.empty {
    background: var(--gray-300, #cbd5e1);
    color: var(--gray-500, #64748b);
}

.answers-summary__answer .answer-stress {
    font-size: 1.25rem;
    min-width: 28px;
    text-align: center;
}

/* ================================================
   EDIT MODAL - Korrektur-Modal
   ================================================ */
.edit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

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

.edit-modal {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.edit-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.edit-modal__header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-gray, #1e293b);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.edit-modal__header h3 i {
    color: var(--primary);
}

.edit-modal__close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-500, #64748b);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.edit-modal__close:hover {
    color: var(--gray-700, #334155);
}

.edit-modal__content {
    padding: 1.5rem;
}

.edit-modal__question {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-gray, #1e293b);
    line-height: 1.5;
}

.edit-modal__section {
    margin-bottom: 1.5rem;
}

.edit-modal__section:last-child {
    margin-bottom: 0;
}

.edit-modal__section label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600, #475569);
}

.edit-modal__rating {
    display: flex;
    gap: 0.5rem;
}

.edit-rating-btn {
    flex: 1;
    padding: 0.875rem 0.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-600, #475569);
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-rating-btn:hover {
    border-color: var(--primary);
    background: var(--blue-50);
}

.edit-rating-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.edit-modal__stress {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.edit-stress-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 1.25rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-stress-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--blue-50);
}

.edit-stress-btn.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--indigo-500) 100%);
    color: white;
}

.edit-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
}

.edit-modal__footer .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
}

.edit-modal__footer .btn-secondary {
    background: #e2e8f0;
    color: var(--gray-700, #334155);
}

.edit-modal__footer .btn-secondary:hover {
    background: #cbd5e1;
}

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

.edit-modal__footer .btn-primary:hover {
    background: var(--primary-dark);
}

/* ================================================
   SUBMIT SECTION - Abschluss-Bereich
   ================================================ */
.survey-submit-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.personal-code-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.personal-code-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--dark-gray, #1e293b);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.personal-code-card h3 i {
    color: var(--primary);
}

.personal-code-card .optional-hint {
    font-weight: 400;
    color: var(--gray-500, #64748b);
}

.personal-code-card > p {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
    color: var(--gray-600, #475569);
    line-height: 1.5;
}

.personal-code-input {
    width: 100%;
    max-width: 320px;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.personal-code-input:focus {
    outline: none;
    border-color: var(--primary);
}

.personal-code-hint {
    margin: 0.75rem 0 0 0 !important;
    font-size: 0.8rem !important;
    color: var(--gray-500, #64748b) !important;
}

.personal-code-hint i {
    margin-right: 0.25rem;
}

.submit-survey-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.submit-survey-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

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

.submit-survey-btn i {
    font-size: 1.25rem;
}

/* Offline-Warnung */
.offline-warning {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    color: #92400e;
    font-weight: 500;
    margin-top: 1rem;
}

.offline-warning i {
    font-size: 1.5rem;
    color: #d97706;
    flex-shrink: 0;
}

.offline-warning span {
    line-height: 1.4;
}

/* Mobile Anpassungen für Summary und Modal */
@media (max-width: 768px) {
    .answers-summary__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .answers-summary__question {
        white-space: normal;
        padding-right: 0;
    }
    
    .answers-summary__answer {
        align-self: flex-end;
    }
    
    .edit-modal {
        max-height: 80vh;
    }
    
    .edit-modal__footer {
        flex-direction: column;
    }
    
    .edit-modal__footer .btn {
        width: 100%;
    }
}

/* ================================================
   DEMOGRAFISCHE FRAGEN SEKTION
   ================================================ */

.category-section--demographics {
    display: none;
}

.category-section--demographics.active {
    display: block;
}

.demographics-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.demographics-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.demographics-header__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary, #1A4D78) 0%, var(--indigo-500) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demographics-header__icon i {
    font-size: 1.75rem;
    color: white;
}

.demographics-header__content h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--dark-gray, #1e293b);
}

.demographics-header__content p {
    margin: 0;
    color: var(--gray-600, #475569);
    line-height: 1.6;
}

/* Demografische Fragen */
.demographics-questions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demographic-question {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.demographic-question__label {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-gray, #1e293b);
    margin-bottom: 0.5rem;
}

.demographic-question__label .required-marker {
    color: #ef4444;
    margin-left: 0.25rem;
}

.demographic-question__hint {
    font-size: 0.875rem;
    color: var(--gray-500, #64748b);
    margin: 0 0 1rem 0;
}

/* Text Input */
.demographic-input--text {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.demographic-input--text:focus {
    outline: none;
    border-color: var(--primary);
}

/* Options (Radio & Checkbox) */
.demographic-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.demographic-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1 1 auto;
    min-width: 140px;
}

.demographic-option:hover {
    border-color: var(--primary);
    background: #f1f5f9;
}

.demographic-option input {
    display: none;
}

.demographic-option__text {
    font-weight: 500;
    color: var(--gray-700, #334155);
    flex: 1;
}

.demographic-option__check {
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.demographic-option__check i {
    font-size: 0.75rem;
    color: white;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Multi-Select: Quadratische Checkboxen */
.demographic-options--multi .demographic-option__check {
    border-radius: 6px;
}

/* Selected State */
.demographic-option--selected {
    border-color: var(--primary);
    background: var(--blue-50);
}

.demographic-option--selected .demographic-option__check {
    background: var(--primary);
    border-color: var(--primary);
}

.demographic-option--selected .demographic-option__check i {
    opacity: 1;
}

/* Footer mit Button */
.demographics-footer {
    margin-top: 2rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .demographics-container {
        padding: 1rem;
    }
    
    .demographics-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .demographics-header__icon {
        margin: 0 auto;
    }
    
    .demographic-option {
        min-width: 100%;
    }
}

/* Demografische Modal Optionen */
.demographic-modal-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.demographic-modal-options .demographic-option {
    min-width: auto;
}

.demographic-modal-options .demographic-input--text {
    width: 100%;
}

/* ================================================
   SIDEBAR COMPLETION STATUS (Häkchen)
   ================================================ */
.category-nav-link__status {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-nav-link__status.completed {
    color: var(--success-500, #22c55e);
}

.category-nav-link__status.completed i {
    font-size: 1rem;
}

/* Häkchen weiß wenn Kategorie aktiv */
.category-nav-link.active .category-nav-link__status.completed {
    color: white;
}

/* Abschluss-Icon Styling - dezenteres Grün */
.category-nav-link__icon--submit {
    background: var(--success-300, #86efac) !important;
}

.category-nav-link__icon--submit i {
    color: white !important;
}

.category-nav-link[data-category="submit"].active .category-nav-link__icon--submit {
    background: var(--success-400, #4ade80) !important;
}

/* ================================================
   VALIDATION TOAST
   ================================================ */
.validation-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(239, 68, 68, 0.2);
    border-left: 4px solid #ef4444;
    z-index: 10000;
    max-width: 480px;
    width: calc(100% - 2rem);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.validation-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.validation-toast__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.validation-toast__icon i {
    font-size: 1.25rem;
    color: #ef4444;
}

.validation-toast__content {
    flex: 1;
}

.validation-toast__title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.validation-toast__message {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

.validation-toast__message .required-marker {
    color: #ef4444;
    font-weight: 600;
}

.validation-toast__details {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.validation-toast__details span {
    display: inline-block;
    background: #fef2f2;
    color: #dc2626;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    margin: 0.125rem 0.25rem 0.125rem 0;
}

.validation-toast__close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    margin: -0.25rem -0.25rem -0.25rem 0;
    transition: color 0.2s;
}

.validation-toast__close:hover {
    color: #6b7280;
}

/* Required marker in summary */
.answers-summary__question .required-marker {
    color: #ef4444;
    margin-left: 0.25rem;
    font-weight: 600;
}

/* Highlight missing required answers */
.answers-summary__item--required.missing {
    background: #fef2f2;
    border-color: #fca5a5;
}

.answers-summary__item--required.missing .answers-summary__question {
    color: #dc2626;
}

/* Validation Error Animation */
.question-compact.validation-error,
.demographic-question.validation-error {
    animation: shake 0.5s ease-in-out;
    box-shadow: 0 0 0 2px #ef4444, 0 4px 12px rgba(239, 68, 68, 0.2);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}
