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

/* Main table container */
.wiki-table {
    margin: 2rem 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);
}

/* Table header */
.wiki-table-header {
    display: flex;
    background: var(--primary-color);
    color: var(--text-light);
    font-family: var(--font-family-heading);
    font-weight: 700;
    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 for better readability */
.wiki-table-row:nth-child(even) {
    background: var(--background-light);
}

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

/* Individual cells */
.wiki-table-cell {
    flex: 1;
    padding: 1rem 1.5rem;
    border-right: 1px solid var(--border-color);
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    line-height: 1.6;
    vertical-align: top;
    word-wrap: break-word;
}

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

/* Header cells specific styling */
.wiki-table-header .wiki-table-cell {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .wiki-table {
        margin: 1rem 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);
        padding: 0.75rem 1rem;
    }
    
    .wiki-table-cell:last-child {
        border-bottom: none;
    }
    
    .wiki-table-header .wiki-table-cell {
        background: var(--primary-color);
        color: var(--text-light);
        font-weight: 700;
        text-transform: uppercase;
        font-size: var(--font-size-small);
        padding: 0.75rem 1rem;
    }
}

/* Tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .wiki-table-cell {
        padding: 0.875rem 1.25rem;
        font-size: var(--font-size-small);
    }
    
    .wiki-table-header .wiki-table-cell {
        padding: 1rem 1.25rem;
    }
}

/* Desktop optimization */
@media (min-width: 1025px) {
    .wiki-table {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
    
    .wiki-table-cell {
        padding: 1.25rem 1.75rem;
    }
    
    .wiki-table-header .wiki-table-cell {
        padding: 1.5rem 1.75rem;
    }
}

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