/* C&D top bar + client portal | loaded after site.css across all pages */
.topbar__inner {
  justify-content: space-between;
  gap: 18px;
}

/* Move the phone and email to the left, retaining the existing branding. */
.topbar .topbar__contact {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 25px);
  margin-right: auto;
  min-width: 0;
}
.topbar .topbar__contact > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.topbar .topbar__email {
  display: inline-flex;
}
.topbar__client-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 28px;
  padding: 5px 11px;
  color: var(--lime-bright, #d9e887);
  border: 1px solid rgba(197, 211, 92, .34);
  border-radius: 6px;
  background: rgba(197, 211, 92, .08);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.topbar__client-login:hover {
  color: #fff;
  background: rgba(197, 211, 92, .19);
  border-color: var(--lime, #c5d35c);
}
.topbar__client-login:focus-visible,
.mobile-menu__client-login:focus-visible {
  outline: 3px solid var(--lime, #c5d35c);
  outline-offset: 3px;
}

/* Prominent second action in the mobile drawer, below Report a Pest Problem. */
.mobile-menu__client-login {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  min-height: 47px;
  border: 1px solid rgba(0, 121, 111, .35);
  border-radius: 7px;
  background: #e9f7f3;
  color: var(--teal-deep, #00796f);
  font-size: 14px;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease;
}
.mobile-menu__client-login:hover {
  background: #d6f1e9;
  border-color: var(--teal-deep, #00796f);
}
.mobile-menu__email {
  display: inline-block;
  color: var(--teal-deep, #00796f);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.mobile-menu__email:hover {
  text-decoration: underline;
}

/* On narrow screens retain easy access to the phone and portal login.
   The email also remains accessible in the mobile drawer. */
@media (max-width: 700px) {
  .topbar .topbar__email { display: none; }
}
@media (max-width: 600px) {
  .topbar__inner {
    justify-content: space-between;
    min-height: 38px;
    gap: 10px;
  }
  .topbar .topbar__contact {
    display: flex;
    margin: 0;
    gap: 0;
    min-width: 0;
  }
  .topbar .topbar__contact > a { font-size: 11px; gap: 6px; }
  .topbar__client-login {
    min-height: 30px;
    padding: 4px 0;
    background: transparent;
    border: 0;
    gap: 5px;
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .topbar__client-login svg { display: none; }
  .topbar .topbar__contact > a svg { width: 13px; }
}
