/*
 * XMPP-HOM IT — visible entry to the client portal.
 * The class is namespaced to avoid changing existing site components.
 */
.client-portal-entry {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.55rem;
  padding: .62rem .95rem;
  border: 1px solid rgba(92, 210, 255, .55);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(30, 184, 255, .19), rgba(116, 90, 255, .13)),
    rgba(7, 15, 29, .72);
  color: #f7fbff;
  font: inherit;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .035) inset,
    0 10px 28px rgba(0, 0, 0, .14);
  transition:
    transform .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease;
}

.client-portal-entry::before {
  content: "";
  flex: 0 0 auto;
  width: .56rem;
  height: .56rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(92, 210, 255, .78);
  opacity: .88;
}

.client-portal-entry:hover {
  transform: translateY(-1px);
  border-color: rgba(128, 226, 255, .9);
  background:
    linear-gradient(135deg, rgba(30, 184, 255, .28), rgba(116, 90, 255, .2)),
    rgba(7, 15, 29, .82);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .055) inset,
    0 14px 34px rgba(0, 0, 0, .2);
}

.client-portal-entry:focus-visible {
  outline: 3px solid rgba(91, 205, 255, .58);
  outline-offset: 3px;
}

.client-portal-entry--footer {
  margin-top: .7rem;
}

.client-portal-entry--fallback {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2147483000;
  color: #f7fbff;
}

@media (max-width: 760px) {
  .client-portal-entry--nav {
    width: 100%;
    margin-top: .25rem;
  }

  .client-portal-entry--fallback {
    right: .75rem;
    bottom: .75rem;
    max-width: calc(100vw - 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-portal-entry {
    transition: none;
  }

  .client-portal-entry:hover {
    transform: none;
  }
}
