/* =========================================================
   VOXLY SERVER CREATION v0.13.0
   ========================================================= */

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

    z-index: 5000;

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

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

.voxly-modal-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(0,0,0,0.65);
}

.voxly-modal-card {
    position: relative;

    width:
        min(
            420px,
            calc(100vw - 32px)
        );

    padding: 22px;

    border-radius: 10px;

    background:
        #1b1d24;

    box-shadow:
        0 18px 50px
        rgba(0,0,0,0.45);
}

.voxly-modal-title {
    font-size: 20px;
    font-weight: 700;
}

.voxly-modal-subtitle {
    margin-top: 5px;
    margin-bottom: 18px;

    font-size: 13px;

    opacity: 0.62;
}

.voxly-modal-label {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.05em;

    opacity: 0.72;
}

.voxly-modal-input {
    width: 100%;

    box-sizing: border-box;

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

    border-radius: 6px;

    padding:
        10px
        11px;

    outline: none;

    background:
        #111319;

    color: inherit;
}

.voxly-modal-input:focus {
    border-color:
        rgba(110,125,255,0.75);
}

.voxly-modal-error {
    min-height: 18px;

    margin-top: 8px;

    font-size: 12px;

    color: #ff6b6b;
}

.voxly-modal-actions {
    display: flex;
    justify-content: flex-end;

    gap: 8px;

    margin-top: 14px;
}

.voxly-modal-btn {
    border: 0;
    border-radius: 6px;

    padding:
        9px
        14px;

    cursor: pointer;

    color: inherit;
}

.voxly-modal-btn.secondary {
    background:
        rgba(255,255,255,0.07);
}

.voxly-modal-btn.primary {
    background:
        #5865f2;
}

.voxly-modal-btn:disabled {
    opacity: 0.55;
    cursor: default;
}
