.site-header {
  background-color: black;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: var(--height-header);
  position: relative;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
}

.site-branding {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-logo-link img {
  max-width: 66px !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.main-navigation div {
  width: 100%;
  height: 100%;
}

.list-menu-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 16px;
}

.list-menu-header .menu-item {
  display: flex;
  align-items: center;
  min-width: max-content;
  height: 100%;
  position: relative;
}

.list-menu-header .menu-item a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  font-size: 15px;
}

.list-menu-header > .menu-item.current-menu-item > a {
  color: #c55bee;
}

.list-menu-header .sub-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

.list-menu-header .sub-menu {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border-radius: 0 0 12px 12px;
  z-index: 100;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: grid; /* Gi峄� display l脿 grid 膽峄� c贸 th峄� s峄� d峄g grid layout */
  grid-template-rows: repeat(4, 42px);
  grid-auto-flow: column;
  gap: 0;
  pointer-events: none; /* Ng膬n kh么ng cho sub-menu t瓢啤ng t谩c khi 岷﹏ */
}

.list-menu-header > .menu-item.has-children.current-menu-item > a::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid yellow;
}

.list-menu-header .menu-item:hover .sub-menu {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto; /* Cho ph茅p t瓢啤ng t谩c khi hi峄僴 th峄� */
}

.list-menu-header .sub-menu .menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: disc;
  padding: 12px;
}

.list-menu-header .sub-menu .menu-item a {
  display: flex;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  text-align: left;
  border-radius: 0;
  align-items: center;
  justify-content: flex-start;
}

.list-menu-header .sub-menu .menu-item a::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-color);
  margin-right: 12px;
}

.list-menu-header .sub-menu .menu-item a:hover {
  color: #c55bee;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -80%;
  width: 80%;
  height: 100%;
  background-color: var(--primary-color);
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 12px;
}

.mobile-sidebar.open {
  left: 0;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
}

.modal-overlay.active {
  display: block;
}

.mobile-list-menu-header {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.mobile-list-menu-header .menu-item {
  width: 100%;
  position: relative;
}

.mobile-list-menu-header .menu-item a {
  padding: 12px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.mobile-list-menu-header .sub-menu {
  margin-left: 24px;
}

.mobile-list-menu-header .sub-menu .menu-item a {
  position: relative;
  justify-content: flex-start;
  padding: 6px 0;
}

.mobile-list-menu-header .sub-menu .menu-item a::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: white;
  margin-right: 12px;
}

.mobile-list-menu-header .submenu-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin-left: 10px;
}

.mobile-list-menu-header .submenu-arrow::before {
  content: "鈻�";
  display: inline-block;
  color: white;
  padding: 6px;
}

.mobile-list-menu-header .submenu-arrow.open::before {
  content: "鈻�";
  color: white;
  padding: 6px;
}

.mobile-list-menu-header .sub-menu {
  display: none;
  flex-direction: column;
}

.mobile-list-menu-header .sub-menu.open {
  display: flex;
}

.btn-register {
  background: #c5243a;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  height: max-content;
}

.container-button-register {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.button-register {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: #5e2f70;
  border: 4px solid #ce96e3;
  color: white;
  gap: 8px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  width: max-content;
  margin: auto;
}

.text-register {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: white !important;
  margin: 0 !important;
}

.svg-register {
  padding-top: 5px;
  height: 100%;
  width: fit-content;
  margin: 0 !important;
}

.svg-register svg {
  width: 30px;
  height: 15px;
}

.header-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
	margin-top: 12px;
}

.header-buttons .btn {
  background-color: var(--primary-color, #007bff);
  color: #fff;
  transition: background-color 0.3s, color 0.3s;
}

.header-buttons .btn:hover {
  background-color: #fff;
  color: var(--primary-color, #007bff);
}


.button-register:hover {
  border: 4px solid #ce96e3;
  background-color: #4d2a5f;
}

.button-register:active {
  border: 4px solid #ce96e3;
}

.button-register:hover .svg-register svg {
  animation: jello-vertical 0.9s both;
  transform-origin: left;
}

@keyframes jello-vertical {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(0.75, 1.25, 1);
  }

  40% {
    transform: scale3d(1.25, 0.75, 1);
  }

  50% {
    transform: scale3d(0.85, 1.15, 1);
  }

  65% {
    transform: scale3d(1.05, 0.95, 1);
  }

  75% {
    transform: scale3d(0.95, 1.05, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

@media screen and (max-width: 900px) {
  .main-navigation {
    display: none;
  }
  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }

  .site-header .container {
    justify-content: flex-start;
  }

  .btn-register {
    padding: 11px 13px;
    border-radius: 5px;
    font-size: 16px;
  }
}