#firebaseteam {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; 
}

.team-row {
    background-color: #fdf6f0; 
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #eee;
}

.team-row td {
    background-color: transparent !important; 
    padding: 20px 15px;
}

.team-meta {
    width: 35%;
    text-align: center;
    vertical-align: middle;
    background-color: rgba(0, 0, 0, 0.02) !important; 
}

.team-content {
    width: 65%;
    vertical-align: top;
    text-align: left;
}

.team-meta {
    width: 35%;
    text-align: center;
    vertical-align: middle; 
    background-color: #fcfcfc;
    padding: 15px 5px;
}

.team-content {
    width: 65%;
    vertical-align: top;
    text-align: left;
    background-color: #fdf6f0;
    padding: 20px 15px; 
}

.team-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 10px auto 0 auto; 
    border: 2px solid #ddd;
}

.team-name {
    display: block;
    font-weight: bold;
    word-wrap: break-word;
}

/* Aufgaben-Liste */
.task-list {
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Messenger Button Fix */
.btn-messenger {
    background-color: #0084ff;
    color: white;
    border: none;
    padding: 12px 20px; /* Genug Platz für den Text */
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block; /* Wichtig für korrekte Anzeige */
    max-width: 100%;      /* Verhindert Überlappen */
    box-sizing: border-box;
}

/* Desktop-Anpassung */
@media screen and (min-width: 601px) {
    .team-img { width: 110px; height: 110px; }
    .team-meta { width: 30%; }
    .team-content { width: 70%; padding: 25px; }
}