:root {
  --amobit-navy: #001a4d;
  --amobit-blue: #0878ff;
  --amobit-accent: #1f53ff;
}

.amobit-login-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  width: min(220px, 100%);
  min-height: 34px;
  margin: 0 0 14px;
}

.amobit-login-brand__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 31px;
  object-fit: contain;
}

.amobit-brand-layer-ready .auth-card__panel-header > .auth-card__eyebrow {
  display: none;
}

.amobit-product-mark {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px rgba(255, 255, 255, .32), 0 10px 20px rgba(0, 26, 77, .16);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.amobit-product-mark:hover,
.amobit-product-mark:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .28);
  border-color: rgba(255, 255, 255, .34);
  outline: none;
}

.amobit-product-mark__icon {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 26, 77, .2));
}

.amobit-product-mark__logo {
  display: none;
  width: auto;
  max-width: 100%;
  height: 30px;
  object-fit: contain;
}

.rail.is-expanded .amobit-product-mark,
.app-shell--rail-expanded .amobit-product-mark {
  width: calc(100% - 14px);
  height: 58px;
  justify-content: flex-start;
  padding: 0 16px;
  color: var(--amobit-navy);
  background: #ffffffd9;
  border-color: rgba(146, 175, 228, .34);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 10px 20px rgba(46, 73, 126, .12);
}

.rail.is-expanded .amobit-product-mark__icon,
.app-shell--rail-expanded .amobit-product-mark__icon {
  display: none;
}

.rail.is-expanded .amobit-product-mark__logo,
.app-shell--rail-expanded .amobit-product-mark__logo {
  display: block;
}

.rail.is-expanded .amobit-product-mark:hover,
.rail.is-expanded .amobit-product-mark:focus-visible,
.app-shell--rail-expanded .amobit-product-mark:hover,
.app-shell--rail-expanded .amobit-product-mark:focus-visible {
  background: #fff;
  border-color: rgba(8, 120, 255, .32);
}

.rail .amobit-product-mark + .rail-top {
  margin-top: 2px;
}

@media (max-width: 960px) {
  .amobit-product-mark {
    display: none;
  }

  .amobit-login-brand {
    margin-bottom: 10px;
    width: min(196px, 100%);
  }
}
