/* ========================================
   KrazzFM Teamlist Styles
   Passend zum dunklen Design der Webseite
   Akzentfarbe: Limegreen (#32CD32)
   ======================================== */

/* Grundlegende Anpassungen */
.teamlist-container {
    background: rgb(2, 2, 2, 0.6);
    padding: 20px;
    border-radius: 8px;
}

/* Gruppen-Header Bild */
.teamlist-group-header {
    text-align: center;
    margin-bottom: 30px;
}

.teamlist-group-header img {
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
    transition: all 0.3s ease;
}

.teamlist-group-header img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.5);
}

/* Team Cards */
.teamlist-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.teamlist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(50, 205, 50, 0.4);
    border-color: #32CD32;
}

/* Card Header */
.teamlist-card-header {
    background: linear-gradient(135deg, #228B22 0%, #2a9d2a 100%);
    color: #ffffff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #32CD32;
}

.teamlist-card-header a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.teamlist-card-header a:hover {
    opacity: 0.8;
}

.teamlist-card-header small {
    opacity: 0.9;
    font-weight: normal;
}

.teamlist-card-header img {
    vertical-align: middle;
    margin-right: 5px;
}

/* Card Body */
.teamlist-card-body {
    padding: 20px;
    background: #111;
    color: #e0e0e0;
}

/* Avatar Bereich */
.teamlist-avatar {
    text-align: center;
    padding-right: 15px;
}

.teamlist-avatar img {
    border: 3px solid #32CD32;
    border-radius: 10px;
    max-width: 100px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(50, 205, 50, 0.3);
    transition: all 0.3s ease;
}

.teamlist-avatar img:hover {
    transform: scale(1.05);
    border-color: #3de03d;
    box-shadow: 0 6px 15px rgba(50, 205, 50, 0.5);
}

/* Info Tabelle */
.teamlist-info {
    font-size: 0.9rem;
}

.teamlist-info table {
    margin-bottom: 0;
    width: 100%;
}

.teamlist-info td {
    padding: 5px 8px;
    border: none !important;
    color: #e0e0e0;
}

.teamlist-info .font-weight-bold {
    color: #32CD32;
    min-width: 80px;
    white-space: nowrap;
}

/* Trennlinie */
.teamlist-divider {
    border-top: 1px solid #444;
    margin: 15px 0;
}

/* Kontakt Bereich */
.teamlist-contact {
    margin-bottom: 15px;
}

.teamlist-contact strong {
    color: #32CD32;
    display: block;
    margin-bottom: 8px;
}

.teamlist-contact a img {
    transition: all 0.3s ease;
    opacity: 0.8;
    filter: drop-shadow(0 0 3px rgba(50, 205, 50, 0.3));
}

.teamlist-contact a:hover img {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(50, 205, 50, 0.6));
}

/* Zusatzfelder */
.teamlist-field {
    margin-bottom: 15px;
}

.teamlist-field strong {
    color: #32CD32;
    display: block;
    margin-bottom: 5px;
}

.teamlist-field small {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Alert Boxen */
.teamlist-alert {
    background: #2a2a2a;
    border: 1px solid #444;
    border-left: 4px solid #32CD32;
    color: #e0e0e0;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.teamlist-alert-warning {
    border-left-color: #ffeb3b;
}

/* Copyright */
.teamlist-copyright {
    text-align: right;
    margin-top: 20px;
    padding: 10px;
    font-size: 0.85rem;
}

.teamlist-copyright a {
    color: #32CD32;
    text-decoration: none;
    transition: color 0.3s ease;
}

.teamlist-copyright a:hover {
    color: #3de03d;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

/* Toggle Animation */
.teamlist-toggle {
    transition: all 0.4s ease-in-out;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .teamlist-avatar {
        margin-bottom: 15px;
        padding-right: 0;
    }
    
    .teamlist-card-header {
        font-size: 0.95rem;
    }
    
    .teamlist-info {
        font-size: 0.85rem;
    }
    
    .teamlist-info .font-weight-bold {
        min-width: 60px;
    }
}

@media (max-width: 576px) {
    .teamlist-card {
        margin-bottom: 20px;
    }
    
    .teamlist-card-body {
        padding: 15px;
    }
    
    .teamlist-avatar img {
        max-width: 80px;
    }
}

/* Scrollbar Styling (für WebKit Browser) */
.teamlist-container::-webkit-scrollbar {
    width: 10px;
}

.teamlist-container::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.teamlist-container::-webkit-scrollbar-thumb {
    background: #32CD32;
    border-radius: 5px;
}

.teamlist-container::-webkit-scrollbar-thumb:hover {
    background: #3de03d;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.teamlist-card {
    animation: fadeIn 0.5s ease-in-out;
}

/* Status Icons Styling */
.teamlist-status-icon {
    vertical-align: middle;
    margin-right: 5px;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

/* Neon Glow Effect für Limegreen */
.teamlist-card:hover .teamlist-card-header {
    box-shadow: 0 0 20px rgba(50, 205, 50, 0.6);
}

.teamlist-card:hover .teamlist-avatar img {
    box-shadow: 0 0 20px rgba(50, 205, 50, 0.6);
}

/* Pulsierender Effekt für Status-Aktiv */
@keyframes pulse-green {
    0%, 100% {
        filter: drop-shadow(0 0 2px rgba(50, 205, 50, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(50, 205, 50, 0.9));
    }
}

.teamlist-status-icon[src*="aktiv"] {
    animation: pulse-green 2s infinite;
}