/**
 * ═══════════════════════════════════════════════════════════════════════════
 * ⚠️⚠️⚠️ 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 TABLE STYLES - Hochwertige Div-Tabellen
   ═══════════════════════════════════════════════════════════════════════ */

/* Wiki Table Container */
.wiki-table {
    width: 100%;
    margin: var(--spacing-large) 0;
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    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-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: var(--font-size-small);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

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

/* 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;
    color: var(--text-light);
    text-align: center;
    justify-content: center;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Data Cell Styling */
.wiki-table-row .wiki-table-cell {
    color: var(--text-color);
    background: transparent;
}

/* Priority Styling */
.wiki-table-cell:contains("Hoch") {
    color: var(--error-color);
    font-weight: 600;
}

.wiki-table-cell:contains("Mittel") {
    color: var(--warning-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wiki-table {
        font-size: var(--font-size-small);
    }
    
    .wiki-table-cell {
        padding: var(--spacing-small);
        min-height: 40px;
    }
    
    .wiki-table-header .wiki-table-cell {
        font-size: var(--font-size-small);
    }
}

@media (max-width: 480px) {
    .wiki-table {
        border-radius: 4px;
        margin: var(--spacing-medium) 0;
    }
    
    .wiki-table-cell {
        padding: var(--spacing-small);
        font-size: var(--font-size-small);
        min-height: 36px;
    }
    
    /* Stack cells vertically on very small screens */
    .wiki-table-header,
    .wiki-table-row {
        flex-direction: column;
    }
    
    .wiki-table-cell {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .wiki-table-cell:last-child {
        border-bottom: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ WICHTIG: Oft reichen die Basis-CSS-Dateien aus!
   Diese Datei enthält nur screen-spezifische Tabellen-Styles.
   ═══════════════════════════════════════════════════════════════════════ */
