.ls-view-device {
    display: none;
    /* Hidden for now */
    float: right;
}

.fe-right-sidebar-foundation {
    display: flex;
    border: 1px solid #e1e7ef;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 16px 8px;
    background: #fff;
    width: 320px;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.right-sidebar-top {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.left-sidebar-toggle {
    text-align: right;
    cursor: pointer;
    color: #555659;
}

.ls-collapsed .right-sidebar-top,
.ls-collapsed .left-sidebar-toggle {
    text-align: center;
}

.fe-right-sidebar-foundation.ls-collapsed .left-sidebar-menu-icon:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    left: calc(100% + 10px);
    z-index: 100;
    white-space: nowrap;
}

.fe-right-sidebar-foundation .ls-template-disable-tooltip:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    left: calc(100% + 10px);
    z-index: 100;
    white-space: nowrap;
    opacity: 1;
}

.fe-right-sidebar-foundation.ls-collapsed .ls-menu-disabled {
    pointer-events: none;
}

.ls-menu-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: #999;
}

.left-sidebar-menu {
    color: #10122a;
    padding: 6px 12px 6px 12px;
    width: fit-content;
    border: 1px solid #d1d5dc;
    border-radius: 8px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.left-sidebar-menu:hover {
    color: #292e6d;
    cursor: pointer;
    background-color: #e0e0e9;
    border-radius: 8px;
}

.left-sidebar-menu-icon {
    display: flex;
}

.left-sidebar-menu-icon svg,
.left-sidebar-toggle-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    transition: fill 0.3s, stroke 0.3s;
}

.right-sidebar-menu-label {
    font-size: .9rem;
}

.left-menu-separator {
    border-bottom: #dadce0 1px solid;
    width: 100%;
    display: block;
    margin: 8px 0;
}

.right-sidebar-menu-panel {
    width: 320px;
    position: absolute;
    top: 90px;
    display: none;
    padding: 15px 24px;
    z-index: 101;
    box-sizing: border-box;
    box-shadow: 0px 4px 0px 0px #e1e7ef, 0px 0px 0px 2px #e1e7ef inset;
    background: #fff;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.right-sidebar-menu-panel.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.rs-menu-panel-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0px;
    margin: 6px 0px;
}

.rs-menu-panel-row.display-none {
    display: none;
}

.ls-menu-panel-label {
    margin: 0 16px 0 0;
    font-size: .8rem;
}

.ls-menu-panel-field select {
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #979e9e;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    font-weight: normal;
    color: revert;
    font-size: .8rem;
}

.ls-menu-panel-label input.apple-checkbox,
.ls-menu-panel-field input.apple-checkbox {
    border-radius: 50px;
    margin: 0;
    width: 46px;
    height: 24px;
}

.ls-menu-panel-field input[type="checkbox"]:after,
.ls-menu-panel-label input[type="checkbox"]:after {
    width: 20px;
    height: 20px;
}

.ls-menu-panel-field input[type="file"] {
    max-width: 192px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #c2c3c4;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    font-weight: normal;
    box-sizing: border-box;
}

.ls-menu-panel-field input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #c2c3c4;
    width: 40px;
    height: 31px;
    padding: 0;
    cursor: pointer;
    border-radius: 6px;
    background-color: transparent;
    overflow: hidden;
    box-sizing: border-box;
}

.ls-menu-panel-field input[type="color"]::-webkit-color-swatch {
    border: none;
    padding: 0;
}

.ls-menu-panel-field input[type="color"]::-webkit-color-swatch-wrapper {
    border: none;
    padding: 0;
}

.ls-menu-panel-field input[type="text"] {
    margin-left: 10px;
    padding: 5%;
    width: 64px;
    height: 18px;
    border-radius: 6px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .05);
    border: 1px solid #979e9e;
}

#fd-background-color-code,
#ls-fd-font-code {
    margin-left: 2px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

#fd-background-color,
#ls-fd-font-color {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

@media only screen and (max-width: 1024px) {
    .fe-right-sidebar-foundation {
        width: auto;
    }

    .right-sidebar-menu-panel {
        left: auto !important;
    }

    .right-sidebar-menu-label {
        display: none;
    }

    .ls-expanded .right-sidebar-menu-label {
        display: inline-block;
    }

    .mobile-desktop-switch {
        display: none;
    }

    .left-sidebar-menu {
        display: inline-flex;
    }
}