.parent-title {
  font-size: 20px;
  color: black;
  font-weight: bold;
  margin-bottom: 20px;
  background-color: #ffe9a7;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  border-radius: 5px;

}

@media (max-width: 480px) {
  .parent-title {
    font-size: 16px;
    padding: 8px 16px;
    text-align: center;
  }

  .form-parent {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .offer-area {
    margin-bottom: 45px !important;
  }

}


.form-parent {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  padding: 10px 20px;
  border-radius: 10px;
  padding-left: 60px;
  padding-right: 60px;

}

.form-custom {
  border-radius: 16px;
  /* max-width: 320px;  */
}

.custom-tabs {
  border-bottom: none;
  display: flex;
  justify-content: center;
  /* gap: 200px;  */
  padding: 10px 0;
  background-color: #ff7e5f;
}

.custom-tabs .nav-item {
  border: none !important;
  display: flex;

  justify-content: center;
  padding-left: 50px;
  padding-right: 50px;
}

.custom-tabs .nav-link {
  padding: 12px;
  border: none !important;
  /* Xoá viền mặc định Bootstrap */
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  color: #212529;
  background-color: transparent;
  transition: background-color 0.2s ease;
  width: 20%;
}

/* Tab đang được chọn */
.custom-tabs .nav-link.active {
  color: white !important;
  /* Đổi màu chữ thành trắng */
  background-color: transparent;
  /* Không đổi màu nền */
  font-weight: bold;
}

/* Hover (tuỳ chọn) */
.custom-tabs .nav-link:hover {
  color: white !important;
  /* Đổi màu chữ thành trắng */
  background-color: transparent;
  /* Không đổi màu nền */
}

.margin-tab {
  margin-left: 100px;
  margin-right: 100px;
}

/* Media query cho màn hình 480px */
@media (max-width: 990px) {
  .custom-tabs {
    /* gap: 21px;  */
    padding: 5px;
  }

  .custom-tabs .nav-link {
    padding: 6px 12px;
    /* Giảm padding */
    font-size: 12px;
    /* Giảm font-size */
  }

  .custom-tabs .nav-item {
    padding-left: 0px;
    /* Giảm khoảng cách bên trái */
    padding-right: 0px;
    /* Giảm khoảng cách bên phải */
    margin: 0 !important;
  }

  .margin-tab {
    margin-left: 0px;
    margin-right: 0px;
  }
}




.custom-tabs .nav-link {
  color: #654100;
  font-weight: 600;
}

.custom-tabs .nav-link.active {
  color: #fff;

  border-radius: 0.5rem;
}

.chart-component {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;


}

.chart-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.legend-container {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1em;
}

.legend-color-box {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  border-radius: 4px;
}

.center-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #555;
  pointer-events: none;
}

.center-text .label {
  font-size: 1em;
}

.center-text .percentage {
  font-size: 2.2em;
  font-weight: bold;
}


.dropdown-refined .btn {
  background-color: #fff;
  border: 1px solid #dee2e6;
  /* Viền xám nhạt mặc định */
  border-radius: 0.375rem;
  /* 6px */
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #495057;
  box-shadow: none !important;
  /* Luôn bỏ shadow mặc định */
  transition: border-color 0.2s ease, color 0.2s ease;
}

/* Khi di chuột hoặc focus */
.dropdown-refined .btn:hover,
.dropdown-refined .btn:focus {
  color: var(--primary-color);
  border-color: var(--primary-color);
  /* Đổi màu viền khi tương tác */
}

/* Tùy chỉnh mũi tên (caret) */
.dropdown-refined .dropdown-toggle::after {
  transition: transform 0.2s ease;
}

.dropdown-refined .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
  /* Xoay mũi tên khi mở */
}

/* Menu xổ xuống */
.dropdown-refined .dropdown-menu {
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-refined .dropdown-item:hover {
    background-color: #ffd95e;
    color: #654100;
}

/* Các mục trong menu */
.dropdown-refined .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
}

/* Mục đang được chọn (active) */
.dropdown-refined .dropdown-item.active,
.dropdown-refined .dropdown-item:active {

    background-color: #ffe9a7;
    color: #654100;

}

/* Biểu tượng check cho mục active */
.dropdown-refined .check-icon {
  display: none;
  /* Mặc định ẩn dấu check */
  color: var(--primary-color);
}

.dropdown-refined .dropdown-item.active .check-icon {
  display: inline-block;
  /* Hiện dấu check khi mục active */
}



/* CSS TÙY CHỈNH CHO BẢNG ĐIỂM */

.score-table {
  width: 100%;
  border-collapse: collapse;
  padding-right: 15px;
  padding-left: 15px;
}

/* Tiêu đề bảng */
.score-table thead th {
  background-color: #f8f9fa;
  text-align: center;
  font-size: 18px;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

/* Các ô trong bảng */
.score-table td {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}

/* Tiêu đề của mỗi phần kỹ năng (ví dụ: Số đến 3) */
.section-header {
  background-color: #ffd95e;
  ;
  /* Màu nền vàng nhạt */
  font-weight: bold;
  font-size: 22px;
  color: #654100;
}

/* Căn giữa nội dung các cột điểm, số câu, ngày */
.score-table .text-center {
  text-align: center;
}

/* CSS cho dropdown để giống trong hình hơn */
.results-dropdown .btn {
  background-color: #fff;
  border: 1px solid #ced4da;
  color: #495057;
  font-weight: 500;
  padding: .375rem 1rem;
}

.results-dropdown .btn:hover,
.results-dropdown .btn:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25);
}

.cell-content {
  color: black;

}

.btn-custom {
  background-color: #f1f1f1;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease;
  align-items: center;
}

.btn-custom:hover {
  background-color: #e0e0e0;
  /* hiệu ứng hover nhẹ */
}



.speaker-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 0;
  height: 0;
  cursor: pointer;
}

.left-arrow {
  left: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 25px solid #003087;
}

.right-arrow {
  right: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 25px solid #003087;
}

.left-arrow:hover {
  border-right-color: #0056d2;
}

.right-arrow:hover {
  border-left-color: #0056d2;
}

.speakers-swiper {
  overflow: hidden;
  padding: 0 30px;
}

/* .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
} */

.single-speakers {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.speakers-thumb img {
  width: 75%;
  max-width: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.speakers-content {
  text-align: center;
  width: 100%;
  overflow: visible;
}

.about-content {
  font-size: 20px;
  min-height: calc(1.5em * 6);
  line-height: 1.5em;
}

.about-title {
  font-size: 30px;
  font-weight: bold;
}

.services-area .card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
  margin-bottom: 10%;
}

.services-area .card:hover {
  transform: translateY(-5px);
}

.services-area .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.services-area .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.services-area .card-body h6 {
  color: #ed1c24;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.services-area .card-body h5 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.services-area .card-body ol {
  padding-left: 20px;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.services-area .card-body ol li {
  margin-bottom: 8px;
}

.services-area .card-body .btn {
  background-color: #ed1c24;
  color: white;
  font-weight: 600;
  border-radius: 5px;
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  transition: background-color 0.3s;
}

.services-area .card-body .btn:hover {
  background-color: #c8102e;
}

/* Pagination Styling */
.pagination .page-item.active .page-link {
  background-color: #ed1c24;
  border-color: #ed1c24;
  color: white;
}

.pagination .page-link {
  color: #ed1c24;
  border: 1px solid #ddd;
  margin: 0 5px;
  border-radius: 5px;
}

.pagination .page-link:hover {
  background-color: #f8f9fa;
  border-color: #ddd;
}

.custom-padding {
  padding-top: 80px;
  width: 60%;
  padding-left: 50px;
}

@media (max-width: 576px) {
  .custom-padding {
    padding-top: 275px;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
}

.custom-p {
  margin-top: 10px;
  display: flex;
  justify-content: end;
  /* right: 5%; */
}

@media (max-width: 576px) {
  .custom-p {
    margin-top: 165px;
    /* right: 13%; */
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .custom-1 {
    justify-items: center;
  }
}

/* Custom Date Picker CSS */
.custom-date-picker {
  display: none;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #dee2e6;
}

.custom-date-picker label {
  color: #654100;
  font: 16px Baloo 2, sans-serif;
  margin-bottom: 5px;
  font-weight: 500;
  display: block;
}

.custom-date-picker .form-control {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 14px;
}

.custom-date-picker .form-control:focus {
  border-color: #ff7e5f;
  box-shadow: 0 0 0 0.2rem rgba(255, 184, 0, 0.25);
  outline: none;
}

.custom-date-picker .btn-apply {
  background: #ff7e5f;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-date-picker .btn-apply:hover {
  background: #df7a5bff;
}

.custom-date-picker .invisible-label {
  color: transparent;
  user-select: none;
}

.star {
  color: yellow;
  font-size: 20px;
}

.title-detail {
  font-size: 50px;
  max-width: 44%;
}

.title-description {
  font-size: 30px;
  max-width: 100%;
}

@media (max-width: 576px) {
  .title-detail {
    font-size: 30px;
    max-width: 80%;
    text-align: center;
  }

  .flex-title {
    display: flex;
    justify-content: center;

  }

  .title-description {
    font-size: 20px;
    max-width: 100%;
    text-align: center;
  }






}