.connectiondialog {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 3;

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

    background: #0000005e;

    .dialog {
        width: 300px;
        padding: 20px;
        border-radius: var(--border-radius);
        border: 2px solid var(--main-color);
        background: var(--panel-color);

        .title {
            width: 100%;
            font-size: 16px;
        }

        .message {
            width: 100%;
            font-size: 12px;
            margin: 5px 0px;
        }

        .link {
            font-size: 14px;
            margin-bottom: 10px;
        }

        .fields {
            width: 100%;
            min-height: 100px;

            .field {
                width: calc(100% - 5px);
                display: flex;
                justify-content: flex-start;
                align-items: center;
                margin-left: 5px;
                margin-top: 5px;

                .fieldlabel {
                    font-size: 12px;
                    white-space: nowrap;
                    margin-right: 10px;
                    color: #bfbfbf;
                }

                input,
                select {
                    width: 100%;
                    margin: 0px;
                    padding: 2px 5px;
                }
            }
        }

        .buttons {
            width: 100%;
            display: flex;
            justify-content: flex-end;
            margin-top: 10px;
            font-size: 12px;

            .secondary {
                margin-right: 10px;
            }
        }
    }
}