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

/*#region human-agent*/
.human-agent {
  padding: 80px 0;
  padding-bottom: unset;
}

.human-agent-title {
  display: block;
  text-align: center;
  margin-bottom: 32px;
}

.human-agent-title-text {
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 36px;
  line-height: 1.4;
  color: #181D27;
}

.human-agent-title-highlight {
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 36px;
  line-height: 1.4;
  color: #0083FF;
  background: var(--AI_Primary, linear-gradient(98deg, var(--AI-Begin-600, #1482FF) 8.87%, var(--AI-End-600, #CF11FF) 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.human-agent-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.human-agent-stat {
  /* width: 320px; */
  /* padding: 20px; */
  background: #fff;
  border-radius: 16px;
  /* border: 3px solid #1482FF; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  background: var(--AI_Primary, linear-gradient(98deg, var(--AI-Begin-600, #1482FF) 8.87%, var(--AI-End-600, #CF11FF) 100%));
}
.human-agent-stat-inner {
    padding: 20px;
    background: #fff;
    margin: 3px;
    /* width: 318px; */
    border-radius: 13px;
    width: 320px;
}
.human-agent-stat-number {
  font-family: 'Inter Bold', sans-serif;
  font-size: 32px;
  line-height: 1.25;
  color: #1482FF;
  background: var(--AI_Primary, linear-gradient(98deg, var(--AI-Begin-600, #1482FF) 8.87%, var(--AI-End-600, #CF11FF) 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.human-agent-stat-desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.33;
  color: #535862;
}

@media (max-width: 979px) {
  .human-agent-title-text,
  .human-agent-title-highlight {
    font-size: 24px;
  }

  .human-agent-stats {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .human-agent-stat {
    width: 100%;
  }
}
/*#endregion*/

/*#region guide-section*/
.guide-section {
  background: url('/agentwork/sites/help/images/pages/home/bg-bento.webp') center center / cover no-repeat;
  padding: 80px 0;
}

.guide-section-inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.guide-quicklinks {
  display: flex;
  gap: 24px;
}

.guide-quicklink-card {
  cursor: pointer;
  flex: 1;
  padding: 28px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E6E6EE;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.guide-quicklink-card:hover {
  box-shadow: 0px 22px 45px rgba(0, 0, 0, 0.1);
}

.guide-quicklink-img {
  width: 87px;
  height: 64px;
  object-fit: contain;
}

.guide-quicklink-title {
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 24px;
  line-height: 1.5;
  color: #08185E;
}

.guide-nghiep-vu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.guide-nghiep-vu-title {
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 36px;
  line-height: 1.4;
  color: #181D27;
  text-align: center;
}

.guide-nghiep-vu-tabs {
  display: flex;
  align-items: center;
  padding: 8px;
  background: #F5F5F5;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
}

.guide-nghiep-vu-tab {
  padding: 12px 24px;
  border-radius: 9999px;
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #181D27;
  cursor: pointer;
  white-space: nowrap;
}

.guide-nghiep-vu-tab.is-active {
  background: #fff;
  color: #2662FF;
  box-shadow: 0px 6px 20px 3px rgba(116, 135, 255, 0.03), 0px 3px 6px -6px rgba(10, 27, 137, 0.03);
}

.guide-nghiep-vu-content {
  width: 100%;
}

.guide-nghiep-vu-panel {
  display: none;
}

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

.guide-nghiep-vu-cards {
  display: flex;
  gap: 24px;
}

.guide-nghiep-vu-card {
  flex: 1;
  padding: 28px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E9EAEB;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  cursor: pointer;
}

.guide-nghiep-vu-card:hover {
  border-color: #245FDF;
  box-shadow: 0px 22px 45px rgba(0, 0, 0, 0.1);
}

.guide-nghiep-vu-card-img {
  width: 146px;
  height: 98px;
  object-fit: contain;
}

.guide-nghiep-vu-card-title {
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 16px;
  line-height: 1.375;
  color: #101828;
}

@media (max-width: 979px) {
  .guide-quicklinks {
    flex-direction: column;
  }

  .guide-nghiep-vu-title {
    font-size: 24px;
  }

  .guide-nghiep-vu-tabs {
    overflow-x: auto;
    align-self: stretch;
  }

  .guide-nghiep-vu-cards {
    flex-direction: column;
  }
}
/*#endregion*/

/*#region video-guides*/
.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(/agentwork/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: #F2F6FA;
  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-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('/agentwork/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;
  gap: 24px;
  padding: 64px 20px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.agent-search-avatar {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  background: linear-gradient(97.76deg, #1482FF 8.87%, #CF11FF 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
}

.agent-search-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.agent-search-title {
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 36px;
  margin: 0;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.agent-search-title-gradient {
  background: linear-gradient(114.41deg, #0083FF 73.013%, #7D3DEB 47.197%, #FE5ABB 106.76%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agent-search-title-text {
  color: #101828;
}

.agent-search-box {
  width: 100%;
  max-width: 680px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 100px;
  border: 2px solid #3ccbff;
  box-shadow: 0 6px 20px 3px rgba(116, 135, 255, 0.03), 0 3px 6px -6px rgba(10, 27, 137, 0.03);
}

.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: 48px 20px;
  }
}

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