/* =========================================================
   VOXLY SERVER SETTINGS v0.18.3
   ========================================================= */

.voxly-server-settings-button {
    width: 30px;
    height: 30px;

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

    margin-left: 5px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 6px;

    background:
        rgba(255,255,255,.04);

    color: #d9dce3;

    font-size: 16px;

    cursor: pointer;
}


.voxly-server-settings-button:hover {
    background:
        rgba(255,255,255,.09);
}


.voxly-server-settings-button.hidden {
    display: none !important;
}


.voxly-server-settings-modal {
    position: fixed;
    inset: 0;

    z-index: 120000;

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


.voxly-server-settings-modal.hidden {
    display: none;
}


.voxly-server-settings-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(0,0,0,.72);
}


.voxly-server-settings-card {
    position: relative;

    width:
        min(
            720px,
            calc(100vw - 40px)
        );

    max-height:
        calc(100vh - 60px);

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 12px;

    background:
        #17191f;

    box-shadow:
        0 22px 70px
        rgba(0,0,0,.58);

    color: #e8e9ed;
}


.voxly-server-settings-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding:
        20px
        22px;

    border-bottom:
        1px solid
        rgba(255,255,255,.07);
}


.voxly-server-settings-header h2 {
    margin: 0;

    font-size: 20px;
}


.voxly-server-settings-header p {
    margin:
        5px
        0
        0;

    color:
        rgba(255,255,255,.55);

    font-size: 12px;
}


.voxly-server-settings-close {
    border: 0;

    background: transparent;

    color:
        rgba(255,255,255,.62);

    font-size: 28px;

    cursor: pointer;
}


.voxly-server-settings-close:hover {
    color: #fff;
}


.voxly-server-settings-body {
    max-height:
        calc(100vh - 190px);

    overflow-y: auto;

    padding:
        22px;
}


.voxly-server-settings-section h3 {
    margin:
        0
        0
        4px;

    font-size: 15px;
}


.voxly-server-settings-help {
    margin:
        0
        0
        15px;

    color:
        rgba(255,255,255,.55);

    font-size: 12px;
}


.voxly-ban-list {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.voxly-ban-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding:
        12px
        13px;

    border:
        1px solid
        rgba(255,255,255,.06);

    border-radius: 8px;

    background:
        rgba(255,255,255,.025);
}


.voxly-ban-info {
    min-width: 0;
}


.voxly-ban-name {
    overflow: hidden;

    color: #f1f2f4;

    font-size: 13px;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.voxly-ban-meta,
.voxly-ban-date {
    margin-top: 3px;

    color:
        rgba(255,255,255,.48);

    font-size: 11px;
}


.voxly-unban-button {
    flex: 0 0 auto;

    padding:
        7px
        12px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 6px;

    background:
        rgba(255,255,255,.055);

    color: #e8e9ed;

    font-size: 12px;

    cursor: pointer;
}


.voxly-unban-button:hover {
    background:
        rgba(255,255,255,.1);
}


.voxly-unban-button:disabled {
    opacity: .5;
    cursor: default;
}


.voxly-ban-empty,
.voxly-ban-loading {
    padding:
        18px;

    border:
        1px dashed
        rgba(255,255,255,.08);

    border-radius: 8px;

    color:
        rgba(255,255,255,.5);

    font-size: 12px;

    text-align: center;
}
