.primary {
    background: #5F5FF1;
}
.primaryForeground {
    color: #5F5FF1;
}

.settingContainer {
    position: fixed;
    bottom: 25px;
    width: 100vw;
    z-index: 15;

    .materialIconBlock {
        display: flex;
        justify-content: center;
        align-items: center;

        svg{
            width: 100%;
            height: 100%;
        }

        outline: none !important;
    }

    .iconContainer {
        display: flex;
        border-radius: 5px;
        background: #00000050;
        width: 200px;
        margin: auto;

        .materialIconBlock {
            padding: 15px;

            svg{
                opacity: 0.4;
            }

            &:hover {
                cursor: pointer;

                svg {
                    opacity: 1;
                    color: #A8A8FF;
                }
            }
        }
        .materialIconBlock.activeMenu {
            color: #A8A8FF;
        }
    }

    .avatarPanel {
        position: absolute;
        bottom: 75px;
        padding: 0 20px;

        border-radius: 5px;
        background: #ffffffe8;
        width: 140px;
        right: 100px;
        box-shadow: 16px 16px 32px 0px #11111159;
        color: black;

        max-height: calc(100vh - 175px);
        overflow: auto;

        &>.avatarContainer{ margin-top: 40px; }
        &>.controlContainer{ margin-bottom: 10px; }

        .avatarContainer{
            display: flex;
            align-items: flex-start;
            flex-wrap: wrap;
            height: auto;

            .avatarPreviewWrapper{
                width: 90px;
                height: 90px;
                cursor: pointer;
                margin: 5px;
                flex-grow: 0;
                background: white;
                box-shadow: 0px 2px 18px 0px #11111159;
                position: relative;

                .avatarPreview{
                    width: 100%;
                    height: 100%;
                    border-radius: 10px;
                }

                &.activeAvatar {
                    &::after {
                        content: "✓";
                        position: absolute;
                        background: #5F5FF1;
                        height: 20px;
                        width: 20px;
                        top: 5px;
                        right: 5px;
                        text-align: center;
                        border-radius: 10px;
                        color: white;
                        font-weight: bold;
                    }
                }

                &.selectedAvatar {
                    &::before {
                        content: "✓";
                        position: absolute;
                        background: #21B84E;
                        height: 20px;
                        width: 20px;
                        top: 5px;
                        right: 5px;
                        text-align: center;
                        border-radius: 10px;
                        color: white;
                        font-weight: bold;
                    }
                }
            }
        }

        .controlContainer {
            margin-top: 10px;
            display: flex;
            justify-content: space-between;

            .actionBlock {
                position: absolute;
                width: 100%;
                display: flex;
                justify-content: space-between;
                left: 0;
                padding: 0 20px;
                top: 10px;
            }
        }

        .iconBlock {
            position: relative;
            color: black;
            border: none;
            padding: 0;

            svg {
                position: relative;
                z-index: 1;
            }

            &::before {
                content: ' ';
                position: absolute;;
                width: 0px;
                height: 0px;
                border-radius: 20px;
                background: #5F5FF1;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
            }
            &:hover, &:focus {
                color: #fff;

                &::before {
                    width: 35px;
                    height: 35px;
                }
            }

            &.disabled {
                color: grey;
                cursor: initial;

                &::before { content: none !important; }
            }
        }

        @media screen and (min-width: 768px) {
            width: 320px;
            &>.avatarContainer{ margin-top: 25px; }

            .avatarContainer {
                .avatarPreviewWrapper {
                    width: 130px;
                    height: 130px;
                }
            }

            .controlContainer {
                .actionBlock {
                    position: initial;
                    width: 140px;
                }
            }
        }
    }

    .avatarUploadPanel {
        position: absolute;
        bottom: 75px;
        padding: 0 30px;
        border-radius: 5px;
        background: #ffffffe8;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 16px 16px 32px 0px #11111159;
        color: black;
        max-height: calc(100vh - 175px);
        overflow: auto;
        width: 360px;

        .avatarHeaderBlock {
            margin: 30px 0 20px 0;
            .iconBlock { display: inline-block; color: #5F5FF1; }
            h2 { font-size: 18px; font-weight: bold; display: inline-block; vertical-align: middle; margin-left: 10px;}
        }
        .controlContainer {
            display: flex;
            margin-bottom: 30px;
            button {
                height: 35px;
                background: #5F5FF1;
                padding: 0;
                border: none;
                color: white;
                flex-grow: 1;
                border-radius: 3px;
                font-size: 14px;
                &>svg { font-size: 18px; margin-left: 5px; }
            }

            button + button { margin-left: 5px; }
            button[disabled] { background: grey; opacity: 1 !important; }
            .browseBtn { &>svg { transform: rotate(180deg); } }
            .uploadBtn { background: #21B84E; }
            button:hover, button:focus { outline: none; opacity: 0.8; }
        }
        .stage {
            border-radius: 5px;
            overflow: hidden;
            position: relative;
            .legendContainer {
                position: absolute;
                right: 5px;
                top: 5px;

                &>svg {
                    opacity: 0.5;
                    &:hover {
                        opacity: 0.75;
                    }
                }
                .legend {
                    position: absolute;
                    padding: 10px;
                    background: rgb(0, 0, 0, 0.75);
                    border-radius: 5px;
                    top: 30px;
                    right: 5px;
                    width: 130px;
                    color: #c8c8c8;
                    font-size: 12px;
                    display: none;

                    span { margin-left: 5px; }
                    .shiftKey { background: #c8c8c8; color: rgb(0, 0, 0, 0.75); padding: 2px 4px; border-radius: 4px; font-weight: bold; margin: 0 5px 0 0; }
                    svg { font-size: 18px; margin-right: 5px; }
                    &>div + div { margin-top: 10px; }
                }

                &:hover { .legend { display: block; } }
            }
        }

        .avatarSelectLabel {
            margin: 20px 0 8px 0;
            font-size: 15px;
            color: #5f5ff1;
        }

        .iconBlock {
            position: relative;
            color: black;
            border: none;
            padding: 0;

            svg {
                position: relative;
                z-index: 1;
                vertical-align: middle;
            }

            &::before {
                content: ' ';
                position: absolute;;
                width: 0px;
                height: 0px;
                border-radius: 20px;
                background: #5F5FF1;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
            }
            &:hover, &:focus {
                color: #fff;

                &::before {
                    width: 35px;
                    height: 35px;
                }
            }

            &.disabled {
                color: grey;
                cursor: initial;

                &::before { content: none !important; }
            }
        }

        @media (max-width: 400px) {
            padding: 0 15px;
            width: 330px;
            .avatarHeaderBlock { margin-top: 15px; }
            .controlContainer { margin-bottom: 15px; }
        }
    }
}

.menuPanel {
    position: absolute;
    bottom: 75px;
    padding: 0 30px;
    border-radius: 5px;
    background: #ffffffe8;
    width: calc(100% - 50px);
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 16px 16px 32px 0px #11111159;
    color: black;
    max-height: calc(100vh - 175px);
    overflow: auto;

    &>.profilePanel, &>.accountPanel, &>.settingPanel, &>.sharePanel, &>.locationPanel { margin: 30px 0; }

    .profilePanel {
        display: flex;
        flex-direction: column;
        position: relative;

        .closeButton {
            position: fixed;
            right: 8px;
            top: 8px;

            &:hover {
                cursor: pointer;
                color: red;
            }
        }

        .profileBlock {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            .avatarBlock {
                width: 130px;
                height: 130px;
                box-shadow: 0px 2px 18px 0px #11111159;
                border-radius: 10px;
                background: white;
                position: relative;
                flex-shrink: 0;
                flex-grow: 0;
                img { width: 100%; height: 100%; display: block; border-radius: 10px; }
                .avatarBtn {
                    position: absolute;
                    width: 50px;
                    height: 50px;
                    bottom: -15px;
                    right: -15px;
                    margin: 0;
                    min-width: 50px;
                    border-radius: 50%;
                    background: #5F5FF1;
                    box-shadow: 2px 2px 10px gray;
                    transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
                    &:hover, &:focus {
                        width: 60px;
                        height: 60px;
                        bottom: -20px;
                        right: -20px;
                    }
                }
            }

            .headerBlock {
                display: flex;
                flex-direction:column;
                flex-wrap: wrap;
                width: calc(100% - 170px);
                align-content: center;
                .inputBlock {
                    display: flex;
                    width: 100%;
                    align-items: flex-end;
                    .usernameInput {
                        width: 100%;
                        background: white;
                        input { font-size: 18px; color: black; }
                        :global(.MuiFormLabel-root) { color: grey; }
                        :global(.MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline) { border-color: black !important; }
                    }

                    .materialIconBlock {
                        margin-left: 20px;
                        width: 24px;
                        height: 24px;
                        flex-shrink: 0;
                        flex-grow: 0;
                        position: relative;

                        &::before {
                            content: ' ';
                            position: absolute;;
                            width: 0px;
                            height: 0px;
                            border-radius: 20px;
                            background: #5F5FF1;
                            left: 50%;
                            top: 50%;
                            transform: translate(-50%, -50%);
                            transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
                        }
                        &:hover, &:focus {
                            svg { color: #fff; z-index: 1; }
                            &::before { width: 35px; height: 35px; }
                        }
                    }
                }
                h2 {
                    font-family: 'Roboto';
                    font-size: 16px;
                    text-align: center;
                    opacity: 0.8;
                    margin: 20px auto 0 auto !important;
                    span { text-transform: capitalize; font-weight: 700; }
                }
                h4 {
                    margin-top: 4px;
                    text-align: center;

                    &:hover {
                        color: #5F5FF1;
                        cursor: pointer;
                    }
                }
            }
        }

        .emailPhoneSection {
            margin-top: 40px;
            .panelHeader {
                font-size: 16px;
                font-weight: bold;
                margin: 0;
                justify-content: center;
            }
            .emailField {
                margin-top: 10px;
                margin-bottom: 20px;
                width: 100%;
                background: white;
                input { color: black; }
                :global(.MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline) { border-color: black; }
                .materialIconBlock {
                    margin-left: 20px;
                    width: 20px;
                    height: 20px;
                    flex-shrink: 0;
                    flex-grow: 0;
                    position: relative;

                    &::before {
                        content: ' ';
                        position: absolute;;
                        width: 0px;
                        height: 0px;
                        border-radius: 20px;
                        background: #5F5FF1;
                        left: 50%;
                        top: 50%;
                        transform: translate(-50%, -50%);
                        transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
                    }
                    &:hover, &:focus {
                        svg { color: #fff; z-index: 1; }
                        &::before { width: 35px; height: 35px; }
                    }
                }
            }
        }

        .walletSection {
            text-align: center;

            .textBlock {
                font-size: 14px;
                font-weight: normal;
                text-align: center;
                display: block;
                cursor: initial;
            }

            .walletBtn {
                height: 35px;
                background: #5F5FF1;
                color: #FFFFFF;
                margin: 15px 0 20px 0;
    
                &:hover { opacity: 0.8; }
            }
        }

        .socialBlock {
            .socialContainer {
                display: flex;
                justify-content: space-evenly;
                margin: 20px 0;

                a { color: #000; outline: none !important; }
                &>a:hover svg, &>a:focus svg{ opacity: 1; }
                svg {
                    height: 40px;
                    width: 40px;
                    flex-shrink: 0.9;
                    margin: 0 5px;
                    cursor: pointer;
                    opacity: 0.7;
                }
            }

            .textBlock {
                font-size: 14px;
                font-weight: normal;
                text-align: center;
                display: block;
                cursor: initial;
            }

            .smallTextBlock {
                font-size: 12px;
                font-weight: normal;
                text-align: center;
                display: block;
                cursor: initial;
            }
        }
    }

    .settingPanel {
        .settingSection {
            position: relative;
            &+.settingSection {
                margin-top: 25px;
            }
        }
        .row {
            display: flex;
            align-items: center;

            &+.flexWrap { flex-wrap: wrap; }
            &+.row { margin-top: 5px; }

            .checkboxBlock {
                margin: 4px 20px 0 0;

                :global(.MuiCheckbox-root) {
                    padding: 0;
                    color: #5f5ff1;
                    margin-right: 10px;

                    svg { font-size: 24px; }
                    span { font-size: 14px; }
                }
                :global(.MuiIconButton-colorSecondary) {
                    &:hover { background: none; }
                }
            }

            .materialIconBlock {
                width: 24px;
                height: 24px;
                flex-shrink: 0;
                svg { color: #5f5ff1; }
            }

            .settingLabel {
                margin-left: 10px;
                font-size: 14px;
                width: 100px;
                display: inline-block;
                flex-shrink: 0;
                font-family: Roboto;
            }

            :global(.MuiSlider-root) {
                &.slider {
                    color: #5F5FF1;
                    margin-left: 10px;
                }
                :global(.MuiSlider-thumb) {
                    background: #5F5FF1;
                    border: #5F5FF1;
                    width: 16px;
                    height: 16px;
                    margin-top: -7px;
                    margin-left: -8px;
                }
            }
        }
        .automatic {
            position: absolute;
            top: -8px;
            right: 0;

            .checkboxBlock {
                margin: 0;
                :global(.MuiCheckbox-root) {
                    margin-left: 10px;
                    margin-right: 0;
                }
            }
        }
    }

    .sharePanel {
        position: relative;;
        .panelHeader {
            font-size: 18px;
            font-weight: bold;
        }
        .shareLink {
            font-size: 16px;
            color: #454D9A;
            font-weight: 700;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: auto;
            margin-bottom: 20px;
            width: 100%;
            height: 24px !important;
            border: none;
            background: transparent;
            scrollbar-width: none; /* IE */
            resize: none;
            outline: none !important;
            -ms-overflow-style: none; /* Firefox */
            &::-webkit-scrollbar {
                display: none;  /* Safari and Chrome */
            }
        }
        .copyBtn {
            width: 100px;
            height: 35px;
            background: #5F5FF1;
            position: absolute;
            top: -9px;
            right: 0;
            margin: 0;

            .materialIconBlock {
                width: 16px;
                height: 16px;
                margin-left: 5px;
            }

            &:hover { opacity: 0.8; }
        }
        .emailField {
            margin-top: 10px;
            width: 100%;
            input {
                color: black;
            }
            :global(.MuiOutlinedInput-root:hover) { fieldset { border-color: black;  } }
            :global(.MuiInputAdornment-root) { color: #5F5FF1; cursor: pointer; &:hover { opacity: 0.8; } }
        }
        .shareBtnContainer {
            margin-top: 15px;
            text-align: center;
            .shareBtn {
                width: 100px;
                height: 35px;
                background: #5F5FF1;
                &:hover { opacity: 0.8; }
            }
        }
    }

    .locationPanel {
        .control { margin-top: 10px; display: flex; }
        .newLocation { width: 90px; background: #5f5ff1; margin: 0; height: 40px; flex-shrink: 0; }
        .searchbox {
            margin: 0;
            margin-right: 10px;
            width: 100%;
            flex-shrink: 1;
            background: white;
            border-radius: 4px;
            input, svg { color: #444; }
            border-color: #444;
            &:focus-within {
                svg { color: #5F5FF1; }
            }
        }
        .tableContainer {
            width: 100%;
            overflow: auto;
        }
        .locationTable {
            margin-top: 10px;
            .tableHead {
                background: #5F5FF1;
                color: white;
            }
            .tablebody {
                .tableRow:hover { background: #d5d5f2; cursor: pointer; }
                .tableRow:focus { background: #9696fa; }
                .tableCell {
                    color: #444;
                    border: none;
                    box-sizing: border-box;
                }
            }
        }
        .tablePagination {
            color: #444;
            button { background: transparent; }
            button:hover { background: #5f5ff1; color: white; }
        }
        .formControl {
            width: 100%;
            margin-top: 15px;
            label {
                position: initial;
                display: block;
                transform: none;
                margin-bottom: 5px;
                color: #666;
                font-size: 0.8rem;
            }
            .checkbox {
                padding: 0 9px;
                svg { color: #666; }
                &:global(.Mui-checked) svg { color: #5f5ff1; }
                &:hover { background: transparent; }
                input:focus + svg { opacity: 0.7; }
            }
            &:hover {
                :global(.MuiOutlinedInput-notchedOutline) {
                    border: solid 1px #444;
                }
            }
            &:hover {
                .checkbox { opacity: 0.7; }
            }
        }
        .textbox input, .selectbox :global(.MuiSelect-selectMenu){
            color: #444;
            background: #f4f4f4;
        }
        .deleteBtnContainer {
            position: absolute;
            top: 20px;
            right: 22px;
            .deletebtn {
                width: 50px;
                height: 20px;
                color: rgb(241, 57, 57);
                background: transparent;
                &:disabled { color: grey; }
                &::before {
                    content: '';
                    position: absolute;;
                    width: 0px;
                    height: 0px;
                    border-radius: 25px;
                    background: rgb(241, 57, 57);
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                    transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
                    z-index: -1;
                }
                &:hover, &:focus {
                    color: #fff;
                    &::before {
                        width: 50px;
                        height: 50px;
                    }
                }
            }
        }
        .backbtn {
            width: 25px;
            height: 25px;
            border-radius: 20px;
            background: transparent;
            color: #5f5ff1;
            margin: 0;
            min-width: 0;
            margin-right: 10px;
            &::before {
                content: '';
                position: absolute;;
                width: 0px;
                height: 0px;
                border-radius: 25px;
                background: #5f5ff1;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
                z-index: -1;
            }
            &:hover, &:focus {
                color: #fff;
                &::before {
                    width: 35px;
                    height: 35px;
                }
            }
        }
        .savebtn {
            color: white;
            background: #5f5ff1;
            height: 35px;
            width: 150px;
            margin-top: 25px;
            &:hover { opacity: 0.8; }
        }
        .deleteDialogContainer {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            .dialog {
                background: white;
                width: 300px;
                border-radius: 4px;
                padding: 25px;
                box-shadow: 2px 2px 10px 2px #80808082;

                h2 { margin-top: 0; justify-content: center; color: #444; }

                .btnContainer{
                    display: flex;
                    flex-direction: row;
                    button {
                        padding: 0;
                        width: 100px;
                        height: 35px;
                        margin: 20px 10px;
                        background: #5f5ff1;
                        font-size: 0.8rem;
                        &.yesbtn { background: rgb(241, 57, 57); }
                    }
                    button:hover, button:focus { opacity: 0.8; }
                }
            }
        }
    }

    @media screen and (max-width: 500px) {
        .profileBlock { justify-content: center !important; }
        .headerBlock { width: 100% !important; margin-top: 30px; }
    }

    @media screen and (min-width: 768px) { width: 600px; min-height: 208px; }
}

.avatarPanel {
    position: absolute;
    bottom: 75px;
    padding: 0 20px;

    border-radius: 5px;
    background: #ffffffe8;
    width: 140px;
    right: 100px;
    box-shadow: 16px 16px 32px 0px #11111159;
    color: black;

    max-height: calc(100vh - 175px);
    overflow: auto;

    &>.avatarContainer{ margin-top: 40px; }
    &>.controlContainer{ margin-bottom: 10px; }

    .avatarContainer{
        display: flex;
        align-items: flex-start;
        margin: auto;
        flex-wrap: wrap;
        height: auto;

        .avatarPreviewWrapper{
            width: 90px;
            height: 90px;
            cursor: pointer;
            margin: 5px;
            flex-grow: 0;
            background: white;
            box-shadow: 0px 2px 18px 0px #11111159;
            position: relative;
            overflow: visible;

            .avatarPreview{
                width: 100%;
                height: 100%;
                border-radius: 10px;
            }

            &.activeAvatar {
                &::after {
                    content: "✓";
                    position: absolute;
                    background: #5F5FF1;
                    height: 20px;
                    width: 20px;
                    top: 5px;
                    right: 5px;
                    text-align: center;
                    border-radius: 10px;
                    color: white;
                    font-weight: bold;
                }
            }

            &.selectedAvatar {
                &::before {
                    content: "✓";
                    position: absolute;
                    background: #21B84E;
                    height: 20px;
                    width: 20px;
                    top: 5px;
                    right: 5px;
                    text-align: center;
                    border-radius: 10px;
                    color: white;
                    font-weight: bold;
                }
            }
            .deleteBlock {
                position: absolute;
                width: 30px;
                height: 30px;
                bottom: -5px;
                right: -5px;
                border: none;
                border-radius: 50%;
                background: #5F5FF1;
                box-shadow: 2px 2px 10px gray;
                color: white;
                transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
                display: flex;
                align-items: center;
                justify-content: center;
                &:not(:disabled):hover, &:not(:disabled):focus {
                    width: 35px;
                    height: 35px;
                    bottom: -5px;
                    right: -5px;
                }
                svg { font-size: 18px; }
                &:disabled { background: grey; cursor: default; }
            }
            .confirmationBlock {
                position: absolute;
                bottom: 8px;
                width: 125%;
                background: #fff;
                border-radius: 5px;
                color: grey;
                text-align: center;
                left: 50%;
                transform: translateX(-50%);
                box-shadow: 2px 2px 10px gray;

                p { margin: 5px; font-size: 13px; }
                button {
                    background: transparent;
                    color: #e81515;
                    border: none;
                    padding: 5px;
                    width: 50%;
                    &:last-child { color: #5f5ff1; }
                    svg { font-size: 20px; }
                }
                @media (min-width: 769px){
                    width: 80%;
                }
            }
        }
    }

    .controlContainer {
        margin-top: 10px;
        display: flex;
        justify-content: space-between;

        .actionBlock {
            position: absolute;
            width: 100%;
            display: flex;
            justify-content: space-between;
            left: 0;
            padding: 0 20px;
            top: 10px;
        }
    }

    .iconBlock {
        position: relative;
        color: black;
        border: none;
        padding: 0;
        background: transparent;

        svg {
            position: relative;
            z-index: 1;
        }

        &::before {
            content: ' ';
            position: absolute;;
            width: 0px;
            height: 0px;
            border-radius: 20px;
            background: #5F5FF1;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
        }
        &:hover, &:focus {
            color: #fff;

            &::before {
                width: 35px;
                height: 35px;
            }
        }

        &.disabled {
            color: grey;
            cursor: initial;

            &::before { content: none !important; }
        }
    }

    @media screen and (min-width: 768px) {
        width: 330px;
        &>.avatarContainer{ margin-top: 25px; width: 280px; }

        .avatarContainer {
            .avatarPreviewWrapper {
                width: 130px;
                height: 130px;
            }
        }

        .controlContainer {
            .actionBlock {
                position: initial;
                width: 140px;
            }
        }
    }
}

.avatarUploadPanel {
    position: absolute;
    bottom: 75px;
    padding: 0 30px;
    border-radius: 5px;
    background: #ffffffe8;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 16px 16px 32px 0px #11111159;
    color: black;
    max-height: calc(100vh - 175px);
    overflow: auto;
    width: 360px;

    .avatarHeaderBlock {
        margin: 30px 0 20px 0;
        .iconBlock { display: inline-block; color: #5F5FF1; background: transparent; }
        h2 { font-size: 18px; font-weight: bold; display: inline-block; vertical-align: middle; margin-left: 10px;}
    }
    .controlContainer {
        display: flex;
        margin-bottom: 30px;
        button {
            height: 35px;
            background: #5F5FF1;
            padding: 0;
            border: none;
            color: white;
            flex-grow: 1;
            border-radius: 3px;
            font-size: 14px;
            display: flex;
            justify-content: center;
            align-items: center;
            &>svg { font-size: 18px; margin-left: 5px; }
        }

        button + button { margin-left: 5px; }
        button[disabled] { background: grey; opacity: 1 !important; }
        .browseBtn { &>svg { transform: rotate(180deg); } }
        .uploadBtn { background: #21B84E; }
        button:hover, button:focus { outline: none; opacity: 0.8; }
    }
    .stage {
        border-radius: 5px;
        overflow: hidden;
        position: relative;
        .legendContainer {
            position: absolute;
            right: 5px;
            top: 5px;

            &>svg {
                opacity: 0.5;
                &:hover {
                    opacity: 0.75;
                }
            }
            .legend {
                position: absolute;
                padding: 10px;
                background: rgb(0, 0, 0, 0.75);
                border-radius: 5px;
                top: 30px;
                right: 5px;
                width: 130px;
                color: #c8c8c8;
                font-size: 12px;
                display: none;

                span { margin-left: 5px; }
                .shiftKey { background: #c8c8c8; color: rgb(0, 0, 0, 0.75); padding: 2px 4px; border-radius: 4px; font-weight: bold; margin: 0 5px 0 0; }
                svg { font-size: 18px; margin-right: 5px; vertical-align: middle; }
                &>div + div { margin-top: 10px; }
            }

            &:hover { .legend { display: block; } }
        }
    }

    .avatarSelectLabel {
        margin: 20px 0 8px 0;
        font-size: 15px;
        color: #5f5ff1;

        &.avatarSelectError {
            color: red;
        }
    }

    .iconBlock {
        position: relative;
        color: black;
        border: none;
        padding: 0;

        svg {
            position: relative;
            z-index: 1;
        }

        &::before {
            content: ' ';
            position: absolute;;
            width: 0px;
            height: 0px;
            border-radius: 20px;
            background: #5F5FF1;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.15s cubic-bezier(.18,.89,.32,1.28);
        }
        &:hover, &:focus {
            color: #fff;

            &::before {
                width: 35px;
                height: 35px;
            }
        }

        &.disabled {
            color: grey;
            cursor: initial;

            &::before { content: none !important; }
        }
    }

    @media (max-width: 400px) {
        padding: 0 15px;
        width: 330px;
        .avatarHeaderBlock { margin-top: 15px; }
        .controlContainer { margin-bottom: 15px; }
    }
}

.selectOptionContainer ul {
    background: white;
    li { color: #444; }
}
