/* Everything is scoped to .editprofile-ui */
.editprofile-ui {
  position: relative;
  border-radius: 16px;
  background: radial-gradient(
      1200px 600px at 100% -50%,
      rgba(124, 58, 237, 0.07),
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at -10% 120%,
      rgba(79, 70, 229, 0.08),
      transparent 60%
    ),
    #f7f9fc;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.1);
}

.editprofile-ui .card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 30px rgba(15, 23, 42, 0.06);
}

/* ...all the other rules prefixed with .editprofile-ui ... */
.editprofile-ui .card-header {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.06), transparent 55%);
}
.editprofile-ui .progress {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.editprofile-ui .progress .progress-bar {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
}
/* etc */
/* ================================
   Edit Profile — Namespaced UI Skin
   Scope: only inside .editprofile-ui
   ================================ */

.editprofile-ui {
  /* Page-shell spacing & max width feel */
  border-radius: 18px;
  padding: 28px;
  overflow: hidden;
  position: relative;

  /* Layer 1: soft base gradient */
  background: radial-gradient(
      1200px 600px at 110% -20%,
      rgba(124, 58, 237, 0.08),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at -10% 120%,
      rgba(79, 70, 229, 0.08),
      transparent 55%
    ),
    #0f1220; /* deep ink background to make cards pop */
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.2) inset;
}

/* Layer 2: dotted grid pattern (very subtle) */
.editprofile-ui::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  opacity: 0.7;
}

/* Layer 3: glowing orbs for wow-factor */
.editprofile-ui::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -180px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(99, 102, 241, 0.28),
    rgba(124, 58, 237, 0.18) 40%,
    transparent 65%
  );
  filter: blur(10px);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Cards: glassy but readable on dark */
.editprofile-ui .card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.06)
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16), 0 12px 40px rgba(11, 12, 20, 0.3);
  color: #e9ecff;
}

.editprofile-ui .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0) 60%
  );
  padding: 14px 16px;
}

.editprofile-ui .card-header h6 {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #ffffff;
}

/* Inputs: bright, crisp */
.editprofile-ui input[type="text"],
.editprofile-ui input[type="email"],
.editprofile-ui input[type="date"],
.editprofile-ui input[type="file"],
.editprofile-ui select,
.editprofile-ui textarea {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  border-radius: 12px !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.04s ease;
}

.editprofile-ui input:focus,
.editprofile-ui select:focus,
.editprofile-ui textarea:focus {
  border-color: #6d64ff !important;
  box-shadow: 0 0 0 4px rgba(109, 100, 255, 0.28) !important;
  outline: none !important;
}

/* File input: tidy */
.editprofile-ui input[type="file"] {
  padding: 8px 10px;
  cursor: pointer;
}

/* Helper text / labels */
.editprofile-ui label,
.editprofile-ui .form-label {
  font-weight: 700;
  color: #f4f6ff;
}
.editprofile-ui .text-muted {
  color: #c4c9ff !important;
}

/* Buttons */
.editprofile-ui .btn.theme-btn-1,
.editprofile-ui .btn.btn-outline-primary {
  border-radius: 10px;
  letter-spacing: 0.3px;
  font-weight: 800;
}

.editprofile-ui .btn.theme-btn-1 {
  background: linear-gradient(90deg, #6d64ff, #a06af8);
  border: none;
  color: #fff;
  box-shadow: 0 10px 24px rgba(109, 100, 255, 0.32);
}
.editprofile-ui .btn.theme-btn-1:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.editprofile-ui .btn.btn-outline-primary {
  border-color: #8b84ff;
  color: #cfd2ff;
}
.editprofile-ui .btn.btn-outline-primary:hover {
  background: #8b84ff;
  color: #0f1220;
}

/* Progress bar */
.editprofile-ui .progress {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
}
.editprofile-ui .progress .progress-bar {
  background: linear-gradient(90deg, #6d64ff, #a06af8);
  background-size: 200% 100%;
  animation: epSheen 2.5s linear infinite;
}
@keyframes epSheen {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: -200% 50%;
  }
}

/* Status badges & alert chips */
.editprofile-ui .badge {
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}
.editprofile-ui .alert {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eef1ff;
}

/* Hover lift for cards */
.editprofile-ui .card:hover {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16), 0 16px 46px rgba(54, 56, 88, 0.55);
  transition: box-shadow 0.25s ease;
}

/* Sticky summary on desktop */
@media (min-width: 992px) {
  .editprofile-ui .kyc-inline .col-lg-4 > .card {
    position: sticky;
    top: 90px;
  }
}

/* Tight professional gaps */
.editprofile-ui .row.g-3 > [class*="col-"] {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
/* ====== Navbar overlap removed (no sticky toolbar used now) ====== */
.eqx-page.eqx-gradient {
  --nav-height: 84px;
  padding-top: var(--nav-height);
}
#topnav,
.nav-sticky,
.site-navbar {
  z-index: 1020;
}

/* ====== Simple listing header ====== */
.eqx-listing-header {
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* ====== View switch (small, unobtrusive) ====== */
.eqx-view-switch {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
}
.eqx-view-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  color: #0f172a;
  background: #fff;
}
.eqx-view-switch a.active {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.16);
}

/* ====== Hero (kept minimal) ====== */
.eqx-hero {
  padding: 8px 0 4px;
}
.eqx-hero-title {
  font-weight: 800;
  line-height: 1.2;
  margin: 6px 0;
}
.eqx-hero-accent {
  background: linear-gradient(
    90deg,
    #0047ab,
    #007bff
  ); /* EquitEdge blue gradient */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.equitedge-skin {
  --eqx-primary: #013d92;
  --eqx-primary-600: #0f5bd5;
  --eqx-accent: #31acd2;
  --eqx-ink: #0f172a;
  --eqx-muted: #64748b;
  --eqx-chip: #f8fafc;
  --eqx-card: #ffffff;
  --eqx-border: rgba(15, 23, 42, 0.08);
  --eqx-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 12px 28px rgba(2, 6, 23, 0.06);
  --eqx-shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.05),
    0 22px 54px rgba(45, 50, 80, 0.16);
  --eqx-badge-bg: linear-gradient(90deg, #eef7ff, #e8f3ff);
  --eqx-price-bg: linear-gradient(90deg, #e6f7fb, #edf1ff);
  --eqx-progress-track: #eef2f7;
  --eqx-progress-fill: linear-gradient(
    90deg,
    var(--eqx-primary-600),
    var(--eqx-accent)
  );
}

.equitedge-skin .eqx-grid {
  row-gap: 18px;
}

.equitedge-skin .card.card-eqx {
  border: 1px solid var(--eqx-border);
  border-radius: 16px;
  background: var(--eqx-card);
  box-shadow: var(--eqx-shadow);
  transition: box-shadow 0.25s ease, transform 0.12s ease;
}
.equitedge-skin .card.card-eqx:hover {
  transform: translateY(-3px);
  box-shadow: var(--eqx-shadow-hover);
}

.equitedge-skin .eqx-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.equitedge-skin .eqx-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}
.equitedge-skin .card.card-eqx:hover .eqx-img {
  transform: scale(1.06);
}

.equitedge-skin .eqx-chip {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  border: 1px solid var(--eqx-border);
}
.equitedge-skin .eqx-chip.category {
  left: 12px;
  background: var(--eqx-badge-bg);
  color: var(--eqx-ink);
}
.equitedge-skin .eqx-chip.price {
  right: 12px;
  background: var(--eqx-price-bg);
  color: var(--eqx-ink);
}

.equitedge-skin .eqx-ribbon {
  position: absolute;
  top: 12px;
  left: -40px;
  transform: rotate(-12deg);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 48px;
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 10;
}
.equitedge-skin .eqx-ribbon.live {
  background: #16a34a;
}
.equitedge-skin .eqx-ribbon.approved {
  background: var(--eqx-accent);
}
.equitedge-skin .eqx-ribbon.rented {
  background: #f59e0b;
}
.equitedge-skin .eqx-ribbon.default {
  background: #111827;
}
.equitedge-skin .eqx-ribbon-funded {
  top: auto;
  bottom: 12px;
  right: 12px;
  left: auto;
  transform: none;
  background: #426ac7;
  z-index: 11;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 900;
}

.equitedge-skin .eqx-body {
  padding: 14px 14px 16px;
}
.equitedge-skin .eqx-title {
  font-weight: 800;
  color: var(--eqx-ink);
  margin-bottom: 2px;
}
.equitedge-skin .eqx-title a {
  color: inherit;
  text-decoration: none;
}
.equitedge-skin .eqx-title a:hover {
  text-decoration: underline;
}
.equitedge-skin .eqx-sub {
  color: var(--eqx-muted);
}

.equitedge-skin .eqx-meta {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.equitedge-skin .eqx-meta .item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  line-height: 1;
  font-size: 12px;
  border-radius: 999px;
  background: var(--eqx-chip);
  border: 1px solid var(--eqx-border);
  color: var(--eqx-muted);
}

.equitedge-skin .eqx-chips {
  margin-top: 8px;
}
.equitedge-skin .eqx-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--eqx-border);
  color: var(--eqx-ink);
  margin-right: 6px;
}

.equitedge-skin .eqx-progress {
  margin-top: 12px;
}
.equitedge-skin .eqx-progress .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 6px;
}
.equitedge-skin .eqx-progress .label {
  color: var(--eqx-muted);
  font-size: 12px;
}
.equitedge-skin .progress-thin {
  height: 8px;
  background: var(--eqx-progress-track);
  border-radius: 999px;
  overflow: hidden;
}
.equitedge-skin .progress-thin .bar {
  height: 100%;
  background: var(--eqx-progress-fill);
  background-size: 200% 100%;
  animation: eqxSheen 2.1s linear infinite;
  border-radius: 999px;
}
@keyframes eqxSheen {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: -200% 50%;
  }
}

.equitedge-skin .eqx-footer {
  color: var(--eqx-muted);
  font-size: 12px;
  margin-top: 6px;
}
