/**
 * ═══════════════════════════════════════════════════════════════════════════
 * ⚠️⚠️⚠️ SAMPLE CSS-DATEI - DIESE DATEI IST FEDERFÜHREND! ⚠️⚠️⚠️
 * ═══════════════════════════════════════════════════════════════════════════
 * 
 * DIESE SAMPLE-DATEI IST DIE ABSOLUTE REFERENZ FÜR ALLE CSS-DATEIEN!
 * 
 * ABSOLUT VERBOTEN:
 * - Hartcodierte Farben (z.B. #f39324, rgb(255,0,0))
 * - Hartcodierte Schriften (z.B. Arial, Helvetica)
 * - CSS-Regeln duplizieren die bereits in base.css, widgets-*.css existieren
 * - Globale Selektoren (body, html, a, div) überschreiben
 * 
 * PFLICHT: NUR CSS Custom Properties verwenden!
 * - Farben: var(--primary-color), var(--secondary-color), var(--text-color)
 * - Schriften: var(--font-family-base), var(--font-size-body)
 * - Spacing: var(--spacing-small), var(--spacing-medium)
 * 
 * WARUM:
 * - Zentrale Theme-Verwaltung
 * - Konsistenz über alle Screens
 * - Einfache Anpassung des gesamten Designs an einer Stelle
 * 
 * INHALT:
 * - NUR screen-spezifische CSS-Regeln
 * - Keine Wiederholung von Basis-CSS
 * - Kann auch leer sein wenn keine spezifischen Styles nötig sind
 * 
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ PROFESSIONAL WIKI TABLES - Screen-spezifische Optimierungen
   ═══════════════════════════════════════════════════════════════════════ */

/* Wiki Table Container */
.wiki-table {
    margin: var(--spacing-large) 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: var(--background-color);
    border: 1px solid var(--border-color);
}

/* Wiki Table Header */
.wiki-table-header {
    display: flex;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    font-family: var(--font-family-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: var(--font-size-small);
}

/* Wiki Table Rows */
.wiki-table-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background: var(--background-color);
}

/* Zebra Striping - Alternating Row Colors */
.wiki-table-row:nth-child(even) {
    background: var(--background-light);
}

/* Hover Effect on Rows */
.wiki-table-row:hover {
    background: var(--hover-color);
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Wiki Table Cells */
.wiki-table-cell {
    flex: 1;
    padding: var(--spacing-medium);
    border-right: 1px solid var(--border-color);
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    line-height: 1.5;
    display: flex;
    align-items: center;
    min-height: 48px;
}

/* Remove border from last cell in each row */
.wiki-table-cell:last-child {
    border-right: none;
}

/* Header Cell Styling */
.wiki-table-header .wiki-table-cell {
    font-weight: 600;
    text-align: center;
    justify-content: center;
    padding: var(--spacing-medium) var(--spacing-small);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Data Cell Styling */
.wiki-table-row .wiki-table-cell {
    color: var(--text-color);
    font-weight: 400;
    text-align: left;
    justify-content: flex-start;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .wiki-table {
        margin: var(--spacing-medium) 0;
        border-radius: 4px;
    }
    
    .wiki-table-header,
    .wiki-table-row {
        flex-direction: column;
    }
    
    .wiki-table-cell {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        min-height: auto;
        padding: var(--spacing-small);
    }
    
    .wiki-table-cell:last-child {
        border-bottom: none;
    }
    
    .wiki-table-header .wiki-table-cell {
        background: var(--primary-color);
        color: var(--text-light);
        font-weight: 600;
        text-align: left;
        justify-content: flex-start;
    }
}

/* Special Boxes Styling */
.statistics-box,
.highlight-box,
.warning-box,
.tip-box,
.checklist,
.process-flow,
.timeline {
    margin: var(--spacing-medium) 0;
    padding: var(--spacing-medium);
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    background: var(--background-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.statistics-box {
    border-left-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--background-light), var(--background-color));
}

.highlight-box.important {
    border-left-color: var(--warning-color);
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
}

.warning-box {
    border-left-color: var(--error-color);
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
}

.tip-box {
    border-left-color: var(--info-color);
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
}

.checklist {
    border-left-color: var(--success-color);
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
}

.process-flow {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, var(--background-light), var(--background-color));
}

.timeline {
    border-left-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--background-light), var(--background-color));
}

/* Box Headings */
.statistics-box h4,
.highlight-box h4,
.warning-box h4,
.tip-box h4,
.checklist h4,
.process-flow h4,
.timeline h4 {
    margin: 0 0 var(--spacing-small) 0;
    color: var(--primary-color);
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h4);
    font-weight: 600;
}

/* Box Content */
.statistics-box p,
.highlight-box p,
.warning-box p,
.tip-box p {
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    line-height: 1.6;
}

/* Checklist Styling */
.checklist ol,
.checklist ul {
    margin: var(--spacing-small) 0;
    padding-left: var(--spacing-medium);
}

.checklist li {
    margin: var(--spacing-xs) 0;
    color: var(--text-color);
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    line-height: 1.5;
}

/* Process Flow Styling */
.process-flow ol {
    margin: var(--spacing-small) 0;
    padding-left: var(--spacing-medium);
}

.process-flow li {
    margin: var(--spacing-xs) 0;
    color: var(--text-color);
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    line-height: 1.5;
    position: relative;
}

.process-flow li:before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* Timeline Styling */
.timeline p {
    font-style: italic;
    color: var(--text-muted);
}

/* Content Footer */
.content-footer {
    margin-top: var(--spacing-large);
    padding-top: var(--spacing-medium);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.content-footer .last-update {
    color: var(--text-muted);
    font-size: var(--font-size-small);
    font-family: var(--font-family-base);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ WICHTIG: Oft reichen die Basis-CSS-Dateien aus!
   Wenn keine spezifischen Styles benötigt werden, kann diese Datei 
   fast leer sein (nur der Header-Kommentar bleibt).
   ═══════════════════════════════════════════════════════════════════════ */
