/**
 * Public Styles für Bedarfsanalyse-Wizard
 */

/* Required Field Indicator */
.required-indicator {
    color: #dc3545;
    font-weight: bold;
    margin-left: 4px;
    font-size: 1.2em;
}

/* Required Message */
.required-message {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #856404;
    font-weight: 500;
    display: flex;
    align-items: center;
    animation: slideDown 0.3s ease-out;
}

.required-message::before {
    content: "⚠️";
    margin-right: 10px;
    font-size: 1.2em;
}

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

/* Haupt-Container */
.bedarfanalyse-wizard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #333;
}

/* Wizard Header */
.wizard-header {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.wizard-header h1 {
    font-size: 28px;
    color: #1d2327;
    margin: 0 0 20px 0;
    font-weight: 600;
}

/* Wizard Action Bar */
.wizard-action-bar {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 16px 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Wizard Action Bar im Admin - gleiche Breite wie Content */
.wizard-action-bar-admin {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Abschluss-Button in Action Bar */
/* ENTFERNT: Button wird durch .show Klasse gesteuert (siehe Zeile 136) */
/* .wizard-action-bar-admin #wizard-complete-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
} */

.wizard-action-bar .action-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.wizard-action-bar .action-right {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

.wizard-action-bar .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

/* Verstecke spezifische Buttons initial */
#btn-adjust-sections-admin,
#wizard-complete-btn,
#wizard-filter-btn {
    display: none !important;
}

/* Zeige die Buttons nur wenn sie die 'show' Klasse haben */
#btn-adjust-sections-admin.show,
#wizard-complete-btn.show,
#wizard-filter-btn.show {
    display: inline-flex !important;
}

/* Disabled State für Abschließen Button */
#wizard-complete-btn:disabled,
#wizard-complete-btn.btn-disabled,
#btn-complete:disabled,
#btn-complete.btn-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #ccc !important;
    color: #666 !important;
}

.wizard-action-bar .button-secondary {
    background: #f6f7f7 !important;
    color: #2c3338 !important;
}

.wizard-action-bar .button-secondary:hover {
    background: #e8e8e8 !important;
}

.wizard-action-bar .button-primary {
    background: linear-gradient(135deg, #0039A6 0%, #0052D9 100%) !important;
    color: white !important;
}

.wizard-action-bar .button-primary:hover {
    background: linear-gradient(135deg, #0052D9 0%, #0039A6 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 57, 166, 0.3) !important;
}

/* Wizard Container */
.wizard-container {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

/* Für Admin-Wizard: Sections-Screen mit Container-Styling (nur wenn im Admin) */
.bedarfanalyse-wizard-admin .wizard-screen-sections {
    background: white;
    border: 0;
    border-radius: 0;
    padding: 40px;
    box-shadow: none;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* Admin: Fragen-Screen mit Innenabstand und max-width */
.bedarfanalyse-wizard-admin .wizard-screen-questions {
    padding: 40px;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

/* Admin: Wizard Container mit max-width */
.bedarfanalyse-wizard-admin .wizard-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Abstand zwischen Action Bar und Content Box im Admin-Wizard */
.bedarfanalyse-wizard-admin .wizard-action-bar-admin {
    margin-bottom: 30px;
}

/* Progress Timeline */
.wizard-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background-color: #0039A6;
    transition: width 0.3s ease;
}

/* Sections Grid */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.section-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.section-card:hover {
    border-color: #0039A6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 57, 166, 0.15);
}

.section-card.selected {
    border-color: #0039A6;
    background-color: #f0f5ff;
}

/* Pflichtbereiche */
.section-card.section-required {
    border-color: #0039A6;
    background-color: #f0f5ff;
    position: relative;
    opacity: 1 !important;
}

.section-card.section-required::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #0039A6;
    border-radius: 8px;
    pointer-events: none;
}

.section-card.section-required:hover {
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 57, 166, 0.15);
}

.section-required-badge {
    color: #0039A6;
    font-weight: bold;
    font-size: 1.3em;
    margin-left: 4px;
    vertical-align: middle;
}

.section-required-hint {
    margin-top: 10px;
    padding: 6px 10px;
    background: rgba(0, 57, 166, 0.1);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #0039A6;
    text-align: center;
}

.section-card.section-required .section-checkbox {
    cursor: not-allowed;
}

.section-card .section-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #0039A6;
}

.section-card p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.section-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Questions Screen */
.wizard-screen-questions {
    background: white;
    /* Original-Styling beibehalten */
}

/* Filter Accordion Wrapper - außerhalb des Layout-Containers, zwischen Navigation und Content */
.wizard-filter-accordion-wrapper {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 0 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Questions Layout: 2 Spalten (Navigation, Content) */
.wizard-questions-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Bereich nimmt restlichen Platz */
.wizard-main-content {
    flex: 1;
    min-width: 0; /* Verhindert Overflow */
}

/* Responsive: Filter Accordion auf kleineren Bildschirmen */
@media (max-width: 1200px) {
    .wizard-questions-layout {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .wizard-sidebar {
        width: 100%;
        flex: 1 1 auto;
    }
    
    .wizard-filter-accordion-wrapper {
        margin: 0 20px 20px 20px;
        padding: 0 20px;
    }
    
    .wizard-filter-options {
        flex-direction: column;
    }
}

/* Linke Sidebar: Navigation (25%) */
.wizard-sidebar {
    flex: 0 0 280px;
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.wizard-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.wizard-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.wizard-sidebar-content {
    padding: 16px;
}

/* Filter Accordion */
.wizard-filter-accordion-wrapper .wizard-filter-accordion {
    background: #f9fafb;
    border-radius: 8px;
}

.wizard-filter-accordion-wrapper .wizard-filter-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e5e7eb;
}

.wizard-filter-accordion-wrapper .wizard-filter-accordion-header:hover {
    background-color: #f3f4f6;
}

.wizard-filter-accordion-wrapper .wizard-filter-accordion-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.wizard-filter-accordion-wrapper .wizard-filter-accordion-toggle {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s ease;
}

.wizard-filter-accordion-wrapper .wizard-filter-accordion-toggle:hover {
    color: #0039A6;
}

.wizard-filter-accordion-wrapper .wizard-filter-accordion-toggle .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.wizard-filter-accordion-wrapper .wizard-filter-accordion-content {
    padding: 0 20px 20px 20px;
    display: none;
}

.wizard-filter-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.wizard-filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    user-select: none;
}

.wizard-filter-option:hover {
    background-color: #f3f4f6;
}

.wizard-filter-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #0039A6;
}

.wizard-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.wizard-filter-label .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #0039A6;
}

.wizard-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.wizard-filter-actions .button {
    flex: 1;
    padding: 10px 16px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.wizard-filter-actions .button-primary {
    background: linear-gradient(135deg, #0039A6 0%, #0052D9 100%) !important;
    color: white !important;
    border: none !important;
}

.wizard-filter-actions .button-primary:hover {
    background: linear-gradient(135deg, #0052D9 0%, #0039A6 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 57, 166, 0.3) !important;
}

.wizard-filter-actions .button-secondary {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}

.wizard-filter-actions .button-secondary:hover {
    background: #e5e7eb !important;
    border-color: #9ca3af !important;
}

/* Navigation - Bereiche */
.nav-section {
    margin-bottom: 16px;
}

.nav-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding: 0 8px;
}

.nav-questions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-question-item {
    margin-bottom: 4px;
}

.nav-question-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-question-link:hover {
    background-color: #f3f4f6;
    color: #0039A6;
}

.nav-question-link.active {
    background-color: #0039A6;
    color: #ffffff;
    font-weight: 500;
}

.nav-question-link.answered {
    color: #059669;
}

.nav-question-link.answered::before {
    content: "✓";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    color: #059669;
    font-weight: bold;
}

.nav-question-link.active.answered::before {
    color: #ffffff;
}

/* Pflichtfragen-Styling in Navigation */
.nav-question-link.required .nav-question-number::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

.nav-question-link.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.nav-question-link.disabled:hover {
    background-color: transparent !important;
}

.nav-question-number {
    flex-shrink: 0;
    font-weight: 500;
    color: currentColor;
}

.nav-question-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Navigation Icons */
.nav-question-icons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
    vertical-align: middle;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    cursor: help;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-icon:hover {
    opacity: 1;
}

.nav-icon-required {
    color: #dc3545;
    font-weight: bold;
    font-size: 16px;
}

.nav-icon-weight {
    font-size: 14px;
}

.nav-icon-product {
    font-size: 14px;
}

/* Icons bei aktiven Links */
.nav-question-link.active .nav-icon-required {
    color: #ffcccc;
}

.nav-question-link.active .nav-icon-weight,
.nav-question-link.active .nav-icon-product {
    opacity: 0.95;
}

/* Question Title Icons */
.question-title-icons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    vertical-align: middle;
}

.question-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    cursor: help;
}

.question-icon-required {
    color: #dc3545;
    font-weight: bold;
    font-size: 18px;
}

.question-icon-weight {
    font-size: 16px;
}

.question-icon-product {
    font-size: 16px;
}

/* Rechter Bereich: Fragen (75%) */
.wizard-main-content {
    flex: 1;
    min-width: 0;
    max-width: 900px;
}

.question-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-top: 10px;
}

.question-header {
    flex: 1;
    margin: 0;
}

.question-header h2 {
    font-size: 24px;
    color: #0039A6;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.question-header p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.question-content-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.question-section-badge {
    display: inline-block;
    background-color: #E8F0FE;
    color: #0039A6;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #C2DAFF;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Input Styles */
.question-content input[type="text"],
.question-content input[type="number"],
.question-content textarea,
.question-content select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.question-content input:focus,
.question-content textarea:focus,
.question-content select:focus {
    outline: none;
    border-color: #0039A6;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-option-card {
    position: relative;
    display: block;
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.radio-option-card:hover {
    border-color: #0039A6;
    background-color: #f9fbff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 57, 166, 0.1);
}

.radio-option-card.selected {
    border-color: #0039A6;
    background-color: #f0f5ff;
    box-shadow: 0 2px 12px rgba(0, 57, 166, 0.15);
}

.radio-input-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.radio-option-label {
    font-size: 16px;
    color: #333;
    flex: 1;
}

.radio-option-checkmark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: transparent;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.radio-option-card.selected .radio-option-checkmark {
    background-color: #0039A6;
    border-color: #0039A6;
    color: white;
}

/* Slider */
.slider-container {
    margin: 20px 0;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0039A6;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0039A6;
    cursor: pointer;
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* Multi-Select */
.multiselect-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-option-card {
    position: relative;
    display: block;
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-option-card:hover {
    border-color: #0039A6;
    background-color: #f9fbff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 57, 166, 0.1);
}

.checkbox-option-card.selected {
    border-color: #0039A6;
    background-color: #f0f5ff;
    box-shadow: 0 2px 12px rgba(0, 57, 166, 0.15);
}

.checkbox-input-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-option-label {
    font-size: 16px;
    color: #333;
    flex: 1;
}

.checkbox-option-checkmark {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: transparent;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.checkbox-option-card.selected .checkbox-option-checkmark {
    background-color: #0039A6;
    border-color: #0039A6;
    color: white;
}

/* Buttons */
.wizard-actions {
    margin-top: 32px;
    padding: 0;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.wizard-actions-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.wizard-actions-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #646970;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
}

/* Results Screen */
.wizard-screen-results {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.results-container {
    margin: 30px 0;
}

/* ========================================
   Pricing Summary - Prominent display
   ======================================== */
.pricing-summary-container {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #0039A6 0%, #0052D9 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 57, 166, 0.15);
}

.pricing-summary-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 25px 0;
    text-align: center;
    color: white;
}

.pricing-summary-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.pricing-summary-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pricing-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0039A6 0%, #0052D9 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card-icon .dashicons {
    color: white;
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.pricing-card-content {
    flex: 1;
}

.pricing-card-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card-value {
    margin-bottom: 8px;
}

.pricing-range {
    font-size: 26px;
    font-weight: 700;
    color: #0039A6;
    display: block;
    line-height: 1.2;
}

.pricing-card-hint {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

.pricing-summary-note {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.pricing-summary-note .dashicons {
    color: white;
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   Solutions Grid
   ======================================== */
.solutions-header {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 20px 0;
}

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

.solution-card {
    background: white;
    padding: 25px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.solution-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.solution-card-highlight {
    border-color: #0039A6;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0ff 100%);
    box-shadow: 0 4px 15px rgba(0, 57, 166, 0.1);
}

.solution-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.solution-name {
    font-size: 20px;
    font-weight: 600;
    color: #0039A6;
    flex: 1;
}

.solution-weight {
    font-size: 28px;
    font-weight: 700;
    color: #0039A6;
    line-height: 1;
}

.solution-description {
    color: #666;
    line-height: 1.6;
    margin: 10px 0 15px 0;
}

.solution-pricing {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.solution-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
    gap: 15px;
}

.solution-pricing-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.solution-pricing-value {
    font-size: 15px;
    font-weight: 700;
    color: #0039A6;
    text-align: right;
}

/* Legacy styles (kept for backwards compatibility) */
.solution-card.highlight {
    border-color: #0039A6;
    background-color: #f0f5ff;
}

.price-estimate {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.price-estimate p {
    margin: 5px 0;
    color: #666;
}

/* ========================================
   Pricing Details / Breakdown
   ======================================== */
.pricing-details-toggle {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: rgba(0, 57, 166, 0.05);
    border: 1px solid rgba(0, 57, 166, 0.2);
    border-radius: 6px;
    color: #0039A6;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pricing-details-toggle:hover {
    background: rgba(0, 57, 166, 0.1);
    border-color: rgba(0, 57, 166, 0.3);
}

.pricing-details-toggle .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.pricing-breakdown {
    margin-top: 15px;
    padding: 20px;
    background: rgba(0, 57, 166, 0.03);
    border-radius: 8px;
    font-size: 13px;
}

.pricing-breakdown-section {
    margin-bottom: 20px;
}

.pricing-breakdown-section:last-child {
    margin-bottom: 0;
}

.pricing-breakdown-section > strong {
    display: block;
    color: #0039A6;
    font-size: 14px;
    margin-bottom: 12px;
}

.pricing-breakdown-items {
    margin-left: 10px;
}

.pricing-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    gap: 15px;
}

.pricing-breakdown-row span:first-child {
    flex: 1;
    color: #666;
}

.pricing-breakdown-row span:last-child {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.pricing-breakdown-row small {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 4px;
}

.pricing-breakdown-discount {
    padding: 12px;
    margin-top: 12px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pricing-breakdown-discount .dashicons {
    color: #0039A6;
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-breakdown-discount strong {
    color: #0039A6;
    display: block;
    margin-bottom: 4px;
}

.pricing-breakdown-discount small {
    display: block;
    color: #666;
    font-size: 11px;
    line-height: 1.4;
}

.pricing-breakdown-yearly {
    padding: 12px;
    margin-top: 12px;
    background: rgba(0, 57, 166, 0.08);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-breakdown-yearly strong {
    color: #0039A6;
}

/* Responsive */
@media (max-width: 768px) {
    .sections-grid {
        grid-template-columns: 1fr;
    }

    .wizard-screen-questions,
    .wizard-screen-results {
        padding: 15px 20px;
    }
    
    /* Responsive: Navigation untereinander auf mobil */
    .wizard-questions-layout {
        flex-direction: column;
    }
    
    .wizard-sidebar {
        flex: 0 0 auto;
        width: 100%;
        position: static;
        max-height: none;
        margin-bottom: 20px;
    }
    
    .wizard-main-content {
        max-width: 100%;
    }
    
    .question-header-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .question-section-badge {
        font-size: 9px;
        padding: 3px 8px;
        letter-spacing: 0.3px;
    }
    
    .question-header h2 {
        font-size: 20px !important;
    }

    .wizard-actions {
        flex-direction: column;
        padding: 0;
        gap: 10px;
        margin-top: 24px;
    }
    
    .wizard-actions-left,
    .wizard-actions-right {
        width: 100%;
        flex-direction: column;
    }
    
    .wizard-actions-left {
        order: 2;
    }
    
    .wizard-actions-right {
        order: 1;
    }

    .btn {
        width: 100%;
    }

    /* Pricing Summary - Mobile */
    .pricing-summary-container {
        padding: 20px;
    }

    .pricing-summary-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .pricing-summary-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pricing-summary-card {
        padding: 20px;
    }

    .pricing-card-icon {
        width: 45px;
        height: 45px;
    }

    .pricing-card-icon .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }

    .pricing-range {
        font-size: 22px;
    }

    .pricing-summary-note {
        font-size: 12px;
        padding: 12px;
    }

    /* Solutions Grid - Mobile */
    .solutions-header {
        font-size: 18px;
        margin: 20px 0 15px 0;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .solution-card {
        padding: 20px;
    }

    .solution-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .solution-name {
        font-size: 18px;
    }

    .solution-weight {
        font-size: 24px;
    }

    .solution-pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .solution-pricing-value {
        text-align: left;
    }
    
    /* Pricing Breakdown - Mobile */
    .pricing-breakdown {
        padding: 15px;
    }
    
    .pricing-breakdown-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .pricing-breakdown-row span:last-child {
        text-align: left;
    }
    
    .pricing-breakdown-yearly {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Modified Fields */
.question-content .modified {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.modified-indicator {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* Error Messages */
.error-message {
    padding: 15px;
    background-color: #fff5f5;
    border: 2px solid #feb2b2;
    border-radius: 4px;
    color: #c53030;
    font-size: 14px;
    margin: 20px 0;
    text-align: center;
}

/* Number Input with Presets */
.number-input-with-presets {
    margin: 20px 0;
}

.number-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.number-preset-btn {
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.number-preset-btn:hover {
    border-color: #0039A6;
    background-color: #f9fbff;
    transform: translateY(-1px);
}

.number-preset-btn.active {
    border-color: #0039A6;
    background-color: #0039A6;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 57, 166, 0.2);
}

.number-custom-input-wrapper {
    margin-top: 20px;
}

.number-custom-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.number-custom-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.number-custom-input:hover {
    border-color: #bbb;
}

.number-custom-input:focus {
    outline: none;
    border-color: #0039A6;
    box-shadow: 0 0 0 3px rgba(0, 57, 166, 0.1);
}

.number-custom-input::placeholder {
    color: #999;
}

/* ===================================
   Services Tabelle
   =================================== */
.services-table-container {
    margin-top: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.services-table-title {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-table-title .dashicons {
    color: #3498db;
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.services-table-subtitle {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 14px;
}

.service-category-section {
    margin-bottom: 30px;
}

.service-category-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 14px;
}

.services-table thead th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

.services-table thead th.text-center {
    text-align: center;
}

.services-table thead th.text-right {
    text-align: right;
}

.services-table tbody tr {
    border-bottom: 1px solid #dee2e6;
}

.services-table tbody tr:hover {
    background: #f8f9fa;
}

.services-table tbody td {
    padding: 15px 12px;
    vertical-align: top;
}

.service-name-cell {
    min-width: 300px;
}

.service-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.service-icon {
    font-size: 20px;
}

.service-priority-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-priority-badge.critical {
    background: #e74c3c;
    color: white;
}

.service-priority-badge.high {
    background: #f39c12;
    color: white;
}

.service-description {
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 3px;
}

.service-details {
    color: #95a5a6;
    font-size: 12px;
    font-style: italic;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.service-total {
    color: #27ae60;
    font-weight: 600;
}

.service-category-subtotal {
    background: #f8f9fa;
    font-weight: 600;
}

.service-category-subtotal td {
    padding: 12px;
    border-top: 2px solid #dee2e6;
}

.services-grand-total {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.grand-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.grand-total-row.highlight {
    font-size: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.grand-total-label {
    flex: 1;
}

.grand-total-value {
    font-size: 24px;
    text-align: right;
}

.grand-total-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.grand-total-note .dashicons {
    color: #2ecc71;
}

/* ===================================
   Custom Modal
   =================================== */
.wizard-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
}

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

.wizard-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

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

.wizard-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.wizard-modal-icon .dashicons {
    color: white;
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.wizard-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d2327;
    text-align: center;
    margin: 0 0 16px 0;
}

.wizard-modal-message {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: center;
    margin: 0 0 32px 0;
}

.wizard-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.wizard-modal-actions .btn {
    flex: 1;
    max-width: 200px;
}

/* Responsive Services Tabelle */
@media screen and (max-width: 768px) {
    .services-table-container {
        padding: 20px 15px;
    }
    
    .services-table {
        font-size: 12px;
    }
    
    .services-table thead {
        display: none;
    }
    
    .services-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 15px;
    }
    
    .services-table tbody td {
        display: block;
        text-align: left !important;
        padding: 5px 0;
        border: none;
    }
    
    .service-name-cell {
        min-width: auto;
    }
    
    .service-category-subtotal td {
        padding: 10px 0;
    }
    
    .grand-total-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .grand-total-value {
        text-align: left;
    }
    
    /* Wizard Action Bar Responsive */
    .wizard-action-bar {
        flex-direction: column;
        padding: 16px 20px;
    }
    
    .wizard-action-bar .action-left,
    .wizard-action-bar .action-right {
        width: 100%;
        flex-direction: column;
    }
    
    .wizard-action-bar .button {
        width: 100%;
        justify-content: center !important;
    }
    
    .wizard-container {
        padding: 20px;
    }
    
    /* Modal Responsive */
    .wizard-modal {
        padding: 30px 20px;
    }
    
    .wizard-modal-icon {
        width: 56px;
        height: 56px;
    }
    
    .wizard-modal-icon .dashicons {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }
    
    .wizard-modal-title {
        font-size: 20px;
    }
    
    .wizard-modal-message {
        font-size: 14px;
    }
    
    .wizard-modal-actions {
        flex-direction: column;
    }
    
    .wizard-modal-actions .btn {
        max-width: none;
    }
}

/* Live Weights Sidepanel - Fixed am rechten Rand */
.live-weights-sidepanel {
    position: fixed;
    right: 0;
    transform: translateX(calc(100% - 60px));
    width: 320px;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Oberes Panel - Lösungen */
.live-weights-sidepanel-top {
    top: 50px;
    height: calc(50vh - 90px);
    border-left: 3px solid #0039A6;
    border-radius: 12px 0 0 12px;
    position: fixed;
}

/* Unteres Panel - Produktempfehlungen */
.live-weights-sidepanel-bottom {
    top: calc(50vh - 20px);
    height: calc(50vh - 70px);
    border-left: 3px solid #4CAF50;
    border-radius: 12px 0 0 12px;
    position: fixed;
}

.live-weights-sidepanel:not(.collapsed) {
    transform: translateX(0);
}

.live-weights-sidepanel-header {
    background: linear-gradient(135deg, #0039A6 0%, #0052D9 100%);
    padding: 0;
}

/* Produktempfehlungen Header in Grün */
.live-weights-sidepanel-bottom .live-weights-sidepanel-header {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.live-weights-sidepanel-toggle {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.live-weights-sidepanel-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.live-weights-sidepanel-toggle .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.live-weights-sidepanel.collapsed .live-weights-sidepanel-arrow {
    transform: rotate(180deg);
}

.live-weights-sidepanel-title {
    flex: 1;
    text-align: left;
}

.live-weights-sidepanel-content {
    padding: 16px;
    background: white;
    overflow-y: auto;
    flex: 1;
    height: 100%;
}

.live-weights-sidepanel-top .live-weights-sidepanel-content {
    max-height: calc(100% - 50px);
}

.live-weights-sidepanel-bottom .live-weights-sidepanel-content {
    max-height: calc(100% - 50px);
}

.live-weights-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 12px;
    padding: 15px 0;
    justify-content: center;
}

.live-weights-loading .spinner {
    float: none;
    margin: 0;
    width: 16px;
    height: 16px;
}

.live-weights-empty {
    text-align: center;
    padding: 20px 10px;
    color: #999;
    font-size: 12px;
}

.live-weights-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Produktempfehlungsliste kompakter */
#product-recommendations-list.live-weights-list {
    gap: 6px;
}

.live-weight-item {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.live-weight-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Produktempfehlungs-Items kompakter machen */
.product-recommendation-item {
    padding: 8px;
    border-left: 3px solid #4CAF50;
    background: #fafafa;
}

.product-recommendation-item .live-weight-header {
    margin-bottom: 4px;
}

.product-recommendation-item .live-weight-name {
    font-size: 12px;
    line-height: 1.2;
}

.product-recommendation-item .live-weight-percentage {
    font-size: 14px;
}

.product-recommendation-item .product-category {
    font-size: 9px;
    padding: 2px 6px;
    margin-top: 4px;
}

.live-weight-top {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 2px solid #FFD700;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.2);
    position: relative;
}

.live-weight-top::before {
    content: "🏆";
    position: absolute;
    top: -8px;
    right: 8px;
    font-size: 16px;
    background: white;
    padding: 3px 5px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.live-weight-content {
    position: relative;
}

.live-weight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.live-weight-name {
    font-size: 13px;
    font-weight: 600;
    color: #1d2327;
    flex: 1;
    line-height: 1.3;
}

.live-weight-top .live-weight-name {
    color: #856404;
}

.live-weight-percentage {
    font-size: 18px;
    font-weight: 700;
    color: #0039A6;
    min-width: 50px;
    text-align: right;
    white-space: nowrap;
}

.live-weight-top .live-weight-percentage {
    color: #FF8C00;
}

.live-weight-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #0039A6 0%, #0052D9 100%);
    transition: width 0.6s ease;
    box-shadow: 0 1px 4px rgba(0, 57, 166, 0.2);
    position: relative;
    overflow: hidden;
}

.live-weight-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.live-weight-description {
    font-size: 11px;
    color: #666;
    margin-top: 6px;
    line-height: 1.4;
    font-style: italic;
    display: none; /* Versteckt im Sidepanel für Kompaktheit */
}

/* Produktkategorie Styling */
.product-category {
    font-size: 9px;
    color: #4CAF50;
    margin-top: 4px;
    padding: 2px 6px;
    background: rgba(76, 175, 80, 0.15);
    border-radius: 3px;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Produktempfehlungs-Item spezifisches Styling */
.product-recommendation-item.live-weight-top {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 3px solid #2E7D32;
    box-shadow: 0 1px 4px rgba(76, 175, 80, 0.2);
}

/* Anpassung für Wizard Layout - Gesamter Container verschiebt sich wenn Panels offen sind */
.wrap.bedarfanalyse-wizard-admin {
    transition: margin-right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Im Admin-Bereich nur den Wrap-Container verschieben */
body.sidepanels-open .wrap.bedarfanalyse-wizard-admin {
    margin-right: 340px;
}

/* Im Frontend den Wizard-Container verschieben */
body.sidepanels-open .bedarfanalyse-wizard:not(.wrap .bedarfanalyse-wizard) {
    margin-right: 340px;
    transition: margin-right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover-Effekte für bessere Interaktion */
.live-weights-sidepanel-top:hover,
.live-weights-sidepanel-bottom:hover {
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.2);
}

/* Sanftere Übergänge beim Öffnen/Schließen */
.live-weights-sidepanel {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Anpassungen für Live Weights Sidepanel */
@media (max-width: 1200px) {
    .live-weights-sidepanel {
        width: 280px;
    }
    
    .live-weights-sidepanel-top {
        top: 50px;
        height: calc(45vh - 85px);
    }
    
    .live-weights-sidepanel-bottom {
        top: calc(45vh - 15px);
        height: calc(55vh - 65px);
    }
}

@media (max-width: 782px) {
    .live-weights-sidepanel {
        width: 100%;
        max-width: 320px;
        right: -100%;
        top: auto;
        bottom: 0;
        transform: none;
        max-height: 50vh;
        border-radius: 12px 12px 0 0;
        border-left: none;
        border-top: 3px solid #0039A6;
    }
    
    .live-weights-sidepanel:not(.collapsed) {
        right: 0;
        transform: none;
    }
    
    .live-weights-sidepanel.collapsed {
        transform: translateY(calc(100% - 60px));
    }
    
    .live-weights-sidepanel-content {
        max-height: calc(50vh - 60px);
    }
    
    .live-weight-percentage {
        font-size: 16px;
        min-width: 45px;
    }
    
    .live-weight-name {
        font-size: 12px;
    }
}

