/**
 * ═══════════════════════════════════════════════════════════════════════════
 * ⚠️⚠️⚠️ 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 - MODERN DIV-BASED LAYOUT
   ═══════════════════════════════════════════════════════════════════════ */

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

/* Table Header */
.wiki-table-header {
    display: flex;
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: var(--font-size-small);
}

/* 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 */
.wiki-table-row:nth-child(even) {
    background: var(--background-light);
}

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

/* 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);
    background: var(--primary-color);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.wiki-table-header .wiki-table-cell:last-child {
    border-right: none;
}

/* 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: 576px) {
    .wiki-table {
        border-radius: 4px;
    }
    
    .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);
        width: 100%;
    }
    
    .wiki-table-cell:last-child {
        border-bottom: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ CONTENT-SPECIFIC STYLING
   ═══════════════════════════════════════════════════════════════════════ */

/* Inverted Pyramid specific content styling */
.inverted-pyramid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-medium);
}

/* Highlight important metrics in tables */
.wiki-table-cell:contains('+') {
    color: var(--success-color);
    font-weight: 600;
}

.wiki-table-cell:contains('-') {
    color: var(--error-color);
    font-weight: 600;
}

/* Style percentage values */
.wiki-table-cell:contains('%') {
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ 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).
   ═══════════════════════════════════════════════════════════════════════ */
