/* base  */

.ht-page {
  padding: 0;
}
/* end base */

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

.topic-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 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: 16px;
  background: linear-gradient(90deg, #E0DDFF 0%, #E0DDFF 100%);
}

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

/*#region guide-tabs*/
.guide-tabs {
  background: #F0F7FF;
  padding: 64px 0 74px;
}

.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 #D5D7DA;
  align-self: stretch;
}

.guide-tab {
  height: 64px;
  min-width: 160px;
  padding: 8px 20px;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #D5D7DA;
  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 #2653EB;
  color: #2653EB;
}

.guide-tab:hover:not(.is-active) {
  color: #2662ff;
}

.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;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
  }

  .guide-tabs-bar::-webkit-scrollbar {
    display: none;
  }

  .guide-tab {
    height: 56px;
    min-width: 120px;
    padding: 8px 14px;
    font-size: 16px;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .guide-tab {
    min-width: 100px;
    padding: 6px 10px;
    font-size: 14px;
    height: 48px;
  }
}
/*#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: 172px;
  height: 172px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #D5D7DA;
  box-shadow: 0px 0.5px 1px rgba(25, 33, 61, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 10px 0 10px;
  cursor: pointer;
}

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

.checkin-type-icon img {
  width: 56px;
  height: 56px;
  grid-area: 1 / 1;
}

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

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

.checkin-type-card:hover {
  border: 1px solid #1b49f5;
  box-shadow: 0px 0.5px 0.5px rgba(25, 33, 61, 0.04);
}

.checkin-type-card:hover .checkin-type-icon {
  background: linear-gradient(180deg, #5993ff 0%, #2662ff 100%);
  border: 0.5px solid #eef4ff;
  box-shadow: 0px 2px 2.5px rgba(58, 143, 255, 0.25),
              inset 0px -2px 2px rgba(0, 66, 137, 0.15),
              inset 0px 1px 1px rgba(255, 255, 255, 0.1),
              inset 0px 3px 4px rgba(223, 238, 255, 0.1);
}

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

.checkin-type-card:hover .checkin-type-icon .ic-hover {
  display: block;
}

.checkin-type-card:hover .checkin-type-label {
  color: #181d27;
}

@media (max-width: 979px) {
  .checkin-type-card {
    width: 140px;
    height: 140px;
  }
}
/*#endregion*/

/*#region agent-search*/
.agent-search {
  padding: 0;
  background: url('/help/images/home-id/bg-hero.webp') center / 100% 100% no-repeat;
  position: relative;
  overflow: hidden;
  margin-top: -60px;
}

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

.agent-search-title {
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 42px;
  color: #fff;
  margin: 0 0 32px;
  line-height: 54px;
  text-shadow: 0 1px 4px rgba(60, 80, 180, 0.18);
}

.agent-search-box {
  width: 100%;
  max-width: 924px;
  display: flex;
  align-items: center;
  height: 56px;
  background: #fff;
  border-radius: 100px;
  border: 3px solid #7cc4fd;
  box-shadow: 0px 8px 30px rgba(116, 135, 255, 0.05), 0px 8px 30px rgba(10, 27, 137, 0.03);
}

.agent-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 16px;
  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 20px 14px 4px !important;
  border-radius: 100px !important;
  min-width: 0;
}

.agent-search-input::placeholder {
  color: #a4a7ae;
  font-size: 16px;
}

.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-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;
  }
}

/* Live search form (hkb-searchbox) styled to match agent-search UI */
.agent-search-box .hkb-site-search {
  flex: 1;
  max-width: none;
  margin: 0;
}
.agent-search-box .hkb-site-search::after {
  display: none;
}
.agent-search-box .hkb-site-search__field {
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 16px;
  color: #333;
  padding: 14px 20px 14px 4px !important;
  border-radius: 100px !important;
  min-width: 0;
}
.agent-search-box .hkb-site-search__field::placeholder {
  color: #a4a7ae;
  font-size: 16px;
}
.agent-search-box .hkb-site-search__button {
  display: none;
}
@media (max-width: 767px) {
  .agent-search-box .hkb-site-search__field {
    font-size: 14px;
    padding: 12px 12px 12px 10px !important;
  }
}
/*#endregion*/
