/* ============================================================
   Beitragsstatus Seite – komplette CSS
   ============================================================ */

/* Container für die Mitglieder */
#beitragsstatus-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 12px;
}

/* Spielfeld in der Karte */
/* Spielfeld in der Karte */
.spielfeld {
    background-image: url('/img/fussballfeld.jpg');
    background-size: 100% 100%;   /* Bild füllt Container komplett */
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
    padding: 40px 20px;           /* Platz für Spieler */

    border-radius: 10px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;                    /* Abstand zwischen Reihen */

    box-shadow:
        0 6px 18px rgba(0,0,0,0.18),
        inset 0 0 25px rgba(0,0,0,0.25);

}

/* Jede Reihe im Spielfeld */
.reihe {
    display: grid;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

/* Spaltenanzahl */
.spalten4 {
    grid-template-columns: repeat(4, auto);
    gap: 20px;   /* kleiner Abstand */
}
.spalten3 {
    grid-template-columns: repeat(3, auto);
    gap: 25px;
}

/* Spielerbox */
.spieler {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 14px;
}

/* Name unter dem Avatar */
.spieler span {
    color: #1e6cff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.55);
    margin-top: 4px;
    font-size: 13px;
}

/* Avatar */
.avatar {
    width: 85%;
    max-width: 80px;
    max-height: 110px;
    object-fit: cover;

    border-radius: 4px;
    cursor: pointer;

    opacity: 1;
    animation: fadein 0.6s ease forwards;

    transition: transform 0.2s ease;
}


/* Hover-Effekt auf Avatar */
.avatar:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.45));
}

/* Status: offen = grau */
.offen {
    filter: grayscale(100%);
    opacity: 0.4;
}

/* Status: bezahlt */
.bezahlt {
    filter: none;
    opacity: 1;
}

/* Fade-in Animation */
@keyframes fadein {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   Lightbox für Avatare
   ============================================================ */
#avatar-lightbox {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#avatar-lightbox.show {
    display: flex;
}

#avatar-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 4px solid white;
    border-radius: 6px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

#avatar-lightbox.show img {
    transform: scale(1);
}

