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

/*#region agent-banner*/
.agent-banner {
  background: #F2F6FA;
  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-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;
  /* background: linear-gradient(180deg, #FBF8F5 0%, #EEE2D5 100%); */
  box-shadow: 0px 0px 32px #D5DEF4;
}

.topic-card-title {
  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/pages/home/bg-main.webp') center center / cover no-repeat;
  padding: 64px 0;
}

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

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

.guide-tabs-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #B2DDFF;
  align-self: stretch;
}

.guide-tab {
  height: 64px;
  min-width: 160px;
  padding: 8px 20px;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #B2DDFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #101828;
  font-size: 18px;
  font-family: 'Inter SemiBold';
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}

.guide-tab.is-active {
  border-bottom: 4px solid #2E90FA;
  color: #3982E4;
}

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

.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: 40px 0;
}

.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 0px 0 0px;
  cursor: pointer;
  text-decoration: none;
}

.checkin-type-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(185deg, #FAFAFA 0%, #E9EFFF 100%);
  border-radius: 12px;
  border: 0.5px solid #B2DDFF;
  box-shadow: inset 0px -1.17px 1.17px rgba(150, 161, 172, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkin-type-label {
  color: #717680;
  font-size: 16px;
  font-family: 'Inter Medium';
  line-height: 22px;
  text-align: center;
}

.checkin-type-card:hover {
  border: 1.5px solid #3990FF;
  box-shadow: 0px 5px 15px rgba(37, 99, 235, 0.1);
}

.checkin-type-card:hover .checkin-type-icon {
  /* background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%); */
  /* border-radius: 16px; */
  /* border: 1.5px solid #fff; */
  /* box-shadow: 0px 5px 15px rgba(37, 99, 235, 0.15); */
}

.checkin-type-card:hover .checkin-type-icon img {
  /* filter: brightness(0) invert(1); */
}

.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: #ffff;
  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: #1570EF;
  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;
}

.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 ... */
}

@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/pages/home/bg-header.webp') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  margin-top: -60px;
}

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

.agent-search-avatar img {
  width: 50%;
  /* height: 50%; */
  /* object-fit: cover; */
  /* display: block; */
  margin-bottom: 32px;
}

.agent-search-title {
  font-family: 'Inter Bold', sans-serif;
  font-size: 32px;
  color: #1570EF;
  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;
}

@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*/