/* Live user/profile layout based on demo Sample A */
.profile-user-page .profile-sample-a-live {
  display: grid;
  gap: 14px;
}

.profile-user-page .profile-sample-a-live .profile-pro-hero.sample-a-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 16px;
  align-items: stretch;
  min-height: 230px;
  padding: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 32px;
  border: 1px solid #dbeafe;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .06);
  outline: 0;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.profile-user-page .profile-sample-a-live .profile-pro-hero.sample-a-hero:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 52%, #dbeafe 100%);
  box-shadow: 0 20px 46px rgba(37, 99, 235, .13);
}

.profile-user-page .profile-sample-a-live .profile-pro-hero.sample-a-hero::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 31px;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.74) 42%, rgba(191,219,254,.42) 50%, transparent 62%);
  opacity: .65;
  pointer-events: none;
}

.profile-user-page .profile-sample-a-live .profile-pro-hero.sample-a-hero::after {
  content: "";
  position: absolute;
  inset: auto 28px 18px 28px;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .22), transparent);
  opacity: .9;
}

.profile-user-page .profile-sample-a-live .sample-a-hero-orbit {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.profile-user-page .profile-sample-a-live .sample-a-hero-orbit span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: #2563eb;
  opacity: .045;
}

.profile-user-page .profile-sample-a-live .sample-a-hero-orbit span:nth-child(1) { width: 190px; height: 190px; right: -68px; top: -76px; }
.profile-user-page .profile-sample-a-live .sample-a-hero-orbit span:nth-child(2) { width: 130px; height: 130px; left: -54px; bottom: -62px; background: #16a34a; }
.profile-user-page .profile-sample-a-live .sample-a-hero-orbit span:nth-child(3) { width: 76px; height: 76px; left: 50%; top: 22px; background: #ea580c; }
.profile-user-page .profile-sample-a-live .sample-a-hero-orbit span:nth-child(4) { width: 54px; height: 54px; right: 38%; bottom: 24px; background: #8b5cf6; }

.profile-user-page .profile-sample-a-live .sample-a-hero-main,
.profile-user-page .profile-sample-a-live .sample-a-hero-side {
  position: relative;
  z-index: 1;
}

.profile-user-page .profile-sample-a-live .sample-a-hero-main {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-width: 0;
  align-self: stretch;
  min-height: 176px;
  padding: 24px 32px;
  border: 1px solid #dbeafe;
  border-radius: var(--cloud-radius);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eff6ff 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.profile-user-page .profile-sample-a-live .sample-a-avatar-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-user-page .profile-sample-a-live .profile-pro-avatar {
  width: 98px;
  height: 98px;
  border: 5px solid #fff;
  border-radius: 26px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  box-shadow: 0 18px 34px rgba(37, 99, 235, .20);
}

.profile-user-page .profile-sample-a-live .profile-pro-avatar span {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  text-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.profile-user-page .profile-sample-a-live .profile-pro-avatar i {
  right: 9px;
  bottom: 10px;
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .12);
}

.profile-user-page .profile-sample-a-live .sample-a-hero-copy {
  display: grid;
  align-content: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-user-page .profile-sample-a-live .sample-a-profile-line {
  display: block;
  min-width: 0;
}

.profile-user-page .profile-sample-a-live .sample-a-hero-copy h2 {
  min-width: 0;
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-user-page .profile-sample-a-live .sample-a-email-line {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  overflow-wrap: anywhere;
}

.profile-user-page .profile-sample-a-live .sample-a-email-line span {
  min-width: 0;
  font: inherit;
  letter-spacing: normal;
  word-spacing: normal;
}

.profile-user-page .profile-sample-a-live .profile-pro-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  margin-top: 2px;
}

.profile-user-page .profile-sample-a-live .profile-pro-badges span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .16);
  transition: transform .22s ease, box-shadow .22s ease;
}

.profile-user-page .profile-sample-a-live .profile-pro-badges span:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
}

.profile-user-page .profile-sample-a-live .profile-pro-badges span.green {
  border-color: #bbf7d0;
  background: linear-gradient(135deg, #34d399, #16a34a);
}

.profile-user-page .profile-sample-a-live .profile-pro-badges span.blue {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
}

.profile-user-page .profile-sample-a-live .profile-pro-badges span.orange {
  border-color: #fed7aa;
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.profile-user-page .profile-sample-a-live .profile-pro-badges span.purple {
  border-color: #e9d5ff;
  background: linear-gradient(135deg, #c084fc, #8b5cf6);
}

.profile-user-page .profile-sample-a-live .sample-a-hero-side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
}

.profile-user-page .profile-sample-a-live .sample-a-balance-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid #bbf7d0;
  border-radius: var(--cloud-radius);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #ecfdf5 100%);
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.profile-user-page .profile-sample-a-live .sample-a-balance-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -46px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(14, 165, 233, .11);
}

.profile-user-page .profile-sample-a-live .sample-a-balance-top,
.profile-user-page .profile-sample-a-live .sample-a-balance-card strong {
  position: relative;
  z-index: 1;
}

.profile-user-page .profile-sample-a-live .sample-a-balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-user-page .profile-sample-a-live .sample-a-balance-top span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-user-page .profile-sample-a-live .sample-a-balance-top i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--cloud-radius-sm);
  background: linear-gradient(135deg, #34d399, #16a34a);
  color: #fff;
  font-size: 18px;
}

.profile-user-page .profile-sample-a-live .sample-a-balance-card strong {
  color: #0f172a;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.06em;
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn,
.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.secondary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  white-space: nowrap;
  line-height: 1;
  transform: none !important;
  transition: border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255,255,255,.34), transparent 42%, rgba(255,255,255,.22));
  opacity: 0;
  transition: opacity .2s ease;
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn i {
  transition: transform .2s ease;
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn:hover,
.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn:focus-visible {
  display: inline-flex !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  transform: none !important;
  text-decoration: none;
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn:hover::before,
.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn:focus-visible::before {
  opacity: 1;
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn:hover i,
.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn:focus-visible i {
  transform: translateY(-1px) scale(1.08);
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.success {
  border-color: #bbf7d0;
  background: linear-gradient(135deg, #34d399, #16a34a);
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 163, 74, .16);
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.success:hover,
.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.success:focus-visible {
  border-color: #86efac;
  background: linear-gradient(135deg, #22c55e, #059669);
  color: #fff;
  box-shadow: 0 16px 30px rgba(22, 163, 74, .26);
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.secondary {
  border-color: #7dd3fc !important;
  background: linear-gradient(135deg, #dbeafe 0%, #bae6fd 52%, #bfdbfe 100%) !important;
  color: #075985 !important;
  box-shadow: 0 8px 18px rgba(14, 165, 233, .14);
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.secondary[for="voucher-popup-toggle"] {
  border-color: #7dd3fc !important;
  background: linear-gradient(135deg, #dbeafe 0%, #bae6fd 52%, #bfdbfe 100%) !important;
  color: #075985 !important;
  box-shadow: 0 8px 18px rgba(14, 165, 233, .14);
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.secondary[for="card-popup-toggle"] {
  border-color: #c4b5fd !important;
  background: linear-gradient(135deg, #f3e8ff 0%, #ddd6fe 52%, #e9d5ff 100%) !important;
  color: #5b21b6 !important;
  box-shadow: 0 8px 18px rgba(124, 58, 237, .14);
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.secondary:hover,
.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.secondary:focus-visible {
  display: inline-flex !important;
  margin: 0 !important;
  border-color: #93c5fd;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #fff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, .22);
}

.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.secondary[for="card-popup-toggle"]:hover,
.profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.secondary[for="card-popup-toggle"]:focus-visible {
  border-color: #c4b5fd;
  background: linear-gradient(135deg, #c084fc, #8b5cf6);
  color: #fff;
  box-shadow: 0 16px 30px rgba(124, 58, 237, .22);
}

.profile-user-page .profile-sample-a-live .sample-a-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.profile-user-page .profile-sample-a-live .profile-pro-metric {
  min-height: 92px;
  padding: 12px;
  border-radius: var(--cloud-radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.profile-user-page .profile-sample-a-live .profile-pro-metric i {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 16px;
}

.profile-user-page .profile-sample-a-live .profile-pro-metric span {
  font-size: 11px;
}

.profile-user-page .profile-sample-a-live .profile-pro-metric b {
  font-size: 16px;
}

.profile-user-page .profile-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 14px;
  align-items: start;
}

.profile-user-page .profile-live-left-col {
  display: grid;
  gap: 16px;
}

.profile-user-page .profile-sample-a-live .profile-pro-card {
  padding: 16px;
  border-radius: var(--cloud-radius);
  border-color: #dbeafe;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.profile-user-page .profile-sample-a-live .profile-pro-section-head {
  margin-bottom: 12px;
}

.profile-user-page .profile-sample-a-live .profile-pro-section-head > div {
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 10px;
}

.profile-user-page .profile-sample-a-live .profile-pro-section-head > div > span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.profile-user-page .profile-sample-a-live .profile-pro-section-head h2 {
  font-size: 16px;
}

.profile-user-page .profile-sample-a-live .profile-pro-section-head p {
  font-size: 12px;
}

.profile-user-page .profile-sample-a-live .profile-pro-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-user-page .profile-sample-a-live .profile-pro-action {
  min-height: 58px;
  padding: 10px;
  border-radius: 12px;
  gap: 9px;
}

.profile-user-page .profile-sample-a-live .profile-pro-action i {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.profile-user-page .profile-sample-a-live .profile-pro-action span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.profile-user-page .profile-sample-a-live .profile-pro-action b {
  color: #0f172a;
  font-size: 13px;
}

.profile-user-page .profile-sample-a-live .profile-pro-action small {
  display: block;
  color: var(--cloud-muted);
  font-size: 11px;
  line-height: 1.25;
}

.profile-user-page .profile-sample-a-live .profile-pro-rentals,
.profile-user-page .profile-sample-a-live .profile-pro-activity {
  gap: 8px;
}

.profile-user-page .profile-sample-a-live .profile-pro-rentals .profile-rental-row,
.profile-user-page .profile-sample-a-live .profile-activity-row {
  padding: 10px;
  border-radius: 12px;
}

.profile-user-page .profile-sample-a-live .profile-rental-actions {
  gap: 5px;
}

.profile-user-page .profile-sample-a-live .profile-rental-icon-btn {
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--cloud-brand);
  border-radius: 10px;
  background: var(--cloud-brand);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .16);
}

.profile-user-page .profile-sample-a-live .profile-rental-icon-btn.secondary {
  border-color: #dbeafe;
  background: #fff;
  color: var(--cloud-brand);
}

.profile-user-page .profile-sample-a-live .profile-rental-icon-btn.view-locked {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #ea580c;
}

.profile-user-page .profile-sample-a-live .profile-rental-icon-btn i {
  font-size: 14px;
}

@media (max-width: 1250px) {
  .profile-user-page .profile-sample-a-live .profile-pro-hero.sample-a-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .profile-user-page .profile-sample-a-live .sample-a-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-user-page .profile-live-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .profile-user-page .profile-sample-a-live .sample-a-hero-main {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 166px;
    padding: 20px;
  }

  .profile-user-page .profile-sample-a-live .sample-a-avatar-card {
    min-height: auto;
    justify-items: center;
    text-align: center;
  }

}

@media (max-width: 640px) {
  .profile-user-page .profile-sample-a-live {
    gap: 10px;
  }

  .profile-user-page .profile-sample-a-live .profile-pro-hero.sample-a-hero,
  .profile-user-page .profile-sample-a-live .profile-pro-card {
    padding: 12px;
    border-radius: 24px;
  }

  .profile-user-page .profile-sample-a-live .sample-a-hero-main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: auto;
    padding: 16px;
  }

  .profile-user-page .profile-sample-a-live .sample-a-profile-line,
  .profile-user-page .profile-sample-a-live .sample-a-email-line,
  .profile-user-page .profile-sample-a-live .profile-pro-badges {
    justify-content: center;
  }

  .profile-user-page .profile-sample-a-live .sample-a-avatar-card {
    padding: 0;
    border-radius: 0;
  }

  .profile-user-page .profile-sample-a-live .profile-pro-avatar {
    width: 78px;
    height: 78px;
    border-radius: 21px;
  }

  .profile-user-page .profile-sample-a-live .profile-pro-avatar span {
    font-size: 30px;
  }

  .profile-user-page .profile-sample-a-live .sample-a-hero-copy h2 {
    font-size: 24px;
  }

  .profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions {
    grid-template-columns: 1fr;
  }

  .profile-user-page .profile-sample-a-live .sample-a-metrics,
  .profile-user-page .profile-sample-a-live .profile-pro-actions {
    grid-template-columns: 1fr;
  }

  .profile-user-page .profile-sample-a-live .sample-a-balance-card {
    align-content: center;
    min-height: 142px;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
  }

  .profile-user-page .profile-sample-a-live .sample-a-balance-card::after {
    right: -26px;
    top: -32px;
    width: 112px;
    height: 112px;
    opacity: .78;
  }

  .profile-user-page .profile-sample-a-live .sample-a-balance-top span {
    font-size: 11px;
    letter-spacing: .065em;
  }

  .profile-user-page .profile-sample-a-live .sample-a-balance-top i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 16px;
  }

  .profile-user-page .profile-sample-a-live .sample-a-balance-card strong {
    font-size: 30px;
    letter-spacing: -.045em;
  }

  .profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn,
  .profile-user-page .profile-sample-a-live .profile-pro-wallet-actions.sample-a-quick-actions .btn.secondary {
    width: 100%;
  }
}

@media (min-width: 500px) and (max-width: 640px) {
  .profile-user-page .profile-sample-a-live .sample-a-hero-main {
    grid-template-columns: 92px minmax(0, 1fr);
    justify-items: stretch;
    text-align: left;
    min-height: 166px;
    padding: 20px;
  }

  .profile-user-page .profile-sample-a-live .sample-a-profile-line,
  .profile-user-page .profile-sample-a-live .sample-a-email-line,
  .profile-user-page .profile-sample-a-live .profile-pro-badges {
    justify-content: flex-start;
  }
}
