/* Aplikasi Cares Help Center - custom CSS for Setup > Customize > CSS tab
   (append, do not replace).

   PURPLE theme. Aplikasi Cares = support for Aplikasi's in-house Zoho
   products. Aplikasi Support (Zoho implementations) keeps the ORANGE theme.
   Layout, spacing, fonts and fixes are identical to the Support portal;
   only the colors change, so the two portals feel like siblings but are
   easy to tell apart.

   Brand tokens (Aplikasi Cares):
     purple:          #8c52f0
     purple (dark):   #7340d1  (hover / borders)
     --black:         #1b1b1b
     --gradient-cares: linear-gradient(90deg, #ff5757 0%, #8c52f0 100%)

   Font: Montserrat (Google Fonts), same as the Support portal. */

/* @import must be the first rule in a stylesheet or browsers ignore it,
   so it sits at the top here (it was mid-file in the Support version). */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* ===== brand-color rules ===== */
/* KB/Community/Tickets icon accent lines - needs !important, a more
   specific Zoho rule otherwise wins the cascade. */
.home .commonStyle__zt3BrandFill {
  fill: #8c52f0 !important;
}
.commonStyle__zt3BrandFill {
  fill: #8c52f0 !important;
}
.commonStyle__zt3BrandBg {
  background: linear-gradient(90deg, #ff5757 0%, #8c52f0 100%);
}
.commonStyle__zt3Brand {
  color: #8c52f0 !important;
}
.Button__footerBtn {
  background: linear-gradient(90deg, #ff5757 0%, #8c52f0 100%) !important;
}
.Button__footerBtn:hover {
  background: #7340d1 !important;
}
.SearchContainer__downArrow {
  border-top-color: #7340d1;
}
.Signin__userLink.commonStyle__zt3Brand {
  color: #7340d1;
}
.Icon__brand {
  color: #7340d1;
}
.commonStyle__zt3BrandBorder {
  color: #7340d1;
  border-color: #7340d1;
}

/* ===== Hero section ===== */

#navBar {
  background: #ffffff !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

#headerContent.Header__searchSection {
  background: linear-gradient(90deg, rgba(255,87,87,0.16) 0%, rgba(140,82,240,0.32) 100%), #ffffff !important;
  text-align: center !important;
  padding: 80px 16px !important;
  margin-top: 0px !important;
  clear: both !important; /* #navBar floats left; keeps hero below it */
  position: relative !important; /* anchors .HC__heroGhostImg */
  overflow: hidden !important;
}

/* Ghost background image - faded texture behind the text. */
.HC__heroGhostImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.7;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

#navBar .Header__logo img,
.Header__logo a img {
  height: 60px !important;
  max-height: 60px !important;
  width: auto !important;
  max-width: none !important;
}

#headerContent.Header__searchSection .Header__container {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  z-index: 1 !important;
}

.Header__searchTitle {
  background: linear-gradient(90deg, #ff5757 0%, #8c52f0 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  text-shadow: none !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  font-size: clamp(2.25rem, 2.0rem + 2.0vw, 3.5rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}

.HC__welcomeText {
  margin-right: 0.3em !important;
}

.Header__description {
  letter-spacing: 0.3px !important;
  color: #292c2e !important;
  font-family: 'Montserrat', sans-serif !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  max-width: 640px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}

/* Eyebrow - style ready, not used in HTML yet. */
.HC__eyebrow {
  letter-spacing: 0.3px !important;
  color: #7340d1 !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  margin-bottom: 0.75em !important;
  font-size: 1rem !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* ===== Nav ===== */

.Header__menuTab {
  margin-left: auto !important;
}

.Header__tabsTab,
.Header__tabsTab a,
.Header__tabsTab span,
.Header__name {
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #1b1b1b !important;
  text-shadow: none !important;
  font-family: 'Montserrat', sans-serif !important;
}
.Header__name {
  font-weight: 400 !important;
}
.Header__tabsTab,
.Header__tabsTab a,
.Header__tabsTab span {
  font-weight: 400 !important;
}

/* Hover/active color */
.Header__tabsTab:hover,
.Header__tabsTab:hover a,
.Header__tabsTab.Header__active,
.Header__tabsTab.Header__active a {
  color: #8c52f0 !important;
  -webkit-text-fill-color: #8c52f0 !important;
}

/* Sign In / Sign Up */
.LoginDetail__tabLink,
.signinLink,
.signupLink {
  color: #1b1b1b !important;
  -webkit-text-fill-color: #1b1b1b !important;
  font-weight: 400 !important;
  font-family: 'Montserrat', sans-serif !important;
}
.signinLink:hover,
.signupLink:hover {
  color: #7340d1 !important;
  -webkit-text-fill-color: #7340d1 !important;
}

/* Mobile dropdown menu: the panel is light grey on Cares, so links are
   grey (not white, which made them invisible) and turn purple on hover/tap.
   The active page (e.g. Home) stays purple. */
@media only screen and (max-width: 1024px) {
  .Header__menuTab {
    left: 0 !important;
    margin-left: 0 !important;
  }

  .Header__menuList .Header__tabsTab,
  .Header__menuList .Header__tabsTab a,
  .Header__menuList .Header__tabs__link,
  .Header__menuList .LoginDetail__tabLink,
  .Header__menuList .signinLink,
  .Header__menuList .signupLink {
    color: #535353 !important;
    -webkit-text-fill-color: #535353 !important;
  }

  .Header__menuList .Header__tabsTab:hover,
  .Header__menuList .Header__tabsTab:hover a,
  .Header__menuList .Header__tabsTab:hover .Header__tabs__link,
  .Header__menuList .Header__tabsTab.Header__active,
  .Header__menuList .Header__tabsTab.Header__active a,
  .Header__menuList .Header__tabsTab.Header__active .Header__tabs__link,
  .Header__menuList .LoginDetail__tabLink:hover,
  .Header__menuList .signinLink:hover,
  .Header__menuList .signupLink:hover {
    color: #8c52f0 !important;
    -webkit-text-fill-color: #8c52f0 !important;
  }
}
