/* Profile menu: content-sized top sheet — do not fill the page */
.vp-profile-sheet {
  height: auto !important;
  max-height: 70vh !important;
}

/* Header: stop cramming avatar / UID / progress into one tight row */
.vp-profile-sheet .vp-profile-head {
  padding: 18px 16px 14px !important;
  padding-right: 48px !important;
}

.vp-profile-sheet .vp-profile-head-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px 14px !important;
  padding-right: 0 !important;
}

.vp-profile-sheet .vp-profile-head-row > img {
  width: 56px !important;
  height: 56px !important;
  flex-shrink: 0 !important;
}

.vp-profile-sheet .vp-profile-user {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.vp-profile-sheet .vp-profile-user > div:first-child {
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

/* UID chip row under the name — full width of the text column */
.vp-profile-sheet .vp-profile-user > div:last-child,
.vp-profile-sheet .vp-profile-user .vp-uid-chip {
  max-width: 100% !important;
}

.vp-profile-sheet .vp-uid-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 10px !important;
  margin-top: 0 !important;
}

/* Credit score block on its own full-width row under identity */
.vp-profile-sheet .vp-profile-progress {
  flex: 1 1 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  margin-top: 4px !important;
  padding-left: 0 !important;
}

.vp-profile-sheet .vp-profile-score-label {
  color: #fff;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

html[data-vp-theme="light"] .vp-profile-sheet .vp-profile-score-label {
  color: #1c1f26 !important;
}

.vp-profile-sheet .vp-profile-bar {
  width: 100% !important;
  flex: 0 0 auto !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: #333 !important;
  overflow: hidden !important;
}

.vp-profile-sheet .vp-profile-pct {
  align-self: flex-end !important;
  min-width: 0 !important;
  text-align: right !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.vp-profile-sheet .vp-profile-head > button {
  top: 14px !important;
  right: 12px !important;
  width: 36px !important;
  height: 36px !important;
  z-index: 2;
}


/* Two real columns — prevents wrong tap targets on mobile */
.vp-profile-sheet .vp-profile-menu {
  display: flex !important;
  align-items: flex-start !important;
  gap: 4px !important;
}
.vp-profile-sheet .vp-profile-col {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
.vp-profile-sheet .vp-profile-col .menu-item {
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1;
}

.vp-profile-sheet .vp-profile-bar-fill {
  height: 100% !important;
  min-height: 100% !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #00c853 0%, #69f0ae 100%) !important;
}


/* Profile avatar (left) */
.vp-profile-sheet .vp-profile-avatar {
  width: 56px !important;
  height: 56px !important;
  flex-shrink: 0 !important;
  object-fit: cover !important;
  background: #111 !important;
}

/* VIP level badge (right) */
.vp-profile-sheet .vp-profile-vip {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  min-width: 64px !important;
  max-width: 88px !important;
  padding-left: 4px !important;
}

.vp-profile-sheet .vp-profile-vip-img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

.vp-profile-sheet .vp-profile-vip-label {
  margin-top: 4px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: var(--bg-color, #daff45) !important;
  text-align: center !important;
  line-height: 1.15 !important;
  max-width: 84px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-vp-theme="light"] .vp-profile-sheet .vp-profile-vip-label {
  color: #4d6b00 !important;
}

/* Progress is a sibling under the head, full width */
.vp-profile-sheet .vp-profile-head > .vp-profile-progress {
  margin-top: 10px !important;
  padding-right: 36px !important;
}

