﻿/* =========================
   Allgemein
========================= */

body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    padding: 1rem;
    margin: 0;
}

input {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* =========================
   HEADER
========================= */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.header-text h1 {
    margin: 0;
    font-size: 1.8rem;
}

.header-text h2 {
    margin: 0.2rem 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: normal;
}

.header-logo img {
    max-height: 90px;
    max-width: 120px;
    object-fit: contain;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 600px) {
    .header {
        flex-direction: row;
        align-items: flex-start;
    }

    .header-logo img {
        max-height: 60px;
    }
}


/* =========================
   Karten
========================= */

.card {
    background: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

/* =========================
   Runde Navigation
========================= */

.round-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

    .round-selector button {
        font-size: 1.4rem;
        padding: 0.3rem 0.8rem;
        cursor: pointer;
        border-radius: 5px;
        border: 1px solid #1a73e8;
        background-color: #ffffff;
        color: #1a73e8;
        transition: all 0.2s ease-in-out;
    }

        .round-selector button:hover {
            background-color: #1a73e8;
            color: white;
        }

/* =========================
   Tisch + Team hervorheben
========================= */

.highlight-table {
    display: inline-block;
    background-color: #ffeb3b;
    padding: 0.8rem 1.4rem;
    border-radius: 10px;
    text-align: center;
    margin: 0 auto 0.8rem auto; /* 👈 horizontal zentriert */
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    animation: pulse 0.6s ease-in-out;
}

.highlight-table-number {
    font-size: 2.1rem;
    font-weight: bold;
    color: #000;
}

.highlight-table-role {
    font-size: 1.6rem;
    font-weight: bold;
    color: #000;
}

.highlight-round {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
    color: #000;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.club-logo {
    max-width: 120px;
    max-height: 120px;
    display: block;
    margin: 0 auto 0.5rem auto;
}

/* =========================
   Fehler / Hinweise
========================= */

.error {
    color: red;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.hidden {
    display: none;
}

/* =========================
   Meta Infos (Teilnehmerzahl)
========================= */

.meta {
    font-size: 1rem;
    font-weight: bold;
    color: #1a73e8;
    margin-top: 0.2rem;
}

/* =========================
   Team + Gegner Infos
========================= */

#teamCard p, #matchCard p {
    font-size: 1rem;
    margin: 0.3rem 0;
}

#teamId, #opponentId {
    font-weight: bold;
    color: #1a73e8;
}

/* =========================
   Footer / Kontext
========================= */

.footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}
