.group-box { margin-bottom: 30px; }
.group-title { 
  font-weight: bold; 
  margin-bottom: 5px; 
  text-transform: uppercase; 
  height: 2.4em;      /* 2 dòng * line-height */
  line-height: 1.2em; /* điều chỉnh theo font-size */
  overflow: hidden;   /* cắt chữ nếu dài quá */
}
#group-image {
    width: 253px;
    height: 160px;
    object-fit: cover;   /* Zoom to fill */
    border-radius: 5px;  /* Bo nhẹ góc (tùy bạn) */
}
.group-body {
  padding-top: 10px;
  margin-top: 10px;
  margin-bottom: 30px;
  background-color: #d1ecf1;
  border-radius:0.3em;
}
.group-header {
  display: flex;
  flex-direction: column; /* xếp dọc: ảnh trên, title dưới */
  align-items: center;   /* căn giữa theo chiều ngang */
  justify-content: center; /* căn giữa theo chiều dọc (nếu có height) */
  text-align: center;
}
.item-box { border: 1px solid #ddd; padding: 10px; border-radius: 5px; margin-bottom: 10px; }
.item-image { max-width: 100%; height: auto; }
.box-shadow {
      box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* bóng nhẹ */
      background-color: #fff;
}
.card-title {
color: darkorange;
}

body {
      font-family: 'Aleo', sans-serif !important;
}

/* Mặc định: header fixed-top */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030; /* giống bootstrap */
}

/* Mobile: bỏ fixed cho header */
@media (max-width: 768px) {
  #header {
    position: relative !important;
  }

  /* Nút toggle giữ cố định */
  #header .navbar-toggler {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1050;
    background-color: #343a40; /* nền trùng màu navbar */
  }

    /* Menu xổ xuống dưới toggle */
  #navbarCollapse {
    position: fixed;
    top: 55px; /* ngay dưới toggle button */
    left: 0;
    right: 0;
    background: #343a40; /* nền trùng màu navbar */
    z-index: 1040;
    padding: 10px;
  }
}


/* Ẩn radio mặc định */
.checkbox-lg input[type="radio"] {
    display: none;
}

/* Label tùy chỉnh */
.checkbox-lg label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

/* Hộp radio custom (nhìn như checkbox) */
.checkbox-lg label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #337ab7;
    border-radius: 4px; /* Giữ như checkbox */
    background-color: white;
    transition: all 0.2s;
}

/* Hover hiệu ứng */
.checkbox-lg label:hover:before {
    background-color: #f0f8ff;
}

/* Khi selected */
.checkbox-lg input[type="radio"]:checked + label:before {
    background-color: #337ab7;
    border-color: #337ab7;
}

/* Dấu tick */
.checkbox-lg input[type="radio"]:checked + label:after {
    content: "\2714"; /* tick */
    position: absolute;
    left: 4px;
    top: 0;
    font-size: 20px;
    color: white;
}

.nav-tabs>li>a {
      color: #555;
      font-weight: bold;
      padding: 10px 20px;
      transition: all 0.3s;
    }
    .nav-tabs>li.active>a,
    .nav-tabs>li>a:hover {
      background-color: #f5f5f5;
      color: #337ab7;
      border-radius: 4px 4px 0 0;
    }
    .tab-content {
      padding: 20px;
      border: 1px solid #ddd;
      border-top: none;
      background-color: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
/* === CSS custom namespace để tránh xung đột Paper Dashboard === */
  /* Chỉ áp dụng cho select class .my-multiselect */
.multiselect-container.dropdown-menu li a {
      color: #cfcdcd !important;
      background-color: #fff !important;
  }

.multiselect-container.dropdown-menu li a:hover {
      color: #fff !important;
      background-color: #c9c9c9 !important;
  }

.multiselect-container.dropdown-menu li.active a {
      color: #fff !important;
      background-color: #b6f3f3 !important;
  }

.multiselect-container.dropdown-menu li a {
      padding: 5px 10px;
  }

.copy-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    margin-left: 6px;
    color: #007bff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.copy-btn:hover {
    color: #0056b3;
}

.toast {
    visibility: hidden;
    min-width: 140px;
    background: #2b8af7;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: fixed;
    z-index: 9999;
    right: 20px;
    top: 50px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s, top 0.5s;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    top: 90px;
}

 .col-md-3 {
      margin: 0;
      padding: 7px;
    }

    /* .card:hover {
      border: 1px solid black;
    } */

    #descript {
      display: block;
    }

    @media (min-width: 1199.98px) {
      #descript {
        display: block;
      }
    }

     #header {
      padding: 0px !important;
    }