.logo {
    position: fixed;
    top: 30px;
    inset-inline-start: 30px;
}

.dialog-wrapper {
    display: flex;
    justify-content: center;
    padding: 5vw;
    padding-top: 100px;
}

.dialog {
    background-color: var(--light);
    padding: 50px;
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 30px rgb(0 0 0 / 16%);
    transform: scale(.5);
    z-index: -1;
    opacity: 0;
    transition: 0.3s;
}

.dialog.active {
    transform: scale(1);
    z-index: 1;
    opacity: 1;
}

.dialog-head {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
}

.dialog-head p {
    margin: 0;
}

.dialog-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#step-5 .dialog-choices,
#step-6 .dialog-choices {
    grid-template-columns: 1fr;
}

#step-7 .dialog-choices {
    grid-template-columns: 1fr 1fr 1fr;
}

label.choice {
    width: 100%;
    border: 2px solid var(--shade2);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

label.choice i {
    font-size: 22px;
    color: var(--text-light);
}

label.choice.auth-radio input:checked~i:before {
    content: "\ecb2";
    color: var(--color2);
}

label.choice.auth-checkbox input:checked~i:before {
    content: "\ea24";
    color: var(--color2);
}

label.choice b {
    font-size: 16px;
    color: var(--text);
}

label.choice.active {
    border-color: var(--color2);
    box-shadow: 0 0 1px var(--color2);
}

label.choice.active b {
    color: var(--head);
    font-weight: bold;
}

.dialog-foot {
    display: flex;
    align-items: center;
    margin-top: 30px;
    position: relative;
}

button.skip {
    position: absolute;
    inset-inline-end: 0;
    top: 90px;
    color: #FFF;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

button.next,
button.skip-step,
button.finish,
button.back {
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 600;
}

button.next,
button.finish {
    margin-inline-start: auto;
}

button.skip-step {
    margin-inline-start: auto;
}

button.skip-step+button.next {
    margin-inline-start: 0;
}

button.back:before {
    content: "\e92f";
    font-family: 'icons';
    font-weight: normal;
}


button.next:after,
button.skip-step:after,
button.finish:after {
    content: "\e930";
    font-family: 'icons';
    font-weight: normal;
}

button.skip:after {
    content: "\e9d9";
    font-family: 'icons';
    font-weight: normal;
}

#step-2 .choice {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 0;
}

#step-2 .choice i {
    grid-row: 1/3;
    grid-column: 2/3;
}

@media all and (max-width:768px) {
    .dialog-choices {
        grid-template-columns: 1fr !important;
    }

    .dialog {
        padding: 7vw;
    }
}