/* TITAN_AUTH_PROFILE_HOTFIX_CSS_V1 */

#vpUniversalAccount {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 32px);
  padding: 8px;
  border: 1px solid rgba(15, 35, 63, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 14px 38px rgba(7, 20, 38, 0.15),
    0 3px 10px rgba(7, 20, 38, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: Inter, Arial, sans-serif;
}

#vpUniversalAccount,
#vpUniversalAccount * {
  box-sizing: border-box;
}

#vpUniversalAccount[hidden] {
  display: none !important;
}

.vp-auth-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0 5px;
}

.vp-auth-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #155eef, #0d3fbe);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.vp-auth-copy {
  min-width: 0;
  line-height: 1.15;
}

.vp-auth-copy strong {
  display: block;
  max-width: 150px;
  overflow: hidden;
  color: #071426;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vp-auth-copy small {
  display: block;
  margin-top: 3px;
  color: #6b778c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vp-auth-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vp-auth-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  padding: 9px 13px;
  background: #eef3fb;
  color: #10233f;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(21, 94, 239, 0.18);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.vp-auth-button:active,
.vp-auth-button.is-pressed {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 0 0 2px rgba(21, 94, 239, 0.22);
}

.vp-auth-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(7, 20, 38, 0.12);
}

.vp-auth-button-primary {
  background: #155eef;
  color: #fff;
}

.vp-auth-button-dark {
  background: #10233f;
  color: #fff;
}

.vp-auth-button-danger {
  background: #fff0f0;
  color: #a11717;
}

.vp-auth-status {
  padding: 7px 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 760px) {
  #vpUniversalAccount {
    top: auto;
    right: 10px;
    bottom: 12px;
    left: 10px;
    width: auto;
    max-width: none;
    justify-content: space-between;
    border-radius: 17px;
    padding: 8px;
  }

  .vp-auth-copy strong {
    max-width: 100px;
  }

  .vp-auth-actions {
    gap: 5px;
  }

  .vp-auth-button {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 11px;
  }
}

@media (max-width: 440px) {
  .vp-auth-copy {
    display: none;
  }

  .vp-auth-identity {
    padding: 0;
  }

  .vp-auth-button {
    padding: 9px 9px;
  }
}
