body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    font-size: 0.8rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* background: white; */
    padding: 20px;
}

.tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #f5f5f5;
    padding: 10px 0;
    /* border-bottom: 1px solid #eee; */
    margin-bottom: 0;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    display: flex;
    justify-content: space-between;
}

.content {
    padding: 30px 0;
}

.tab {
    padding: 10px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    text-transform: capitalize;
}

.tab.active {
    background: #2e517a;
    color: white;
}

.sport-section {
    margin-top: 20px;
}

.iframe-container {
    width: 100%;
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 500px;
    border: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.club-separator {
    border-bottom: 3px solid #2e517a !important;
}

th {
    background-color: #f5f5f5;
}

/* Ergänzung zu Ihrem bestehenden CSS */
.section {
    margin-bottom: 2rem;
}

.section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.icon {
    font-size: 1.25rem;
}

.results, .schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.match-result, .match-schedule {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
}

.match-schedule {
    grid-template-columns: auto 1fr auto 1fr;
}

.team-home {
    text-align: right;
}

.team-away {
    text-align: left;
}

.score, .time {
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    background: white;
    border-radius: 4px;
}

.date {
    padding: 0.25rem 0.5rem;
    background: #2e517a;
    color: white;
    border-radius: 4px;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: bold;
}

.error {
    color: red;
    padding: 1rem;
    text-align: center;
    background: #fff5f5;
    border-radius: 4px;
}

.mb_20 {
    display: none;
}

/* Verstecke leere Tabellenzellen NUR in der Ranglistentabelle */
.scraped-content table.standings-table td:empty {
    display: none;
}

/* Automatische Nummerierung NUR für die Ranglistentabelle */
.scraped-content table.standings-table tbody {
    counter-reset: row-number;
}

.scraped-content table.standings-table tbody tr {
    counter-increment: row-number;
}

.scraped-content table.standings-table tbody tr td:first-child::before {
    content: counter(row-number) ". ";
    font-weight: bold;
    margin-right: 0.5rem;
}

.scraped-content td > svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Verstecke leere divs in Tabellenzellen */
.scraped-content table td > div:empty {
    display: none;
}

/* Verstecke SVG-Container und große graue Boxen in Tabellen */
.scraped-content table.standings-table td > svg,
.scraped-content table.standings-table td > div > svg {
    display: none;
}

/* Verstecke leere oder fast leere divs in der Ranglistentabelle */
.scraped-content table.standings-table td > div {
    display: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 30px;
    background-color: #2e517a;
    color: white;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: #ffeb3b;
}

.modal-body {
    padding: 30px;
}

.btn-login {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.5);
    transform: translateY(-2px);
}