/* ==========================================================================
   TEAMLISTE & FRONTEND-TABELLEN (WARTELISTE / ANFRAGEN / MITGLIEDER)
   ========================================================================== */

.custom-team-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    margin-top: 25px !important;
    margin-bottom: 40px !important;
    clear: both !important;
    width: 100% !important;
}

.team-member {
    border: 1px solid #147b71 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    padding: 20px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.team-member img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    border: 3px solid #147b71 !important;
    object-fit: cover !important;
    margin-bottom: 15px !important;
}

/* TABELLEN */
table.ds-responsive-table,
.wl-frontend-table,
.anfragen-frontend-table,
.benutzer-frontend-table {
    border-collapse: collapse !important; 
    width: 100% !important; 
    border: 1px solid #147b71 !important; 
    margin: 20px 0 !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

table.ds-responsive-table th,
.wl-frontend-table th,
.anfragen-frontend-table th,
.benutzer-frontend-table th {
    color: #ffffff !important;
    background-color: #147b71 !important;
    padding: 10px 12px !important;
    text-align: left !important;
    font-weight: bold !important;
}

table.ds-responsive-table td,
.wl-frontend-table td,
.anfragen-frontend-table td,
.benutzer-frontend-table td {
    padding: 10px 12px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    background-color: #ffffff !important;
    vertical-align: middle !important;
}

.wl-frontend-table tr:hover,
.anfragen-frontend-table tr:hover,
.benutzer-frontend-table tr:hover {
    background-color: #f4f9f8 !important;
}

/* WARTELISTEN STATUS BADGES */
.wl-badge-offen, .anfrage-badge-offen { background: #fff4e5 !important; color: #b76e00 !important; padding: 4px 9px !important; border-radius: 4px !important; font-weight: bold !important; font-size: 0.85em !important; border: 1px solid #f0d099 !important; display: inline-block !important; }
.wl-badge-nachgerueckt, .anfrage-badge-erledigt, .user-badge-aktiv { background: #e6f4ea !important; color: #137333 !important; padding: 4px 9px !important; border-radius: 4px !important; font-weight: bold !important; font-size: 0.85em !important; border: 1px solid #a8dab5 !important; display: inline-block !important; }
.wl-badge-erledigt, .user-badge-inaktiv { background: #f0f0f0 !important; color: #666666 !important; padding: 4px 9px !important; border-radius: 4px !important; font-weight: bold !important; font-size: 0.85em !important; display: inline-block !important; }
.anfrage-badge-bearbeitung, .user-badge-pausiert { background: #e8f0fe !important; color: #1a73e8 !important; padding: 4px 9px !important; border-radius: 4px !important; font-weight: bold !important; font-size: 0.85em !important; display: inline-block !important; }