/* Trang nhóm hổ trợ */

/* Container cho mỗi nhóm đóng mở */
.toggle-group-css {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
}

/* Ẩn checkbox thực sự */
.toggle-checkbox {
  /* Đảm bảo checkbox không hiển thị nhưng vẫn hoạt động */
  position: absolute;
  opacity: 0;
  pointer-events: none; /* Không tương tác được bằng chuột */
}

/* Phần tiêu đề (đóng vai trò là label cho checkbox) */
.toggle-header-css {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #f0f0f0;
  cursor: pointer;
  user-select: none;
}

/* Icon tam giác */
.toggle-icon-css {
  font-size: 1.2em;
  margin-right: 10px;
  transition: transform 0.3s ease; /* Hiệu ứng xoay mượt mà */
  display: inline-block;
}

/* Tiêu đề text */
.toggle-title-css {
  margin: 0;
  font-size: 1.1em;
  color: #333;
}

/* Phần chi tiết (ẩn đi ban đầu) */
.toggle-details-css {
  max-height: 0; /* Quan trọng: Ẩn bằng cách đặt max-height về 0 */
  overflow: hidden; /* Ẩn nội dung khi max-height là 0 */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* Hiệu ứng trượt */
  padding: 0 15px; /* Ban đầu padding theo chiều dọc là 0 */
  background-color: #fff;
  border-top: 1px solid #eee; /* Chỉ hiển thị border khi nó mở ra */
  box-sizing: border-box; /* Đảm bảo padding không làm tràn max-height */
}

/* --- Kích hoạt khi checkbox được CHECKED --- */
.toggle-checkbox:checked + .toggle-header-css .toggle-icon-css {
  transform: rotate(90deg); /* Xoay icon khi checkbox được check */
}

.toggle-checkbox:checked + .toggle-header-css + .toggle-details-css {
  max-height: 100%; /* Đặt một giá trị max-height đủ lớn để chứa toàn bộ nội dung */
  /* (Bạn cần ước lượng chiều cao tối đa của nội dung chi tiết) */
  padding: 15px; /* Thêm lại padding khi mở ra */
}

.manu-select {
  margin-top: 15px;
  width: 100%;
  border-style: solid;
  border-color: #dcdede;
  border-width: 2px;
  border-radius: 10px;
  box-shadow: 1px 1px 1px gray;

  padding: 10px 10px;
}

.manu-select-line {
  border-color: #dddddd;
  border-style: solid;
  background-image: linear-gradient(to bottom, #fff, #dadada);
  height: 50px;
  width: 100%;
}

.list-manufacturer-logo ul {
  display: flex; /* Kích hoạt Flexbox cho thẻ <ul> */
  justify-content: space-between;
  list-style: none; /* Xóa dấu chấm mặc định của <li> */
  margin: 15px 0px;
  padding: 0px 30px;
}

.list-manufacturer-logo ul li img {
  width: auto;
  height: auto;
}

/* CSS để sắp xếp các đối tượng theo chiều ngang */
.support-search-form {
  display: flex; /* Sử dụng Flexbox để sắp xếp */
  flex-wrap: nowrap;
  justify-content: flex-end; /* Đây là thuộc tính quan trọng để căn các đối tượng về bên phải */
  gap: 15px; /* Khoảng cách giữa các đối tượng */
  align-items: center; /* Căn chỉnh các đối tượng theo chiều dọc */
  padding-top: 10px;
  padding-bottom: 5px;
  margin: 20px auto; /* Căn giữa form */
  width: 100%;
}

.support-search-form select {
  margin-left: 20px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  flex-shrink: 0; /* Ngăn các phần tử co lại */
  height: 45px;
  width: 25%;
}
.support-search-form input[type="text"] {
  margin-left: 20px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  flex-shrink: 0; /* Ngăn các phần tử co lại */
  height: 45px;
  width: 45%;
}

.support-search-form select {
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  -webkit-appearance: none; /* Dành cho trình duyệt Webkit (Chrome, Safari) */
  -moz-appearance: none; /* Dành cho trình duyệt Mozilla (Firefox) */
  appearance: none; /* Tiêu chuẩn */
}

.support-search-form select:focus {
  background-image: linear-gradient(45deg, green 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, green 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em,
    calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  border-color: green;
  outline: 0;
}

.support-search-form button {
  height: 45px;
  width: 22%;
  margin-left: 20px;

  /* Các thuộc tính mới cho background ảnh */
  background-image: url("../images/button-bg.png"); /* Thay thế bằng đường dẫn ảnh của bạn */
  background-size: cover; /* Phóng ảnh để phủ kín toàn bộ button, giữ tỷ lệ */
  background-position: center; /* Căn giữa ảnh trong button */
  background-repeat: no-repeat; /* Không lặp lại ảnh */

  /* Các thuộc tính cũ của button */
  color: white; /* Màu chữ trên button */
  cursor: pointer;
  border: none;
  padding: 8px 12px; /* Đặt lại padding vì nó bị bỏ khỏi nhóm trên */
  font-size: 1rem; /* Đặt lại font-size */
  flex-shrink: 0;
  min-width: 100px; /* Đảm bảo button có đủ chiều rộng cho ảnh */
  min-height: 40px; /* Đảm bảo button có đủ chiều cao cho ảnh */
  /* Để chữ hiển thị rõ trên ảnh, bạn có thể cần điều chỉnh màu chữ hoặc thêm text-shadow */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.support-list {
  margin-top: 15px;
  padding-left: 0px;
}

.group-support-title {
  font-weight: 550;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;

  width: 100%;
  color: #ffffff;
  background-color: #005498;

  display: flex;
  align-items: center;
  justify-content: left;
}

.group-support-detail {
  margin-top: 14px;
  padding-right: 0px;
  padding-left: 0px;
}

.support-list-title {
  text-transform: uppercase;
}
.support-list-title ul {
  background-color: #e0ecff;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 10px;

  list-style: none; /* RẤT QUAN TRỌNG: Xóa dấu chấm mặc định */
  padding-left: 0; /* RẤT QUAN TRỌNG: Xóa padding mặc định của ul để item có thể căn lề */
  margin: 0; /* Tùy chọn: Xóa margin mặc định của ul */
}

.support-list-title ul li {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;

  font-size: 18px;
  background-color: #ffffff;
  border: 1px solid #70a0cb;
  font-weight: 500;
  color: #005498;
  /* Để dấu chấm tùy chỉnh nằm trong border */
  position: relative; /* RẤT QUAN TRỌNG: Thiết lập ngữ cảnh định vị cho ::before */
  padding-left: 25px; /* RẤT QUAN TRỌNG: Tạo không gian cho dấu chấm bên trong border */
  /* Điều chỉnh giá trị này để có khoảng cách phù hợp giữa dấu chấm và nội dung */
}

.support-list-title ul li a {
  color: inherit; /* Thẻ a sẽ kế thừa màu chữ từ thẻ li cha của nó */
  /* Nếu li có màu #005498, a cũng sẽ có màu đó. */
  text-decoration: none; /* RẤT QUAN TRỌNG: Loại bỏ gạch chân mặc định */
  cursor: pointer; /* Đảm bảo con trỏ chuột vẫn hiển thị hình bàn tay khi di qua (mặc định của a) */
  /* Thuộc tính này thường không cần thiết vì đây là hành vi mặc định, nhưng nó giúp làm rõ ý định. */
}

/* Style cho trạng thái ACTIVE */
.support-list-title ul li.active {
  background-color: #005498; /* Ví dụ màu xanh lá */
  color: #ffffff;
}

/* Ẩn ::marker mặc định vì chúng ta sẽ tạo dấu chấm tùy chỉnh */
.support-list-title ul li::marker {
  content: none; /* Đảm bảo marker mặc định không hiển thị */
}

/* Tạo dấu chấm tùy chỉnh bằng ::before */
.support-list-title ul li::before {
  content: "•"; /* Nội dung của dấu chấm. Có thể dùng "•", "➤", hoặc ký tự Unicode khác */
  color: green; /* Màu của dấu chấm tùy chỉnh */
  position: absolute; /* Định vị tuyệt đối so với li */
  left: 10px; /* Vị trí của dấu chấm từ lề trái của border */
  top: 50%; /* Đặt dấu chấm ở giữa theo chiều dọc */
  transform: translateY(-50%); /* Căn giữa chính xác theo chiều dọc */
  font-size: 1.2em; /* Kích thước của dấu chấm, tương đối với font-size của li */
  line-height: 1; /* Đảm bảo chiều cao dòng không ảnh hưởng đến vị trí */
}

.support-list-title ul li:hover {
  color: #ffffff; /* Màu của dấu chấm tùy chỉnh */
  background-color: #005498;
}

/* Trang dịch vụ */

.services-dest {
  margin-top: 20px;
}

.services-dest ul {
  list-style: none;
  width: 100%;
  padding: 0px 15px;
}

.mini-services-banner-group {
  text-align: right;
}

.mini-services-banner {
  border: 1px solid #0aaf50;
  padding: 3px;
  margin-top: 10px;
  display: inline-block;
}

.services-detail-title {
  width: 100%;
  background-color: #005498;
  color: #fff;
  height: 35px;
  padding-top: 5px;
  padding-left: 10px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.services-detail {
  margin-top: 10px;
}

.services-detail p {
  text-align: justify;
  margin-top: 2px;
  margin-bottom: 5px;
}
