.option__tab .nav-link svg {
    fill: #aeaeb2;
    margin: auto;
}

.option__tab .nav-link.active svg {
    fill: #161616;
}

.option__tab .nav-tabs .nav-item {
    flex-basis: 50%;
}

.page-item {
    position: relative;
    padding: 20px;
    background: #f1f1f1cc;
    box-shadow: 0 0 2px 2px #dddddd;
    border-radius: 5px;
    display: inline-block;
    margin: 8px;
}

.page-item:hover {
    cursor: pointer;
}

.page-item.selected::after,
#sidebar .split__style__item.active::after {
    position: absolute;
    top: 5px;
    left: 5px;
    border: 1px solid #1d9d58;
    display: flex;
    padding: 0 5px 0 6px;
    border-radius: 50px;
    background: #4acd86;
}

.page-item.selected::after {
    content: url("/images/svg/tick.svg");
}

#sidebar .split__style__item.active::after {
    content: url("/images/svg/tickmenu.svg");
    padding: 0 2px 0 3px;
    height: 19px;
    align-items: center;
}

div.select-page {
    display: inline-block;
    padding: 8px;
    border-radius: 5px;
}
div.select-page:hover,
div.select-page:hover > .page-item,
div.range-item.active,
div.range-item.active .add-number-page {
    background: #ffffff;
}
div.select-page .page-item img{
    pointer-events: none;
}
.ranges .range-title {
    font-weight: 400;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
    line-height: 20px;
    font-size: 16px;
    color: #33333b;
}

.form__group--boxed {
    margin: 0 8px;
    border: 1px solid #707078;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    width: auto;
    border-radius: 4px;
    padding-left: 8px;
    overflow: hidden;
    background: #fff;
}
.form__group--boxed  label{
    font-size: 12px;
    max-width: 120px;
}

.form__group--boxed .input, .form__group--boxed input, .form__group--boxed select {
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    top: 0;
    border-left: 1px solid #707078;
    padding: 8px 24px 8px 12px;
}


div.add-number-page {
    padding: 20px 20px 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.range-item .add-number-page img {
    min-width: 198px;
}


.form__group.show-pages-choose {
    display: flex;
    align-items: center;
}

.form__group.show-pages-choose input {
    flex: 1;
    border: 1px solid #cccc;
    border-radius: 5px;
    padding: 2px 8px;
}

.form__group.show-pages-choose label {
    margin: 0 12px 0 0 !important;
}

div.input-check {
    display: flex;
}

div.input-check input {
    width: 20px;
    height: 20px;
    margin-right: 8px;

}

div.input-check label {
    margin: unset;
}

#sidebar .split__style__item {
    flex: 50%;
    text-align: center;
    position: relative;
    border-right: 1px solid #c4c5c7;
    border-bottom: 1px solid #c4c5c7;
    padding-top: 6px;
}

#sidebar .split__style__item.active {
    border-bottom: none;
}

#sidebar .split__style__item:last-child {
    border-right: none;
}

.page-item span {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 8px;
    font-weight: 500;
    border-radius: 5px;
    color: #5e5c5ccc;
}

#btn_add_range {
    color: #e5322d;
    background-color: #fff;
    outline: 2px solid #e5322d;
    outline-offset: -2px;
    border: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-weight: 600;
    border: none;
    -webkit-transition: all .1s linear;
    -o-transition: all .1s linear;
    transition: all .1s linear;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-shadow: none;
    text-decoration: none;
    letter-spacing: 0;
    border-radius: 8px;
    font-size: 12px;
    /*line-height: 16px;*/
    padding: 8px 12px;
}
#btn_add_range svg+div{
    margin-left: 8px;
}

#btn_add_range:hover {
    background-color: #fff;
    outline: 2px solid #bd060a;
    outline-offset: -2px;
    border: none;
    color: #bd060a;
}

#list-custom-ranges {
    margin: 12px 0;
}

.ranges {
    position: relative;
    margin: 0px -16px;
    border-bottom: 1px solid #ebebf4;
    padding: 12px 12px;
}

.ranges.active{
    background-color: #ebebf4;
}
.ranges.active .input-number{
    background-color: #ffff;
}

.ranges .range-remove{
    display: none;
    top: 12px;
}
.ranges:hover .range-remove{
    display: flex;
}


.input-range {
    margin-left: 7px;
    margin-bottom: 5px;
}


#fixed-ranges div.input-number{
    border: unset;
}
#number_of_fix_ranges{
    border: 1px solid #707078;
}

.split__style__item,
.option__image__item,
.range-remove {
    cursor: pointer;
}
.ranges .ico-drag {
    width: 14px;
    height: 14px;
    -ms-flex: 0 0 32px;
    flex: 0 0 32px;
    margin: 0;
    display: block;
    background: url(/images/svg/drag-up-down.svg) no-repeat 50%;
    background-size: contain;
    cursor: move;
}

input[type="number"] {
    -moz-appearance: textfield; /* Ẩn nút spinner mặc định trên Firefox */
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 0.5;
    -webkit-appearance: inner-spin-button !important;
    width: 20px;
    position: absolute;
    top: 10%;
    right: 4px;
    height: 80%;
    background-color: unset;

}
input[type=number]::-webkit-inner-spin-button:hover,
input[type=number]::-webkit-outer-spin-button:hover {
    background-color: unset;

}

.option__panel input[type=number] {
    box-shadow: none;
}
.number-range-option {
    margin-left: 4px;
    padding: 2px 6px;
    background-color: #ebebf4;
    border-radius: 4px;
}
.input-number:nth-child(2){
    margin-right: 35px;
}