/* base  */
@media (min-width: 1100px) {
    .container {
        width: 1280px;
    }
}
/* end base */

/*#region agent-banner*/
.agent-banner {
  background: #F7FFF5;;
  padding: 64px 0;
}

.agent-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.agent-banner-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-banner-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.title-text {
  color: #1F1F1F;
  font-size: 32px;
  font-family: 'Inter SemiBold';
}

.title-highlight {
  color: #3794FF;
  font-size: 32px;
  font-family: 'Inter SemiBold';
  background: var(--AI_Primary, linear-gradient(98deg, #3794FF 8.87%, #D52BFF 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #2563EB;
  color: #2563EB!important;
  font-size: 14px;
  font-family: 'Inter Medium';
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}


.agent-banner-stats {
  display: flex;
  align-items: center;
  gap: 48px;
}

.stats-label {
  color: #1F1F1F;
  font-size: 32px;
  font-family: 'Inter SemiBold';
  white-space: nowrap;
}

.stats-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.stats-number {
  color: #3794FF;
  font-size: 64px;
  font-family: 'Inter ExtraBold';
  background: var(--AI_Primary, linear-gradient(98deg, #3794FF 8.87%, #D52BFF 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-desc {
  color: #1F1F1F;
  font-size: 24px;
  font-family: 'Inter';
  width: max-content;
}

@media (max-width: 979px) {
  .agent-banner-top {
    flex-direction: column;
    align-items: center;
  }

  .agent-banner-title {
    justify-content: center;
  }

  .agent-banner-stats {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .stats-label {
    font-size: 22px;
  }

  .stats-number {
    font-size: 40px;
  }

  .stats-desc {
    font-size: 18px;
    width: auto;
  }
}
/*#endregion*/

/*#region topic-cards*/
.topic-card-wrap{
  padding: 0 !important;
}
.topic-cards {
  padding: 64px 0;
}

.topic-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 24px;
}

.topic-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.topic-card-title {
  text-align: center;
  color: #181D27;
  font-size: 20px;
  font-family: 'Inter SemiBold';
  line-height: 28px;
}

@media (max-width: 979px) {
  .topic-cards-grid {
    grid-template-columns: 1fr;
  }
}
/*#endregion*/

/*#endregion*/

/*#region guide-tabs*/
.guide-tabs {
  background: url(/sites/help/images/home/hdsd.webp) no-repeat center/cover;
  padding: 64px 0;
}
.guide-content{
  width: 100%;
  display: flex;
  gap: 24px;
  justify-content: center;
  color: black;
}
.guide-content a{
  text-decoration: none;
  color: #717680;
}
.guide-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 162px;
  height: 162px;
  background: white;
  padding: 34px 16px;
  border-radius: 16px;
  border: 1px solid var(--Stroke-Neutral, #D5D7DA);

  /* Shadows/Neutrals/Neutral 01 */
  box-shadow: 0 0.5px 1px 0 rgba(25, 33, 61, 0.04);
  gap: 16px;
}
.guide-icon{
  width: 48px;
  height: 48px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  background: #E6F5EF;
  border-radius: var(--Sizes-Border-Radius-BR-4, 12px);
  border: 0.5px solid var(--Stroke-Neutral, #D5D7DA);
  background: #E6F5EF;
  box-shadow: 0 -1.167px 1.167px 0 rgba(150, 161, 172, 0.12) inset;
}
.guide-item img{
  max-height: 90px;
}

.guide-item img.guide-icon-hover {
  display: none;
}

.guide-content a:hover .guide-item img:not(.guide-icon-hover) {
  display: none;
}

.guide-content a:hover .guide-item img.guide-icon-hover {
  display: block;
}

.guide-item:nth-child(-n+3) {
  grid-column: span 2;
}
.guide-item-bottom {
  grid-column: span 3;

}
.guide-content a:hover .guide-item{
  color: #170F49;
  border: 1.5px solid #3990FF;
  box-shadow: 0px 5px 15px rgba(37, 99, 235, 0.1);
}
.guide-content a:hover .guide-icon{
  background: #2563EB;
}

@media (min-width: 1100px) {
    section.guide-tabs .container {
        width: 1453px;
    }
}
.guide-tabs-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-tabs-title {
  color: #181D27;
  font-size: 32px;
  font-family: 'Inter Bold';
  line-height: 40px;
  text-align: center;
  margin-bottom: 32px;
}

.guide-tabs-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: var(--Border-Width-1px, 1px) solid var(--Stroke-Neutral, #D5D7DA);
  align-self: stretch;
}

.guide-tab {
  height: 64px;
  min-width: 160px;
  padding: 8px 20px;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #101828;
  font-size: 20px;
  font-family: 'Inter SemiBold';
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}
.guide-tabs-field{
  padding: 64px 0;
}
.guide-tabs-field img{
  width: 40px;
  height: 40px;
}
.guide-tab.is-active {
  border-bottom: 4px solid #0E9A62;
  color: #0E9A62;
}

.guide-tab:not(.is-active):hover {
  color: #0E9A62;
  border-bottom: 2px solid #0E9A62;
}

.guide-tabs-img {
  width: 100%;
  max-width: 1290px;
  height: auto;
}
.guide-tabs-content {
  width: 100%;
}

.guide-tab-panel {
  display: none;
}

.guide-tab-panel.is-active {
  display: block;
}

@media (max-width: 979px) {
  .guide-tabs-title {
    font-size: 24px;
  }

  .guide-tabs-bar {
    overflow-x: auto;
    justify-content: flex-start;
  }
}
/*#endregion*/

/*#region checkin-types*/
.checkin-types-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 0px 0px;
}

/* tab-connect slider */
.tab-connect-swiper {
  padding: 32px 0 48px;
  overflow: visible;
}
.tab-connect-swiper .swiper-slide {
  height: auto;
  width: 100% !important;
  display: flex;
  /* grid-template-columns: repeat(7, 1fr); */
  justify-items: center;
  gap: 24px;
}
.tab-connect-swiper .swiper-slide .checkin-type-card {
  width: 100%;
  max-width: 162px;
}
@media (max-width: 979px) {
  .tab-connect-swiper .swiper-slide {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .tab-connect-swiper .swiper-slide {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tab-connect-swiper .swiper-button-prev,
.tab-connect-swiper .swiper-button-next {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #2CA01C;
  border: 2px solid white;
  --swiper-navigation-size: 16px;
  --swiper-navigation-color: #fff;
}
.tab-connect-swiper .swiper-button-prev::after,
.tab-connect-swiper .swiper-button-next::after {
  font-size:9px;
  color: #fff;
  font-weight: 700;
}
.tab-connect-swiper .swiper-button-prev.swiper-button-disabled,
.tab-connect-swiper .swiper-button-next.swiper-button-disabled {
  opacity: 0.35;
}
.tab-connect-swiper .swiper-pagination {
  display: none;
}

.checkin-type-card {
  width: 162px;
  height: 162px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #B2DDFF;
  box-shadow: 0px 0.5px 1px rgba(25, 33, 61, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 4px;
  cursor: pointer;
  text-decoration: none;
}

.checkin-type-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: var(--Sizes-Border-Radius-BR-4, 12px);
  border: 0.5px solid var(--Stroke-Neutral, #D5D7DA);
  background: #E6F5EF;
  box-shadow: 0 -1.167px 1.167px 0 rgba(150, 161, 172, 0.12) inset;
}

.checkin-type-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: width 0.2s ease, height 0.2s ease, transform 0.2s ease;
}
.checkin-type-icon img.checkin-icon-hover {
  display: none;
}

.checkin-type-card:hover .checkin-type-icon img:not(.checkin-icon-hover) {
  /* display: none; */
}

.checkin-type-card:hover .checkin-type-icon img.checkin-icon-hover {
  display: none;
}

.checkin-type-card:hover .checkin-type-icon img {
  width: 56px;
  height: 56px;
}
.checkin-type-card:hover .checkin-type-icon{
  padding: 0;
  background: white;
  border: none;
  box-shadow: none;
}

.checkin-type-label {
  color: #717680;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.checkin-type-card:hover {
  border-radius: var(--Sizes-Border-Radius-BR-5, 16px);
  border: 1.5px solid var(--Primary-Color-Green, #2CA01C);
  background: var(--Colors-Neutrals-White, #FFF);

  /* shoadow */
  box-shadow: 0 5px 15px 0 rgba(74, 58, 255, 0.06);
  opacity: 1 !important;
}

.checkin-type-card:hover .checkin-type-icon {
  /* background-color: #2563EB; */
}

.checkin-type-card:hover .checkin-type-icon img {
}

.checkin-type-card:hover .checkin-type-label {
  color: #170F49;
}

/* Slider navigation */
.checkin-types-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.checkin-types-page.is-active {
  display: block;
}

.checkin-types-nav {
  display: contents;
}

.checkin-nav-btn {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: #50BEFF;
  box-shadow: 0px 8px 22px -6px rgba(141, 141, 141, 0.20);
  border-radius: 9999px;
  border: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.checkin-nav-prev {
  order: -1;
}

.checkin-nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.checkin-nav-btn:not(:disabled):hover {
  background: #289EFF;
}

@media (max-width: 979px) {
  .checkin-types-slider {
    flex-wrap: wrap;
  }

  .checkin-types-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
    padding-top: 16px;
  }
}
.process-list,
.process-border,
.process-step {
  display: flex;
  justify-content: center;
  align-items: center;
}

.process-list {
  padding: 60px 0 100px;
  max-width: 1180px;
  margin: 0 auto;
}

.process-item {
  text-align: center;
  cursor: pointer;
}

.process-border {
  border: 1px solid #E0E0E0;
  border-radius: 20px;
  padding: 30px 10px;
  margin-left: 10px;
  min-width: 300px;
}

.process-sublist-text {
  line-height: 24px;
}

ul.process-sublist {
  padding-left: 0;
}

ul.process-sublist li {
  background: url(/sites/help/images/pages/home/ic-dot.svg) left 15px no-repeat;
  padding: 8px 0 8px 20px;
  cursor: pointer;
  transition: all ease 0.3s;
  display: flex;
  justify-content: space-between;
}

.process-group {
  position: relative;
}

.process-group .process-item:nth-child(1) {
  position: absolute;
  left: -60px;
  top: -135px;
}

.process-group .process-item:nth-child(3) {
  position: absolute;
  right: -45px;
}

.process-item {
  transition: all ease 0.3s;
}

ul.process-sublist li:hover,
.process-item:hover {
  transform: scale(1.1);
  color: #FF5722;
}

.process-border .process-item:hover {
  color: inherit;
}

.process-border .process-item {
  transition: none;
  transform: none;
  cursor: default;
}

.process-item-play {
  display: none;
}

@media (max-width: 979px) {
  .process-list {
    flex-direction: column;
    padding: 10px 0 40px;
  }

  .process-step {
    flex-direction: column;
  }

  .process-border {
    margin-left: 0;
    margin-top: 10px;
  }

  .process-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
  }

  .process-flex-arrow {
    transform: rotate(90deg);
    padding: 50px 0;
  }

  .process-group .process-item:nth-child(1) {
    left: auto;
    right: -130px;
    top: 10px;
    max-width: 200px;
  }

  .process-group .process-item:nth-child(3) {
    left: -130px;
    right: auto;
    top: 50px;
    max-width: 160px;
  }

  ul.process-sublist {
    padding-left: 10px;
  }
}

@media (max-width: 479px) {
  .process-group .process-item:nth-child(3) {
    left: -115px;
  }
}
/*#endregion*/

/*#region video-guides*/
.video-guides {
  background: #F4FAF2;
  padding: 64px 0;
  margin-bottom: -64px;
}

.video-guides-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.video-guides-title {
  flex: 1;
  color: #181D27;
  font-size: 32px;
  font-family: 'Inter Bold';
  line-height: 40px;
}

.video-guides-btn-all {
  height: 36px;
  padding: 0 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #2E90FA;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2E90FA;
  font-size: 14px;
  font-family: 'Inter Medium';
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
}

.video-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  overflow: hidden;
}

.video-card-thumb {
  display: grid;
  height: 169px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #EBECF2;
  background: #F7F6FA;
  cursor: pointer;
}

.video-card-img,
.video-card-overlay,
.video-card-play-btn {
  grid-area: 1 / 1;
}

.video-card-img {
  width: 100%;
  height: 169px;
  object-fit: cover;
  cursor: pointer;
}

.video-card-play-btn {
  grid-area: 1 / 1;
  place-self: center;
  width: 42px;
  height: 42px;
  background: rgba(0,0,0,0.3);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid #C5CBDE;
  min-height: 40px;
}

.video-card-featured .video-card-thumb {
  /* border: 1.5px solid #3990FF; */
}

.video-card:hover .video-card-thumb {
  border: 1.5px solid #3990FF;
}
.video-card:hover .video-card-label {
  border: 1.5px solid #3990FF;
}

.video-card:hover .video-card-label img[src*="ic-play-sm"] {
  filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(196deg) brightness(94%) contrast(96%);
}

.video-card-label-text {
  flex: 1;
  color: #19213D;
  font-size: 14px;
  font-family: 'Inter SemiBold';
  line-height: 20px;
  white-space: nowrap;      /* không xuống dòng */
  overflow: hidden;         /* ẩn phần dư */
  text-overflow: ellipsis;  /* hiện ... */
}

/* Card ẩn mặc định — chỉ hiện khi bấm "Xem thêm" */
.video-card.video-card-hidden {
  display: none;
}
.video-guides-grid.show-all .video-card.video-card-hidden {
  display: flex;
}

/* Nút Xem thêm */
.video-guides-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.video-guides-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  border: 1px solid #C5CBDE;
  border-radius: 9999px;
  color: #19213D;
  font-size: 15px;
  font-family: 'Inter SemiBold';
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.video-guides-more-btn:hover{
  background: white;
}
.video-guides-more-btn .less-text {
  display: none;
}
.video-guides-more-btn.is-expanded .more-text {
  display: none;
}
.video-guides-more-btn.is-expanded .less-text {
  display: inline;
}
.video-guides-more-icon {
  transition: transform 0.2s ease;
}
.video-guides-more-btn.is-expanded .video-guides-more-icon {
  transform: rotate(180deg);
}

@media (max-width: 979px) {
  .video-guides-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .video-guides-title {
    font-size: 24px;
  }

  .video-guides-header {
    flex-wrap: wrap;
    gap: 16px;
  }

  .video-card-thumb {
    height: auto;
    aspect-ratio: 16/9;
  }

  .video-card-img {
    height: 100%;
  }
}
/*#endregion*/

.site-header__search {
    display: none;
}
.agent-search {
  padding: 0;
  background: url('/sites/help/images/home/banner.webp') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  margin-top: -60px;
  height: 450px;
  display: flex;
}

.agent-search-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.agent-search-avatar img {
  /* height: 50%; */
  /* object-fit: cover; */
  /* display: block; */
  border-radius: 50%;
  width: 94px;
  height: 94px;
  /* border: 3px solid white; */
}
.logo-wrap{
  margin-bottom: 32px;
  border-radius: 50%;
  /* border: 10px solid #D9D9D950; */
}

.agent-search-title {
  font-family: 'Inter Bold', sans-serif;
  font-size: 32px;
  color: black;
  margin: 0 0 28px;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(60, 80, 180, 0.18);
}

.agent-search-box {
  width: 100%;
  max-width: 680px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 32px rgba(80, 60, 200, 0.18);
  background-image: linear-gradient(#fff, #fff),
                    linear-gradient(90deg, #3794FF 0%, #D52BFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
}

.agent-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 18px;
  flex-shrink: 0;
  pointer-events: none;
}

.agent-search-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.agent-search-form {
  display: flex;
  align-items: center;
  flex: 1;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.agent-search-input {
  flex: 1;
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 16px;
  color: #333;
  padding: 14px 16px 14px 12px !important;
  border-radius: 50px !important;
  min-width: 0;
}

.agent-search-input::placeholder {
  color: #999;
  font-size: 15px;
}

.agent-search-btn {
  display: none;
}
.nmd-channels{
  background: url(/sites/help/images/home/footer.webp) no-repeat center/cover !important;
}
@media (max-width: 979px) {
  .agent-search-title {
    font-size: 24px;
  }

  .agent-search-inner {
    padding: 40px 20px 48px;
  }
}

@media (max-width: 767px) {
  .agent-search-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .agent-search-inner {
    padding: 36px 16px 40px;
  }

  .agent-search-avatar {
    width: 64px;
    height: 64px;
  }

  .agent-search-input {
    font-size: 14px;
    padding: 12px 12px 12px 10px;
  }

  .agent-search-icon img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 479px) {
  .agent-search-title {
    font-size: 18px;
  }
}
/*#endregion*/

.btn-move img{
  transition: transform 0.3s ease;
}
.btn-move:hover img{
  transform: translateX(4px);
}