/* =========================================================
   VOXLY SERVER INVITES v0.16.0
   ========================================================= */

.voxly-community-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.voxly-server-invite-button {
    flex: 0 0 28px;

    width: 28px;
    height: 28px;

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

    border: 0;
    border-radius: 6px;

    background: transparent;

    color: var(--muted);

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
}

.voxly-server-invite-button:hover {
    background:
        rgba(255,255,255,0.07);

    color: var(--text);
}

.voxly-server-invite-button.hidden {
    display: none;
}

.voxly-server-choice-list {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-top: 14px;
}

.voxly-server-choice {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    border: 1px solid
        rgba(255,255,255,0.08);

    border-radius: 8px;

    padding: 12px;

    background:
        rgba(255,255,255,0.025);

    color: inherit;

    text-align: left;

    cursor: pointer;
}

.voxly-server-choice:hover {
    background:
        rgba(255,255,255,0.06);

    border-color:
        rgba(255,255,255,0.13);
}

.voxly-server-choice-icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

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

    border-radius: 50%;

    background:
        rgba(88,101,242,0.18);

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

.voxly-server-choice strong,
.voxly-server-choice small {
    display: block;
}

.voxly-server-choice small {
    margin-top: 3px;

    color: var(--muted);
}

.voxly-invite-preview {
    min-height: 18px;

    margin-top: 8px;

    font-size: 12px;

    color: var(--muted);
}

.voxly-generate-invite {
    margin-top: 4px;
}

.voxly-invite-result {
    margin-top: 18px;
}

.voxly-invite-result.hidden {
    display: none;
}

.voxly-invite-code-row {
    display: flex;
    align-items: center;

    gap: 8px;
}

.voxly-invite-code-row code {
    min-width: 0;
    flex: 1;

    overflow-x: auto;

    padding:
        10px
        11px;

    border: 1px solid
        rgba(255,255,255,0.09);

    border-radius: 6px;

    background:
        #111319;

    font-size: 14px;

    white-space: nowrap;
}

.voxly-invite-expiry {
    margin-top: 7px;

    color: var(--muted);

    font-size: 11px;
}
