/* ZelloFunk v1.7.30 – zweites Logo, Ticket-Kopien und aktive Mitglieder */

/* Zwei Community-Logos im Kopfbereich */
.brand {
    gap: 10px;
}
.brand-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}
.brand-copy {
    min-width: 0;
}
.brand-partner-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 9px 22px rgba(7, 23, 45, .20);
    border: 2px solid rgba(255, 255, 255, .92);
}

/* Startseite: aktive Mitglieder */
.active-members-panel {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid #a9c9f7;
    border-radius: 24px;
    background:
        radial-gradient(circle at 94% 8%, rgba(123, 97, 255, .14) 0 105px, transparent 106px),
        linear-gradient(115deg, #eef7ff 0%, #f8fbff 52%, #f2efff 100%);
    box-shadow: 0 18px 40px rgba(32, 83, 150, .14);
}
.active-members-panel::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: 12px;
    width: 150px;
    height: 90px;
    opacity: .16;
    background-image: radial-gradient(#2563eb 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    pointer-events: none;
}
.active-members-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}
.active-members-head h2 {
    margin: 6px 0 5px;
    color: #102a56;
}
.active-members-head p {
    margin: 0;
    color: #52657d;
}
.active-members-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: linear-gradient(145deg, #1d6ed8, #754bd5);
    box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
    font-size: 34px;
}
.active-members-button {
    position: relative;
    z-index: 2;
    color: #fff;
    background: linear-gradient(135deg, #1769d2, #6846c7);
    box-shadow: 0 10px 22px rgba(50, 73, 160, .22);
}
.active-members-button:hover {
    color: #fff;
    transform: translateY(-2px);
}
.active-members-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}
.active-members-count-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.active-member-stat {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(166, 190, 229, .76);
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 22px rgba(40, 75, 120, .09);
}
.active-member-rank {
    font-size: 28px;
    line-height: 1;
}
.active-member-stat h3 {
    margin: 0 0 5px;
    color: #102a56;
    font-size: 1rem;
    line-height: 1.25;
}
.active-member-stat p {
    margin: 0;
    color: #66768b;
    font-size: .85rem;
    line-height: 1.35;
}
.active-member-stat > strong {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    border-radius: 14px;
    color: #fff;
    background: #1769d2;
    font-size: 1.12rem;
}
.active-members-empty {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .82);
    color: #52657d;
    text-align: center;
}

/* Superadmin: Empfänger für Ticket-Kopien */
.ticket-notification-settings {
    margin: 22px 0;
    border-left: 5px solid #1769d2;
}
.ticket-recipient-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 18px;
}
.ticket-recipient-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #d8e2f1;
    border-radius: 14px;
    background: #f8fbff;
    cursor: pointer;
}
.ticket-recipient-option:hover {
    border-color: #9bbcef;
    background: #eff6ff;
}
.ticket-recipient-option input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #1769d2;
}
.ticket-recipient-option span,
.ticket-recipient-option strong,
.ticket-recipient-option small {
    display: block;
}
.ticket-recipient-option small {
    margin-top: 4px;
    color: #6b7b91;
    line-height: 1.35;
}

@media (max-width: 1100px) {
    .active-members-count-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .brand-icon {
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }
    .brand-partner-icon {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }
    .active-members-panel {
        padding: 19px;
        border-radius: 21px;
    }
    .active-members-head {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
    }
    .active-members-icon {
        width: 56px;
        height: 56px;
        border-radius: 17px;
        font-size: 28px;
    }
    .active-members-button {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
    }
    .active-members-list,
    .active-members-count-5 {
        grid-template-columns: 1fr;
    }
    .ticket-recipient-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 410px) {
    .brand {
        gap: 7px;
    }
    .brand-icons {
        gap: 4px;
    }
    .brand-icon {
        width: 39px;
        height: 39px;
    }
    .brand-partner-icon {
        width: 35px;
        height: 35px;
    }
    .brand strong {
        font-size: .98rem;
    }
}
