/**
 * ═══════════════════════════════════════════════════════════════════════════
 * ⚠️⚠️⚠️ 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 TABLE STYLING - WebP Browser Compatibility Table
   ═══════════════════════════════════════════════════════════════════════ */

/* Table Container */
.webp-table-container {
    margin: var(--spacing-large) 0;
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Table Header */
.webp-table-header {
    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);
    display: flex;
    border-bottom: 2px solid var(--primary-color);
}

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

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

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

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

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

/* Header Cell Styling */
.webp-table-header .webp-table-cell {
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    justify-content: center;
}

/* Data Cell Styling */
.webp-table-row .webp-table-cell {
    color: var(--text-color);
    font-weight: 400;
}

/* Special styling for support status */
.webp-table-cell:contains("Vollständig"),
.webp-table-cell:contains("Full") {
    color: var(--success-color);
    font-weight: 600;
}

.webp-table-cell:contains("Nicht unterstützt"),
.webp-table-cell:contains("Not supported") {
    color: var(--error-color);
    font-weight: 600;
}

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

/* Code Block Styling for WebP Examples */
.webp-code-example {
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: var(--spacing-medium);
    margin: var(--spacing-medium) 0;
    font-family: var(--font-family-mono);
    font-size: var(--font-size-small);
    line-height: 1.4;
    overflow-x: auto;
}

.webp-code-example code {
    color: var(--text-light);
    background: none;
    padding: 0;
}

/* WebP Feature List Styling */
.webp-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-medium);
    margin: var(--spacing-large) 0;
}

.webp-feature-item {
    background: var(--background-light);
    padding: var(--spacing-medium);
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s ease;
}

.webp-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* WebP Benefits Section */
.webp-benefits-section {
    background: linear-gradient(135deg, var(--background-light), var(--background-color));
    padding: var(--spacing-large);
    border-radius: 8px;
    margin: var(--spacing-large) 0;
    border: 1px solid var(--border-color);
}

/* WebP Implementation Checklist */
.webp-checklist {
    background: var(--background-light);
    padding: var(--spacing-medium);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin: var(--spacing-medium) 0;
}

.webp-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.webp-checklist li {
    padding: var(--spacing-small) 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
}

.webp-checklist li:last-child {
    border-bottom: none;
}

.webp-checklist li::before {
    content: "☐";
    margin-right: var(--spacing-small);
    color: var(--primary-color);
    font-weight: bold;
}

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