main[role="main"] {
    margin-top: unset;
    overflow: hidden;
    background: unset;
}
.navbar.header{
    display: none;
}
#top{

}
.line-vertical{
    width: 1px;
    height: 32px;
}
.btn-common {
    border-radius: 15px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 24px;
}
.bg-blue {
    background-color: rgb(29 78 216);
}
.bg-216-216-219{
    background-color: rgb(216 216 219);
}

.nav-link.dropdown-toggle{
    border-radius: 10px;
    background-color: #F3F3F4;
}
.nav-link:hover{
    color: inherit;
}
.nav-left{

}
.upscale-item{
    border-radius: 5px;
}
.upscale-item.active{
    border: 1px solid rgb(209 213 219);
    background-color: #ffffff;
}
.bg-11182799{
    background-color: #11182799;
}
.bg-172439{
    background-color: rgba(17, 24, 39, 0.6);
}
#ob-top-right{
    position: absolute;
    top: 0;
    right: 0;
}
#ob-bottom-left{
    position: absolute;
    left: 0;
    bottom: 0;
}
#ob-bottom-right{
    position: absolute;
    right: 0;
    bottom: 0;
}
#ai_skin_compare_container{
    height: 500px;
    display: flex;
    justify-content: center;
}

img-comparison-slider{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#ai_skin_compare_container img-comparison-slider{
     width: auto;
 }

.radius-50px {
    border-radius: 50px;
}
.radius-10px {
     border-radius: 10px;
 }
.btn-convert .round{
    font-size: 14px;
    line-height: 18px;
    width: 18px;
    height: 18px;
}
.form-group.active {
    border-radius: 5px;
    background-color: rgb(235 242 254 );
}
.ob-comparison{
   display: flex;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}
img.first,
img.second{
    height: 100%;
    object-fit: contain;
}
.custom-checkbox-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    margin-right: 8px;
    vertical-align: middle;
}

.icon-checked,
.icon-unchecked {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.2s ease;
}

.icon-checked {
    opacity: 0;
}

.icon-unchecked {
    opacity: 1;
}

/* Kích hoạt hiển thị icon khi label có class active */
.form-check-label.active .icon-checked {
    opacity: 1;
}

.form-check-label.active .icon-unchecked {
    opacity: 0;
}
label{
    margin: unset;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    outline: none;
    height: 2px;
    border-radius: 5px;
    background: transparent;
    border: none;
}
input[type=range]::-webkit-slider-runnable-track {
    height: 2px;
    width: 100%;
    border-radius: 5px;
    border-color: #646363;
    box-sizing: border-box;
}

input[type=range]::-moz-range-track {
    height: 2px;
    width: 100%;
    border-radius: 5px;
    border: none;
}
input[type=range]:focus{

    border: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #2f2d2d;
    border: 2px solid #1b1c1b;
    border-radius: 50%;
    margin-top: -8px; /* căn giữa thumb theo chiều dọc */
    cursor: pointer;
    position: relative;
    z-index: 2;
}

input[type=range]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #2f2d2d;
    border: 2px solid #1b1c1b;
    border-radius: 50%;
    cursor: pointer;
}
input[type=range]::-moz-range-track {
    background: transparent;
}
.background-remover .menu {
    border-bottom: 2px solid transparent;
}
.background-remover .menu.active{
    border-bottom: 2px rgb(0 81 238) solid;
    color: rgb(0 81 238) ;
}
.background-remover .menu.active svg path{
    stroke: rgb(0 81 238) ;
}
.max-h-\[465px\] {
    max-height: 465px;
}
.background-remover .bt-color{
    border: 2px  transparent solid;
    padding: 1px;
}
.background-remover .bt-color.active{
    border: 2px  rgb(0 81 238) solid;
}
.background-remover .bt-color>div{
    width: 30px;
    height: 30px;
}
input[type="color"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.bg-color-transparent{
    background-image: url(/images/ai_image/background_remover/transparent.png);
    background-repeat: repeat;
}
.bg-color-mix{
    background: conic-gradient(from 180deg at 50% 50%,#ff7a00 0deg,#fff500 61.87deg,#0eed82 123.75deg,#06f 179.22deg,#bd00ff 243.75deg,red 309.38deg,#ff7a00 1turn);
}
.card-icon-menu svg{
    width: 20px;
    height: 20px;
}
.card-icon-menu svg path{
    stroke: currentColor;
}
.dropdown-menu-item-ai.active {
    color: #0066FF;
}

.dropdown-menu-item-ai.active svg rect,
.dropdown-menu-item-ai.active svg path{
    stroke: #0066FF;
}
.dropdown-menu-item-ai:hover{
    color: #212529;
    background-color: #f3f3f3;
}
.dropdown-menu-item-ai:hover svg rect,
.dropdown-menu-item-ai:hover svg path{
    stroke: currentColor;
}
/*remove-object-mode*/
svg {
    touch-action: none;
    user-select: none;
}
.image-render {
    touch-action: none; /* quan trọng để không trigger zoom mặc định của trình duyệt */
}

.remove-object-mode{
    width: 2.5rem;
    height: 2.5rem;
    color: rgb(140 141 156);
    background-color: #FFFFFF;
    border: 1px rgb(215 215 215) solid;
    border-radius: 0.25rem;
}
.remove-object-mode.active{
    color: rgb(0 81 238);
    border: 1px rgb(0 81 238) solid;
}
.remove-object-mode svg path{
    stroke: currentColor;
}
.remove_object .image-render,
.remove_text .image-render,
.remove_wire_line .image-render{
    max-width: 100%;
    max-height: calc(100vh - 160px);
    overflow: auto;
}
/* Thanh cuộn tổng */
.image-render::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

/* Phần track (nền của thanh cuộn) */
.image-render::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Phần thumb (nút cuộn) */
.image-render::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Hover */
.image-render::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.image-render {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}
.remove_object .menu-option,
.remove_text .menu-option,
.remove_wire_line .menu-option{
    position: absolute;
    bottom: 0;
    left: 5%;
    z-index: 9;
}
.remove_object .zoom-container,
.remove_text .zoom-container,
.remove_wire_line .zoom-container{
    max-width: 100%;
    max-height: 100%;
}
.remove_object .image-render img,
.remove_text .image-render img,
.remove_wire_line .image-render img{
    max-height: calc(100vh - 160px);
    object-fit: contain;
}

/*compress-image-mode + convert_image*/
.compress-top-left{
background-color: #252638;
    font-size: 16px;
}
.compress-top-left button{
    font-size: 16px;
}
.compress-top-left{
    background-color: #252638;
}
.compress-top-right{
    background-color: #00B05C;
    text-align: center;
}
.compress-image-item{
    gap: 1rem;
}
.compress-image-item .img{
    width: 56px;
    height: 56px;
}
.compress-image-item .file-name{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.compress-image-item .file-ext{
    padding: 3px;
    background-color: #D7E5FE;
    color: #0051EE;
    font-size: 12px;
    line-height: 16px;
    border-radius: 5px;
}
.compress-image-item .info-compress{
    background-color: #EAEAED;
    border-radius: 15px;
}
.compress-image-item .info-compress.radius-5px{
    border-radius: 5px;
}
.compress-image-item .status{

}
.compress-image-item .status.ready{
    background-color:#0051EE;
}
.compress-image-item .status.success{
    background-color: #3fee00;
}
.compress-image-item .status.error{
    background-color: #c63535;
}
.btn-blue{
    background-color: rgb(29 78 216);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);
    border: unset;
}

/*end compress-image-mode*/



@media (min-width: 1024px) {
    .ob-comparison{
        max-width: 1024px;
    }
    .compress-image-item{
        gap: 1.5rem;
    }
    .compress-image-item>div:not(:last-child){
        flex: 2;
    }
    .compress-image-item>div:last-child{
        flex: 1;
        justify-content: end;
    }
    .compress-top-right{
        white-space: nowrap;
    }


}


@media (min-width: 768px) {

    .nav-right{
        width: 360px;
    }
    .remove_text .nav-right,
    .remove_wire_line .nav-right{
        order: 1;
    }
    .remove_text .nav-left,
    .remove_wire_line .nav-left{
        order: 2;
    }
}


@media (max-width: 768px) {
    .remove_object .image-render,
    .remove_text .image-render,
    .remove_wire_line .image-render {
        max-height: calc(100vh - 300px);
    }
    .remove_object .image-render img,
    .remove_text .image-render img,
    .remove_wire_line .image-render img{
        max-height: calc(100vh - 300px);
    }

    .flex-wrap-sm{
        flex-wrap: wrap;
    }
    .btn-common {
        padding: 6px 8px;
    }
    #main-ct{
        height: auto;
        min-height: calc(100vh - 64px);
        width: unset;
    }
    .enhance .ob-comparison {
        max-height: calc( 100vh - 200px);
    }
    .enhance img-comparison-slider {
        max-height: calc( 100vh - 200px);
    }

    .compress-image-item{
        padding: .75rem;
    }
    .compress-image-item>div:not(:first-child){
        justify-content: center;
    }

}

