@import 'icon.css';
body {
    transition: all 0.5s;
    background: #f0f0f0 !important;
    overflow-x: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.top-bar {
    min-height: 108px;
    /* background-color: aqua; */
    padding: 10px;
}

.top-bar .logo {
    margin-left: 14px;
    height: 60px;
}

.main-content {
    height: calc(100vh - 133px);
    /* margin-right: 0 !important; */
}

.mouse-content {
    padding: 10px;
}

.mouse-name {
    font-size: 25px;
    font-weight: bold;
}

.mouse-content>img {
    height: 70vh;
    object-fit: contain;
}

.personalize-content {
    background-color: white;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    padding-left: 20px !important;
}

.shadow-card {
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.button-reset {
    position: absolute;
    /* button bottom: 10; */
}

.card-section-title {
    font-weight: bold;
}

.stage-section>span {
    white-space: nowrap;
}

.stage-section {
    background-color: #f6f6f6;
    border-radius: 10px;
}

.form-control {
    padding: 0 !important;
    text-align: center;
}

.color-element {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.form-check-input:checked {
    background-color: black !important;
}

.btn-plus {
    width: 35px;
    height: 35px;
    font-size: 25px !important;
    border-radius: 50% !important;
    padding: 0px 10px 0px 10px !important;
    background-color: #3bb1ff !important;
    border-color: transparent !important;
    position: relative;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all 0.5s;
}

.btn-plus:hover {
    background-color: #15a1ff !important;
}

.btn-plus .icon-plus {
    color: white;
    /* position: absolute; */
    cursor: pointer;
}
.no_device .reqDev{
    width: 45px;
    height: 45px;
}
.btn-pwa {
    border-radius: 10px !important;
    border-color: transparent !important;
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
    transition: all 0.5s;
}

.color-primary {
    background-color: #3bb1ff !important;
}

.color-primary:hover {
    background-color: #15a1ff !important;
}

.btn-default {
    background-color: #eaeaea !important;
    color: #5e5e5e !important;
    border-color: transparent !important;
}

.btn-default:hover {
    background-color: #c2c2c2 !important;
    color: #5e5e5e !important;
}

.btn-check:focus+.btn-primary,
.btn-primary:focus {
    box-shadow: none !important;
}

.device-section {
    height: 100%;
    width: 130px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.5s;
}

.device-section:hover {
    background-color: #cccccc;
}

.device-section.selected {
    background-color: rgba(0, 0, 0, 0.15);
}

.type-section {
    width: 100%;
    height: 45px;
    border-radius: 10px;
    background-color: #cccccc;
    cursor: pointer;
    transition: all 0.5s;
}

.type-section:hover {
    background-color: #b0b0b0;
}
.section-selected {
    background-color: #4c4c4c !important;
    font-weight: bold;
}
.section-selected i{
    font-weight: bold;
    color: white !important;
}

.section-selected path{
    fill: white !important;
}

.text-section {
    width: fit-content;
    height: 45px;
    border-radius: 10px;
    background-color: #cccccc;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.5s;
}

.text-section:hover {
    background-color: #b0b0b0;
}
.text-section-selected {
    background-color: black;
    color: white;
}


input[type="range"] {
    -webkit-appearance: none;
    margin-right: 15px;
    width: 100%;
    height: 7px;
    background: #c1c1c1;
    border-radius: 5px;
    background-image: linear-gradient(#40b0f9, #40b0f9);
    background-size: 20% 100%;
    background-repeat: no-repeat;
}


/* Input Thumb */

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #4c4c4c;
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #4c4c4c;
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

input[type="range"]::-ms-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #4c4c4c;
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #ff0200;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #ff0200;
}

input[type="range"]::-ms-thumb:hover {
    background: #ff0200;
}


/* Input Track */

input[type=range]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type=range]::-moz-range-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type="range"]::-ms-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

div.btn-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}

div.btn-container i {
    display: inline-block;
    position: relative;
    top: -9px;
}

label {
    font-size: 13px;
    color: #424242;
    font-weight: 500;
}

.btn-color-mode-switch {
    display: inline-block;
    margin: 0px;
    position: relative;
}

.divider {
    width: 100%;
    height: 1px;
    border: 1px solid rgb(238, 238, 238);
}

.setting-modal .menu-title {
    color: rgb(26, 26, 26);
}

.btn-color-mode-switch>label.btn-color-mode-switch-inner {
    margin: 0px;
    width: 75px;
    height: 43px;
    background: #a2a2a2;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    /*box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;*/
    display: block;
    cursor: pointer;
}

.btn-color-mode-switch>label.btn-color-mode-switch-inner:before {
    content: '\e900';
    font-family: 'icomoon' !important;
    position: absolute;
    font-size: 17px;
    font-weight: 500;
    top: 8px;
    right: 15px;
    color: white;
}

.btn-color-mode-switch>label.btn-color-mode-switch-inner:after {
    content: '\e901';
    font-family: 'icomoon' !important;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 26px;
    position: absolute;
    left: 3px;
    top: 4px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px -2px #111;
    padding: 5px 0px;
    font-size: 17px;
}

.btn-color-mode-switch>.alert {
    display: none;
    background: #FF9800;
    border: none;
    color: #fff;
}

.btn-color-mode-switch input[type="checkbox"] {
    cursor: pointer;
    width: 50px;
    height: 25px;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    margin: 0px;
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner {
    /* background: #151515; */
    /* color: #fff; */
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:after {
    content: '\e900';
    font-family: 'icomoon' !important;
    left: 36px;
    font-size: 17px;
    /* background: #3c3c3c; */
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:before {
    content: '\e901';
    font-family: 'icomoon' !important;
    right: auto;
    left: 13px;
    font-size: 19px;
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner {
    /*background: #66BB6A; */
    /*color: #fff;*/
}

.btn-color-mode-switch input[type="checkbox"]:checked~.alert {
    display: block;
}

.modal-header {
    padding: 0.5rem 1rem !important;
    background-color: #eaeaea;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.modal-title {
    font-weight: bold;
    font-size: 16px;
}

.modal .btn-close {
    font-size: 10px;
}

.modal-content {
    border-radius: 10px !important;
}

.modal-footer {
    border-top: none !important;
    padding: 0.5rem !important;
}

.device-select-section {
    background-color: #f6f6f6;
    border-radius: 10px;
    cursor: pointer;
}

.device-select-section span {
    font-weight: bold;
}

.icon-settings {
    padding: 5px;
}

body.modal-open> :not(.modal) {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
}

.setting-modal .menu-title {
    color: black;
}

.setting-modal .menu-version {
    color: #616161;
}

.form-select {
    border-radius: 10px !important;
    text-align: center;
    padding: 0.2rem !important;
    cursor: pointer;
    background-color: #ebebeb !important;
}


/*Switch custom*/

.input-switch {
    display: inline-block;
}

.input-switch .input {
    position: absolute;
    visibility: hidden;
}

.input-switch .input+.switch {
    position: relative;
    height: 10px;
    width: 35px;
    border-radius: 10px;
    background-color: #b3b3b3/*thanh ngang tat*/
    ;
    vertical-align: middle;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s 0.05s;
}

.input-switch .input+.switch::before,
.input-switch .input+.switch::after {
    content: "";
    position: absolute;
    transition: 0.35s;
}

.input-switch .input+.switch::before {
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    border-radius: 10px;
    background-color: #739ce6;
}

.input-switch .input+.switch::after {
    left: 0px;
    top: 50%;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: none;
    background-color: #757575;
    /*nut cham tat*/
    transform: translateY(-50%);
    opacity: 1;
}

.input-switch .input+.switch:hover::after {
    transform: translateY(-50%) scale(1.1);
}

.input-switch .input:checked+.switch {
    background-color: #3bb1ff;
}

.input-switch .input:checked+.switch::before {
    width: calc(100%);
    background-color: #69879b;
}

.input-switch .input:checked+.switch::after {
    left: calc(100% - (20px));
    background-color: #3bb1ff;
}

.btn-direction button:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.btn-direction button:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.btn-direction {
    height: 35px;
}

.random-color{
    background: linear-gradient(
        90deg,
        rgba(255, 0, 0, 1) 0%,
        rgba(255, 154, 0, 1) 10%,
        rgba(208, 222, 33, 1) 20%,
        rgba(79, 220, 74, 1) 30%,
        rgba(63, 218, 216, 1) 40%,
        rgba(47, 201, 226, 1) 50%,
        rgba(28, 127, 238, 1) 60%,
        rgba(95, 21, 242, 1) 70%,
        rgba(186, 12, 248, 1) 80%,
        rgba(251, 7, 217, 1) 90%,
        rgba(255, 0, 0, 1) 100%
    );
}
#lighting-type-container
{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: center;
}

.modal-body {
    min-height: calc(100vh - 143px);
    max-height: calc(100vh - 143px);
    overflow-y: auto; 
}

.general-setting-icon{
    font-size: 27px;
    color:#2b2b2b
}
.image-content{
    padding-right: 10px !important;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    width: 95%;
    height: 100%;
    background-image: url('../assets/image/bg-empty.png');
    background-size: cover;
}

.brightness{
    display: none;
}
.angle_snapping{
    display: none;
}