body::-webkit-scrollbar {
  width: 15px;               /* Chiều rộng vùng chứa scrollbar */
}
body::-webkit-scrollbar-track {
  background: #ccc;        /* Màu nền ngoài của thanh scrollbar */
}
body::-webkit-scrollbar-thumb {
  background-color: black;    /* Màu của thanh cuộn (scroll thumb) */
  border-radius: 2px;       /* Bo góc scroll thumb */
 
}
body::-webkit-scrollbar-thumb:hover {
    background-color: black; /* Hiệu ứng di chuột đổi màu*/
}
body { /*cho Firefox*/
    scrollbar-width: thin;          /* "auto" hoặc "thin" */
    scrollbar-color: black #ccc;   /* scroll thumb and track */
}


ol {
  counter-reset: li;
  list-style: none;
  padding: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

ol a {
  position: relative;
  display: block;
  padding: .4em .4em .4em .8em;
  margin: .5em 0 .5em 2.5em;
  background: #D3D4DA;
  color: #444;
  text-decoration: none;
  transition: all .3s ease-out;
}

ol a:hover {
  background: #DCDDE1;
}

ol a:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  left: -2.5em;
  top: 50%;
  margin-top: -1em;
  background: #f9dd94;
  height: 2em;
  width: 2em;
  line-height: 2em;
  text-align: center;
  font-weight: bold;
}

ol a:after {
  position: absolute;
  content: "";
  border: .5em solid transparent;
  left: -1em;
  top: 50%;
  margin-top: -.5em;
  transition: all .3s ease-out;
}

ol a:hover:after {
  left: -.5em;
  border-left-color: #f9dd94;
}

.thumbnail_zoom {
  margin: 0 auto;
}

.thumbnail_zoom:hover {
  transform: scale(10);
  /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  position: absolute;
  z-index: 999;

}

.img_thumbnail_zoom {
  height: 100px;
  border-width: 0.5px;
}


/* CSS */
.nav-link {
  align-items: center;
  background: #252525;
  border: 0 solid #E2E8F0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  color: white;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  height: 60px;
  margin: 5px;
  justify-content: center;
  line-height: 24px;
  overflow-wrap: break-word;
  padding: 22px 25px;
  text-decoration: none;
  width: auto;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.nav-pills .nav-item a {
  color: white;
}

.badge2 {
  padding: 0.8em 0.8em;
  line-height: 1.3;
  text-transform: capitalize;
  border-radius: 5px;
}

.name-product {
  font-size: 15px;
}

.iq-sidebar-menu .side-menu li a {
  color: #e2e2e2;
}

.title-comm {
  color: #fff;
  font-size: 18px;
  position: relative;
  margin-top: 30px;
  margin-bottom: 30px;
  font-weight: 700;
  background-color: #fff;
  text-align: center;
}

h3.title-comm:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin-top: 0;
  border-top: 2px solid #d0d2d3;
  z-index: 1;
  display: block;
}

.title-comm .title-holder {
  min-width: 350px;
  height: 45px;
  background-color: #56bbe7;
  height: auto;
  line-height: 45px;
  padding: 0px 20px;
  position: relative;
  z-index: 2;
  text-align: center;
  display: inline-block;
  min-width: 280px;
}

.title-holder:before {
  content: "";
  position: absolute;
  right: -15px;
  border-width: 0px;
  bottom: 0px;
  border-style: solid;
  border-color: #5c9efe transparent;
  display: block;
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 15px solid #56bbe7;
}

.title-holder:after {
  content: "";
  position: absolute;
  left: -15px;
  border-width: 0px;
  bottom: 0px;
  border-style: solid;
  border-color: #5c9efe transparent;
  display: block;
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 22px solid transparent;
  border-right: 15px solid #56bbe7;
}

.table tr th {
  border: 2px white solid;
}

.dark .table tr th {
  border: 2px #181818 solid;
}

.thumbnail-mobile {
  width: 32px;
  height: 24px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.thumbnail-mobile img {
  width: 100%;
  height: 100%;
  transition-duration: 0.1s;
}

.thumbnail-mobile img:hover {
  position: absolute;
  width: 350px;
  height: 210px;
  right: -20px;
  border: 3px solid #00ac15;
  border-radius: 9px;
  z-index: 1000;
}
.modal-header {
  background-color: #f5f5f503;
}
.sidebar-default .iq-sidebar-menu .side-menu li.active .submenu li.active>a {
  color: #ffffff;
}

/* =========================================================
   CLONEGIARE.SITE - Telegram-only notification popup
   ========================================================= */
.clonegiare-telegram-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000000;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-sizing: border-box;
}
.clonegiare-telegram-popup.is-visible {
    display: flex;
    animation: clonegiare-popup-fade .22s ease-out both;
}
.clonegiare-telegram-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 10, 16, .64);
    backdrop-filter: blur(3px);
}
.clonegiare-telegram-dialog {
    position: relative;
    width: min(820px, 100%);
    max-height: min(92vh, 760px);
    overflow-y: auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .35);
}
.clonegiare-telegram-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 22px;
    color: #343a40;
    border-bottom: 1px solid #e8e8e8;
    font-size: 22px;
    font-weight: 700;
}
.clonegiare-telegram-heading .fa-bell {
    margin-right: 7px;
}
.clonegiare-telegram-close {
    border: 0;
    background: transparent;
    color: #777;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}
.clonegiare-telegram-body {
    padding: 20px;
}
.clonegiare-telegram-card {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 34px 30px;
    border-radius: 22px;
    background: #171a1f;
    color: #fff;
}
.clonegiare-telegram-icon {
    display: flex;
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(255,255,255,.7);
    border-radius: 30px;
    background: linear-gradient(145deg, #51d9f4, #087bbd 70%);
    box-shadow: inset 0 0 0 5px rgba(255,255,255,.16), 0 8px 22px rgba(0,0,0,.25);
    color: white;
    font-size: 91px;
}
.clonegiare-telegram-copy {
    min-width: 0;
}
.clonegiare-telegram-copy h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 27px;
    font-weight: 800;
}
.clonegiare-telegram-copy p {
    margin: 0 0 18px;
    color: #c2c5cd;
    font-size: 19px;
    line-height: 1.65;
}
.clonegiare-telegram-join {
    display: inline-block;
    padding: 17px 30px;
    border-radius: 40px;
    background: #229ed9;
    color: #fff !important;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease;
}
.clonegiare-telegram-join:hover {
    transform: translateY(-2px);
    background: #168ac3;
}
.clonegiare-telegram-snooze {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 16px 18px;
    border: 0;
    border-radius: 9px;
    background: #dc3545;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}
@keyframes clonegiare-popup-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (max-width: 575px) {
    .clonegiare-telegram-popup {
        padding: 10px;
    }
    .clonegiare-telegram-dialog {
        border-radius: 15px;
    }
    .clonegiare-telegram-heading {
        padding: 11px 15px;
        font-size: 18px;
    }
    .clonegiare-telegram-body {
        padding: 12px;
    }
    .clonegiare-telegram-card {
        gap: 13px;
        padding: 20px 14px;
        border-radius: 16px;
    }
    .clonegiare-telegram-icon {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
        border-width: 3px;
        border-radius: 17px;
        font-size: 43px;
    }
    .clonegiare-telegram-copy h2 {
        margin-bottom: 8px;
        font-size: 19px;
    }
    .clonegiare-telegram-copy p {
        margin-bottom: 11px;
        font-size: 14px;
        line-height: 1.5;
    }
    .clonegiare-telegram-join {
        padding: 12px 14px;
        font-size: 13px;
    }
    .clonegiare-telegram-snooze {
        padding: 14px 10px;
        font-size: 14px;
    }
}
