.toggle-generator {
    button {
        width: 100%;
    }
}
.qr-code-generator {
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: rgba(250, 250, 250, .2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 100;
    padding: 50px;

    &.sl-popup-open {
        display: flex;
    }

    @media(max-width: 1024px) {
        padding: 40px;
    }

    @media(max-width: 767px) {
        padding: 20px;
    }

    .generator-content {
        width: 100%;
        max-width: 1140px;
        display: flex;
        flex-direction: column;


        .generator-form {
            width: 100%;
            display: flex;
            background: #000;
            border-radius: 10px;
            gap: 20px;
            padding: 20px;
            flex-wrap: wrap;
            justify-content: center;
            max-height: 80vh;
            overflow: auto;

            .cr-code-switcher {

                display: flex;
                justify-content: center;
                width: 100%;
                padding: 10px;
                background: #333336;
                max-width: calc(100% - 40px);
                border-radius: 10px;

                span {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #fff;
                    text-align: center;
                    border-radius: 20px;
                    padding: 30px;
                    border-radius: 20px;
                    flex: 1;
                    cursor: pointer;
                    z-index: 1;
                    transition: .3s ease-in-out;

                    @media(max-width: 1024px) {
                        padding: 10px;
                    }

                    &.active {
                        background: #fff;
                        color: #333336;

                    }
                }
            }

            .form-field {
                display: flex;
                flex-direction: column;
                gap: 10px;
                flex: 1;

                &.col-100 {
                    width: 100%;
                    flex: auto;
                }

                @media(max-width: 767px) {
                    flex: auto;
                    width: 100%;
                }

                label {
                    color: #fff;
                }

                input {
                    background: #fff;
                    color: #000;

                    &[type="range"] {
                        height: 40px;

                        &::-webkit-progress-bar,
                        &::-moz-progress-bar {
                            background-color: orange;
                            border-radius: 15px;
                        }
                    }

                    &.error {
                        border: 1px solid red;
                    }
                }

                &.canvas {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 20px;

                    canvas {
                        width: 200px;
                    }

                    span {
                        width: 100%;
                        color: #fff;
                        text-align: center;
                        a {
                            text-decoration: underline !important;
                        }
                    }

                    .cr-code-actions {
                        display: flex;
                        justify-content: center;
                        gap: 20px;
                        align-items: center;
                        width: 100%;
                        flex-wrap: wrap;



                        a,
                        button {
                            display: flex;
                            gap: 10px;
                            align-items: center;
                            padding: 5px 10px;
                            border-radius: 50px;
                            background-color: var(--e-global-color-secondary);
                            color: #fff;
                            line-height: 1;

                            &:hover {
                                opacity: .8;
                            }

                            img {
                                width: 20px;
                                height: 20px;
                                object-fit: contain;
                            }
                        }
                    }
                }
            }
        }

    }
}