html {
  scroll-behavior: smooth;
}

:root {
  --ze-topnav-primary-color: #e42527;
}

body,
button {
  color: #000;
  font-family: 'Zoho Puvi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  font-size: 14px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a:focus-visible {
  outline: revert;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* Reset Style */
body {
  overflow-x: hidden;
}

/* Edition preference banner Styles */
.edition-switch-banner {
  display: none;
}

.edition-switch-banner.show {
  display: block;
  background-color: #444;
  padding: 10px;
  position: relative;
  z-index: 1000;
}

.banner-cta-container {
  display: flex;
  gap: 10px;
  text-align: center;
  margin-top: 10px;
}

.edition-switch-text {
  color: #e2e2e2;
  font-size: 13px;
  line-height: 18px;
}

.edition-target-button,
.edition-target-button:hover,
.edition-target-button:focus,
.edition-target-button:visited {
  background-color: #e9e9e9;
  color: #373737;
  border: 1px solid #fff;
  text-decoration: none;
}

.edition-target-button,
.close-edition-preference-banner {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 18px;
  box-shadow: 0px 4px 3px 0px #00000038;
  white-space: nowrap;
  cursor: pointer;
  flex: 1;
}

.close-edition-preference-banner {
  background-color: #444;
  color: #e2e2e2;
  border: 1px solid #585858;
}

.edition-target-button:hover,
.edition-target-button:focus {
  transition: all 0.2s;
  background-color: #fff;
}

/* Sprite image and positions live in product-footer.css so the retina rule still applies. */
.edition-target-button [class^="edition-image"] {
  vertical-align: -3px;
  margin: 0 6px 0 0;
}

.edition-target-button .edition-image-global {
  filter: brightness(0);
}

/* ZE Product Header Styles */
.ze-product-header {
  line-height: normal;
}

.ze-product-header *,
.ze-product-header *::before,
.ze-product-header *::after {
  box-sizing: content-box;
}

.clearfix:after,
.clearfix:before {
  display: table;
  content: "";
  clear: both;
}

.ze-product-header .ze-logo {
  background: url("/expense/ze-white-logo.svg?v=2") no-repeat;
  float: left;
  height: 38px;
  padding: 0 0 0 40px;
  background-position: 0 0;
  width: 100px;
  margin: 8px 0px 8px 20px;
}

.ze-product-header.light .ze-logo {
  background: url("/expense/ze-logo.svg?v=2") no-repeat;
}

/* loggedin user profile align fix */
.ze-product-header .zgh-accounts * {
  box-sizing: border-box;
}

.ze-product-header .zgh-user-box {
  padding: 7px 10px 0;
}

.ze-product-header .zgh-login,
.mobileview-menu-wrapper.show {
  display: block;
}

/* for temproray fix */
.ze-product-header:not(.light) .zgh-login {
  filter: invert(1);
}

.ze-product-header .zgh-signup,
.ze-product-menu-wrapper {
  display: none;
}

.mobile-view-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  display: flex;
  z-index: 100;
}

.mobile-view-menu .ze-access-mobile {
  color: #000;
  background: #f1f1f1;
  flex-grow: 1;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 0;
  text-align: center;
  text-transform: none;
  padding: 17px 0;
  margin: 0;
}

.bottom-menu-icon {
  width: 50px;
  height: 50px;
  background-color: #000;
  transition: background-color 0.3s ease;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.hamburger {
  margin: auto;
  position: relative;
  display: block;
  width: 22px;
  height: 13px;
}

.hamburger span {
  background-color: #fff;
  height: 2px;
  width: 100%;
  position: absolute;
  left: 0;
  border-radius: 9px;
  transition: all 0.25s ease-in-out;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
  top: 6px;
  transform-origin: center;
}

.hamburger span:nth-child(4) {
  top: 12px;
}

.bottom-menu-icon.open {
  background-color: #fff;
}

.bottom-menu-icon.open span {
  background-color: #8c8c8c;
}

.bottom-menu-icon.open span:nth-child(1),
.bottom-menu-icon.open span:nth-child(4) {
  transform: scale(0);
  top: 6px;
}

.bottom-menu-icon.open span:nth-child(2) {
  transform: rotateZ(45deg);
}

.bottom-menu-icon.open span:nth-child(3) {
  transform: rotateZ(-45deg);
}

.mobileview-menu-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 99;
  display: none;
}

.mobileview-menu-wrapper .menu-popup {
  position: absolute;
  bottom: 0;
  left: 5px;
  width: 250px;
  max-height: 75%;
  border-radius: 10px;
  box-shadow: 40px 40px 300px 100px rgba(0, 0, 0, 0.4);
  background-color: #fff;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
  overflow-y: scroll;
}

.mobileview-menu-wrapper.show .menu-popup {
  opacity: 1;
  transform: translateY(-55px);
}

.mobileview-menu-wrapper .menu-popup>ul {
  padding: 20px;
}

.mobileview-menu-wrapper a,
.mobileview-menu-wrapper button {
  color: #333;
  display: inline-block;
  width: 100%;
  padding: 6px 0;
  font-size: 17px;
  line-height: 1.5;
}

.ze-dropdown-menu-list button {
  background-color: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.ze-dropdown-menu-list button::after {
  content: "";
  display: block;
  height: 8px;
  width: 15px;
  background: url("/expense/svgs/dropdown-arrow.svg") no-repeat;
  background-size: cover;
  filter: brightness(0);
  transition: transform 0.5s ease;
}

.ze-dropdown-menu-list button[aria-expanded="true"]::after {
  transform: rotateX(180deg);
}

.ze-mobile-dropdown-menu {
  max-height: 0;
  line-height: 1.8;
  padding-left: 10px;
  overflow: hidden;
  visibility: hidden;
  transition: all 0.5s linear;
}

.ze-mobile-dropdown-menu.show {
  max-height: 300px;
  visibility: visible;
}

.ze-mobile-dropdown-menu a,
.ze-mobile-dropdown-menu b {
  color: #000;
  font-size: 13px;
}

.zcommon-link-container {
  padding-top: 5px;
  padding-bottom: 30px;
  border-top: 1px solid #efefef;
}

.zcommon-link-container>span {
  padding: 8px 20px 3px 20px;
  display: block;
}

.zcommon-link-container>span a {
  font-size: 17px;
  line-height: 1.5;
  color: #333;
}

@media screen and (min-width: 768px) {
  .edition-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 750px;
    margin: auto;
    gap: 14px;
  }

  .banner-cta-container {
    margin-top: 0;
  }

  .header {
    min-height: 66px;
  }

  .ze-product-header-inner {
    max-width: 1280px;
    padding: 0 20px;
    margin: 0 auto;
  }

  .ze-product-header .ze-logo {
    height: 44px;
    padding: 0 0 0 50px;
    margin: 13px 0;
  }

  .ze-product-header .zgh-accounts {
    display: none;
  }

  .mobile-view-menu,
  .mobileview-menu-wrapper.show {
    display: none;
  }

  .ze-product-menu-wrapper {
    display: block;
    float: right;
    position: relative;
  }

  .ze-product-menu>li {
    float: left;
    margin-left: 20px;
  }

  .ze-product-menu>li:first-child {
    margin-left: 0;
  }

  .ze-product-menu>li:after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background-color: var(--ze-topnav-primary-color);
  }

  .ze-product-menu>li:hover:after,
  .ze-product-menu>li:focus-within::after {
    width: 100%;
    animation: dropdownHover .3s ease forwards;
  }

  @keyframes dropdownHover {
    0% {
      width: 0;
    }

    100% {
      width: 100%;
    }
  }

  .ze-product-menu>li>a {
    color: #fff;
    display: inline-block;
    font-size: 14px;
    padding: 25px 0;
    cursor: pointer;
  }

  .ze-product-header.light .ze-product-menu>li>a {
    color: #000;
  }

  .ze-product-menu>li.selected>a {
    font-weight: 700;
  }

  .ze-nav-dropdown>a::after {
    content: "";
    display: inline-block;
    height: 6px;
    width: 11px;
    background: url("/expense/svgs/dropdown-arrow.svg") no-repeat;
    background-size: cover;
    vertical-align: middle;
    margin-left: 5px;
    transition: transform 0.5s ease;
  }

  .ze-product-header.light .ze-nav-dropdown>a::after {
    background: url("/expense/svgs/dropdown-arrow-dark.svg") no-repeat;
  }

  .ze-nav-dropdown:hover>a::after,
  .ze-nav-dropdown:focus-within>a::after {
    transform: rotateX(180deg);
  }

  .ze-nav-dropdown>div {
    position: absolute;
    top: 100%;
    right: 0;
    width: max-content;
    z-index: 1002;
    display: flex;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
  }

  .ze-nav-dropdown .ze-nav-resources {
    right: -10px;
  }

  .ze-nav-dropdown:hover>div,
  .ze-nav-dropdown:focus-within>div {
    opacity: 1;
    visibility: visible;
  }

  .ze-nav-dropdown-left {
    background-color: #fff;
    padding: 20px 45px 30px;
  }

  .ze-nav-solutions .ze-nav-dropdown-left,
  .ze-nav-resources .ze-nav-dropdown-left {
    padding-right: 120px;
  }

  .ze-nav-list-wrapper {
    display: flex;
    gap: 100px;
  }

  .ze-nav-title {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: normal; /* its preventing global css */
    padding: 10px 0;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 5px;
  }

  .ze-nav-list:not(:last-child) {
    padding-bottom: 12px;
  }

  .ze-nav-dropdown .ze-nav-list a {
    color: #000;
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
  }

  .ze-nav-dropdown .ze-nav-list a:hover,
  .ze-nav-dropdown .ze-nav-list a:focus-visible {
    color: var(--ze-topnav-primary-color);
  }

  .ze-nav-list a::before {
    content: "";
    display: block;
    height: 13px;
    width: 13px;
    background-image: url("/expense/svgs/top-nav-icons.svg?v=5");
    background-size: 125px 217px;
    filter: grayscale(1);
    margin-right: 10px;
  }

  .ze-nav-list a:hover::before,
  .ze-nav-list a:focus-visible::before {
    filter: grayscale(0);
  }

  .ze-nav-receipt::before {
    background-position: -10px -10px;
  }

  .ze-nav-expense::before {
    background-position: -33px -10px;
  }

  .ze-nav-mileage::before {
    background-position: -56px -10px;
  }

  .ze-nav-perdiem::before {
    background-position: -79px -10px;
  }

  .ze-nav-pettycash::before {
    background-position: -102px -10px;
  }

  .ze-nav-reports::before {
    background-position: -10px -33px;
  }

  .ze-nav-approvals::before {
    background-position: -33px -33px;
  }

  .ze-nav-audit::before {
    background-position: -56px -33px;
  }

  .ze-nav-reimbursement::before {
    background-position: -79px -33px;
  }

  .ze-nav-travel::before {
    background-position: -102px -33px;
  }

  .ze-nav-card::before {
    background-position: -10px -56px;
  }

  .ze-nav-prepaid-card::before {
    background-position: -33px -56px;
  }

  .ze-nav-expensing::before {
    background-position: -56px -56px;
  }

  .ze-nav-automation::before {
    background-position: -79px -56px;
  }

  .ze-nav-customization::before {
    background-position: -102px -56px;
  }

  .ze-nav-collaboration::before {
    background-position: -10px -79px;
  }

  .ze-nav-integrations::before {
    background-position: -33px -79px;
  }

  .ze-nav-ai::before {
    background-position: -56px -79px;
  }

  .ze-nav-mcp::before {
    background-position: -79px -79px;
  }

  .ze-nav-universities::before {
    background-position: -102px -79px;
  }

  .ze-nav-it::before {
    background-position: -10px -102px;
  }

  .ze-nav-consultants::before {
    background-position: -33px -102px;
  }

  .ze-nav-healthcare::before {
    background-position: -56px -102px;
  }

  .ze-nav-nonprofits::before {
    background-position: -79px -102px;
  }

  .ze-nav-startups::before {
    background-position: -102px -102px;
  }

  .ze-nav-manufacturing::before {
    background-position: -10px -125px;
  }

  .ze-nav-enterprises::before {
    background-position: -33px -125px;
  }

  .ze-nav-buisness::before {
    background-position: -56px -125px;
  }

  .ze-nav-blogs::before {
    background-position: -79px -125px;
  }

  .ze-nav-webinars::before {
    background-position: -102px -125px;
  }

  .ze-nav-whatsnew::before {
    background-position: -10px -148px;
  }

  .ze-nav-help::before {
    background-position: -33px -148px;
  }

  .ze-nav-faq::before {
    background-position: -56px -148px;
  }

  .ze-nav-forum::before {
    background-position: -79px -148px;
  }
  
  .ze-nav-academy::before {
    background-position: -102px -148px;
  }
  
  .ze-nav-compare::before {
    background-position: -10px -171px;
  }
  
  .ze-nav-partner::before {
    background-position: -33px -171px;
  }

  .ze-nav-policies::before {
    background-position: -56px -171px;
  }

  .ze-nav-rules::before {
    background-position: -79px -171px;
  }

  .ze-nav-budgets::before {
    background-position: -102px -171px;
  }

  .ze-nav-freecalc::before {
    background-position: -10px -194px;
  }

  .ze-nav-dropdown .see-all-features {
    color: var(--ze-topnav-primary-color);
    border: 1px solid #a8a8a8;
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    padding: 16px 0 !important;
    border-radius: 4px;
    margin-top: 24px;
    transition: color .3s ease, background-color .3s ease;
  }

  .ze-nav-dropdown .see-all-features:hover,
  .ze-nav-dropdown .see-all-features:focus-visible {
    color: #fff;
    background-color: #272727;
  }

  .new-tag {
    display: inline-block;
    color: #000;
    font-size: 8px;
    line-height: 1;
    font-weight: 700;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: .6px;
    background-color: #f5ba31;
    padding: 4px 6px;
    border-radius: 10px;
    margin-left: 6px;
  }

  .ze-nav-dropdown-right {
    background-color: #fafafa;
    padding: 30px;
    border-left: 1px solid #e6e6e6;
  }

  .ze-nav-features .ze-nav-dropdown-right {
    display: none;
  }

  .ze-nav-dropdown-right b {
    display: block;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0.04em;
    padding-top: 20px;
  }

  .ze-product-menu .ze-nav-dropdown-right p {
    color: #000;
    max-width: 214px;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    padding: 20px 0 10px;
    margin: 0;
  }

  .ze-nav-features .ze-nav-dropdown-right p {
    max-width: 256px;
  }

  .ze-nav-resources .ze-nav-dropdown-right p {
    padding: 10px 0;
  }

  .ze-nav-dropdown-right .ze-nav-link {
    color: var(--ze-topnav-primary-color);
    text-decoration: underline;
    font-size: 12px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: 0.04em;
  }

  .ze-nav-dropdown-right .ze-nav-link::after {
    content: "";
    display: inline-block;
    height: 7px;
    width: 7px;
    background-color: var(--ze-topnav-primary-color);
    mask: url('/expense/svgs/dropdown-arrow-dark.svg') no-repeat center;
    mask-size: contain;
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
  }

  .ze-nav-dropdown-right .ze-nav-link:hover::after,
  .ze-nav-dropdown-right .ze-nav-link:focus-visible:after {
    transform: rotate(-90deg) translateY(3px);
  }
}

@media screen and (min-width: 992px) {
  .header {
    min-height: 75px;
  }

  .ze-nav-features .ze-nav-dropdown-right {
    display: block;
  }
}

@media screen and (min-width: 1200px) {
  .ze-product-header.slide {
    background-color: #fff;
    border-bottom: none;
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
  }

  .ze-product-header.slide .ze-product-header-inner {
    padding: 0 20px;
  }

  .ze-product-header.slide .ze-logo {
    background: url("/expense/ze-logo.svg?v=2") no-repeat;
  }

  .ze-product-header .zgh-accounts {
    line-height: 1.8;
    float: right;
  }

  .ze-product-header.slide .zgh-accounts {
    display: block;
    padding: 15px 0 0 20px;
  }

  .ze-product-header .zgh-login {
    display: none !important;
  }

  .ze-product-header .zgh-signup {
    display: block;
    border-radius: 5px;
    margin-right: 0;
  }

  .ze-product-header .zgh-user-box {
    padding: 0;
  }

  .ze-product-menu>li {
    margin-left: 40px;
  }

  .ze-product-header.slide .ze-product-menu>li>a {
    color: #000;
  }

  .ze-product-header.slide .ze-nav-dropdown>a::after {
    background: url("/expense/svgs/dropdown-arrow-dark.svg") no-repeat;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}