/* ============================================================
   COMPONENT: Anmeldung – Kopfbereich
   ============================================================ */

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-title .icon {
    margin-right: 6px;
}

/* ============================================================
   Bier-Button (Teil der Anmeldung)
   ============================================================ */

.card {
    position: relative;
}

.beer-action {
    position: absolute;
    top: -3px;
    right: -11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.beer-button {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.beer-label {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    font-weight: 500;
}

@keyframes beer-wiggle {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(-10deg); }
    50%  { transform: rotate(10deg); }
    75%  { transform: rotate(-6deg); }
    100% { transform: rotate(0deg); }
}

.beer-wiggle {
    animation: beer-wiggle 0.6s ease;
}

/* ============================================================
   Anmeldung – KACHELN (EXAKT wie im Screenshot)
   ============================================================ */

#anmeldung-liste {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

/* Kachel */
.attendee {
    background: #F5F7FA;
    border-radius: 8px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
}

.attendee-row {
    display: flex;
    align-items: center;
    justify-content: center; /* NEU: zentriert die gesamte Zeile */
    gap: 6px;
    width: 100%; /* NEU: damit Name zentriert werden kann */
}

/* Status-Icon */
.attendee-status {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Farben */
.attendee-status.yes {
    background: #27AE60;
    color: #fff;
}

.attendee-status.no {
    background: #EB5757;
    color: #fff;
}

.attendee-status.maybe {
    background: #F2C94C;
    color: #1E1E1E;
}

.attendee-status.none {
    background: none;
    color: #000;
    font-size: 14px;
}

.attendee-name {
    font-size: 12px;
    font-weight: 500;
    text-align: center; /* NEU */
    display: block;     /* NEU */
    width: 100%;        /* NEU: damit er über der Zeit zentriert ist */
}

.attendee-time {
    font-size: 10px;
    color: #666;
    text-align: center; /* NEU */
    margin-top: 1px;
}