/* hehopro — front office styles */

/* PRO theme palette is already defined under [data-heho-theme="pro"]
 * in themes/hummingbird/assets/css/heho.css. We use the same tokens here. */

.hehopro-pending-banner {
  background-color: #fff3cd;
  color: #664d03;
  border-bottom: 1px solid #ffe69c;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.hehopro-pending-banner .container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hehopro-pending-banner i.material-icons {
  font-size: 1.25rem;
  color: #664d03;
}

.hehopro-pending-banner p {
  margin: 0;
  color: #664d03;
}

/* Signin banner */
.hehopro-signin-banner {
  background-color: var(--heho-color-primary, #207F99);
  color: #fff;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.hehopro-signin-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.hehopro-signin-banner__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.hehopro-signin-banner__title i.material-icons {
  color: #fff;
}

.hehopro-signin-banner__text {
  margin: 0;
  color: #fff;
}

.hehopro-signin-banner__cta {
  align-self: flex-start;
  background-color: #fff;
  color: var(--heho-color-primary, #207F99);
  border: 1px solid #fff;
}

.hehopro-signin-banner__cta:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--heho-color-primary, #207F99);
}

/* Customer account tile */
.hehopro-account-link {
  display: block;
  margin-bottom: 1rem;
  text-decoration: none;
}

/* Card chrome (border, background, padding, icon sizing, hover) is owned by
   the active theme — see themes/hummingbird/assets/css/imports/account.css,
   which styles every displayCustomerAccount tile uniformly. Keep only the
   layout wrapper here so the tile still stacks icon-over-label when the theme
   styles are absent; do NOT re-add card chrome (it double-cards under the
   theme and breaks the uniform grid height). */
.hehopro-account-link .link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Customer-is-pro body class — let theme palette swap handle the rest. */
body.customer-is-pro {
  /* No styling here on purpose; data-heho-theme="pro" controls the palette. */
}

.hehopro-header__pro-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--heho-space-2);
  min-width: 9.375rem; /* 150px */
  height: 3.75rem;
  padding: var(--heho-space-2) var(--heho-space-5);
  background-color: var(--heho-color-primary);
  color: var(--heho-color-bg);
  border-radius: var(--heho-radius-sm);
  font-weight: var(--heho-font-weight-bold);
  font-size: var(--heho-font-size-sm);
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.hehopro-header__pro-cta:hover,
.hehopro-header__pro-cta:focus-visible {
  background-color: var(--heho-color-primary-hover);
  color: var(--heho-color-bg);
}

/* Non-clickable indicator shown while a PRO application is under review. */
.hehopro-header__pro-cta--pending {
  background-color: transparent;
  color: var(--heho-color-primary);
  border: 1px solid var(--heho-color-primary);
  cursor: default;
}

.hehopro-header__pro-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hehopro-header__pro-cta-icon svg {
  width: 2.25rem;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .hehopro-header__pro-cta-label {
    display: none;
  }
  .hehopro-header__pro-cta {
    min-width: 0;
    padding: var(--heho-space-2);
    background-color: transparent;
    color: var(--heho-color-primary);
  }
  .hehopro-header__pro-cta:hover,
  .hehopro-header__pro-cta:focus-visible {
    background-color: transparent;
    color: var(--heho-color-primary-hover);
  }
}