/**
 * SportsPress Sync - Öffentliches Stylesheet
 * Design & Struktur von Reinhard Lins (.fahrvergnuegen)
 */

/* Container für die synchronisierten Inhalte */
.sps-sync-wrapper {
    margin: 20px 0;
    padding: 15px;
    background-color: #f6f7f7; /* Hellgrauer Hintergrund wie gewünscht */
    border-radius: 8px;
    overflow-x: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Tabellen-Styling */
.sps-generated-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    background-color: #ffffff;
    color: #1d2327;
    border: 1px solid #c3c4c7;
}

.sps-generated-table th,
.sps-generated-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f1;
}

.sps-generated-table thead th {
    background-color: #f0f0f1;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.05em;
    color: #2c3338;
}

/* Zebra-Look */
.sps-generated-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Team-Highlighting (FC Übersaxen / Eigenes Team) */
.sps-highlight-team {
    font-weight: bold;
    color: #d63638; /* Kräftiges Rot */
}

/* Die gesamte Zeile des eigenen Teams hervorheben */
.sps-generated-table tr:has(.sps-highlight-team) {
    background-color: #fcf0f1 !important;
}

.sps-generated-table tr:hover {
    background-color: #f0f6fb;
}

/* Fehlermeldungen */
.sps-error {
    background: #fbe9e9;
    color: #d63638;
    padding: 15px;
    border-left: 4px solid #d63638;
    border-radius: 4px;
    margin: 10px 0;
}

/* Responsive Anpassungen */
@media screen and (max-width: 600px) {
    .sps-generated-table th, 
    .sps-generated-table td {
        padding: 8px 10px;
        font-size: 0.9em;
    }
}