/* =========================================================
   VOXLY SERVER MANAGEMENT v0.18.7
   ========================================================= */

.community-logo {
    overflow: hidden;
}

.voxly-community-icon-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    pointer-events: none;
}

.voxly-server-profile-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.voxly-server-icon-preview {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 18px;

    background: #171b24;
    border: 1px solid #2b313d;

    font-weight: 700;
    font-size: 20px;
}

.voxly-server-icon-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voxly-server-icon-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.voxly-server-action-button,
.voxly-server-danger-button {
    border: 1px solid #343b48;
    border-radius: 7px;
    padding: 8px 12px;

    background: #171b24;
    color: #e9edf5;

    cursor: pointer;
}

.voxly-server-action-button:hover {
    background: #202632;
}

.voxly-server-danger-button {
    border-color: rgba(220, 60, 60, .55);
    background: rgba(145, 31, 31, .17);
    color: #ff8585;

    margin-right: 8px;
    margin-top: 7px;
}

.voxly-server-danger-button:hover {
    background: rgba(175, 40, 40, .27);
}

.voxly-server-settings-section.hidden,
.voxly-server-action-button.hidden,
.voxly-server-danger-button.hidden {
    display: none !important;
}

/* =========================================================
   VOXLY SERVER ICON FULL-BUTTON FIT v0.18.8
   ========================================================= */

.community-logo:has(.voxly-community-icon-image) {
    position: relative;
    padding: 0 !important;
    overflow: hidden;
}

.community-logo .voxly-community-icon-image {
    position: absolute;
    inset: 0;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
    object-position: center;

    border-radius: inherit;

    display: block;
}
