/* ============================================================
  Profile — Header banner start
  ============================================================ */
.sw-prof-banner {
  --bs-card-spacer-y: 20px;
  --bs-card-spacer-x: 32px;
  --bs-card-border-color: #ece9e0;
  --bs-card-border-radius: 20px;
  margin-bottom: 24px;
}

/* Top gradient strip */
.sw-prof-banner__strip {
  height: 94px;
  background: linear-gradient(106.7deg, #6e5ef7 11.54%, #291445 88.46%);
}

/* Body row: avatar + text + actions */
.sw-prof-banner__body {
  align-items: center;
  gap: 20px;
}

.sw-prof-banner__text {
  flex: 1;
  min-width: 0;
}
.sw-prof-banner__name-row {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sw-prof-banner__name {
  font-size: 22px;
  letter-spacing: -0.4px;
}

.sw-tier-pill {
  --bs-badge-padding-y: 0px;
  --bs-badge-padding-x: 8px;
  --bs-badge-font-size: 10px;
  --bs-badge-font-weight: 600;
  --bs-badge-color: #6e5df8;
  height: 18px;
  line-height: inherit;
  letter-spacing: 0.6px;
  background: #f5f4fe;
}

.sw-verified-chip {
  --bs-badge-padding-y: 0px;
  --bs-badge-padding-x: 0px;
  --bs-badge-color: #fff;
  width: 22px;
  height: 22px;
  background: #059669;
}
.sw-verified-chip svg {
  width: 14px;
  height: 14px;
}

.sw-prof-banner__handle {
  font-size: 13px;
  color: #6b6f7b;
  margin-top: 6px;
}

.sw-prof-banner__meta {
  font-size: 12px;
}
.sw-prof-banner__actions {
  gap: 10px;
}
.sw-btn-share {
  --bs-btn-padding-y: 0px;
  --bs-btn-padding-x: 16px;
  --bs-btn-font-size: 13px;
  --bs-btn-font-weight: 600;
  --bs-btn-color: #0f1020;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #ece9e0;
  --bs-btn-border-radius: 10px;
  --bs-btn-hover-color: #0f1020;
  --bs-btn-hover-bg: #f9fafb;
  --bs-btn-hover-border-color: #ece9e0;
  --bs-btn-active-color: #0f1020;
  --bs-btn-active-bg: #f9fafb;
  --bs-btn-active-border-color: #ece9e0;
  height: 38px;
}
.sw-btn-share svg {
  width: 16px;
  height: 16px;
}

.sw-btn-edit {
  --bs-btn-padding-y: 0px;
  --bs-btn-padding-x: 16px;
  --bs-btn-font-size: 13px;
  --bs-btn-font-weight: 600;
  --bs-btn-border-width: 0px;
  --bs-btn-border-radius: 10px;
  height: 38px;
}
.sw-btn-edit svg {
  width: 16px;
  height: 16px;
}
/* END Profile header */

/* ============================================================
    Profile — Card chrome + read-only field rows
============================================================ */
.sw-prof-card {
  --bs-card-spacer-y: 24px;
  --bs-card-spacer-x: 28px;
  --bs-card-border-color: #ece9e0;
  --bs-card-border-radius: 16px;
  margin-bottom: 16px;
}
.sw-prof-card__title {
  line-height: 24px;
}
.sw-prof-card__subtitle {
  font-size: 12px;
  line-height: 16px;
  color: #6b7280;
}

.sw-pf-row {
  gap: 6px;
}
.sw-pf-label {
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #6b7280;
}
.sw-pf-input {
  align-items: center;
  height: 44px;
  padding: 0 14px;
  background: #f3f4f6;
  border: 1px solid #ece9e0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #0f1020;
}
.sw-pf-input--bio {
  padding: 12px 14px;
  line-height: 20px;
  font-size: 13px;
  color: #6b7280;
}
/* END Field rows */

/* ============================================================
  START Profile — Content niches pills
============================================================ */
.sw-niche-pill {
  --bs-btn-padding-y: 8px;
  --bs-btn-padding-x: 14px;
  --bs-btn-font-size: 12px;
  --bs-btn-font-weight: 500;
  --bs-btn-color: #1A1232;
  --bs-btn-bg: #F3F4F6;
  --bs-btn-border-width: 0px;
  --bs-btn-border-radius: var(--bs-border-radius-pill);
  --bs-btn-hover-color: #1A1232;
  --bs-btn-hover-bg: #e9eaee;
  --bs-btn-active-color: #1A1232;
  --bs-btn-active-bg: #e9eaee;
}
/* .is-active = read-only pills on the profile; .active = the Edit Profile
   modal pills, toggled by Bootstrap (data-bs-toggle="button"). */
.sw-niche-pill.is-active,
.sw-niche-pill.active {
  --bs-btn-color: #FFFFFF;
  --bs-btn-bg: var(--sw-violet);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: var(--sw-violet-600);
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: var(--sw-violet);
}
.sw-niche-pill.is-active:hover,
.sw-niche-pill.active:hover {
  --bs-btn-active-bg: var(--sw-violet-600);
}
/* END Niches */

/* ============================================================
  Profile — Completeness card
============================================================ */
.sw-comp-card {
  --bs-card-spacer-y: 22px;
  --bs-card-spacer-x: 24px;
  --bs-card-bg: #f5f4fe;
  --bs-card-border-width: 0px;
  --bs-card-border-radius: 16px;
}
.sw-comp-card__head-l {
  line-height: 1.3;
}
.sw-comp-card__title {
  line-height: 24px;
  color: #0f1020;
}
.sw-comp-card__subtitle {
  font-size: 12px;
  line-height: 16px;
  color: #6b6f7b;
}
.sw-comp-card__pct {
  font-size: 32px;
  line-height: 40px;
  color: var(--sw-violet);
  letter-spacing: -0.5px;
  line-height: 1;
}
.sw-comp-card__bar {
  --bs-progress-height: 8px;
  --bs-progress-bg: #ffffff;
  --bs-progress-border-radius: var(--bs-border-radius-pill);
  --bs-progress-bar-bg: #6e5df8;
  --bs-progress-bar-transition: none;
}
.sw-comp-card__list {
  list-style: none;
}
.sw-comp-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1a1232;
  font-weight: 500;
  line-height: 16px;
}
/* END Completeness */

/* ============================================================
  START Profile — Audience reach card
============================================================ */
.sw-reach-card {
  --bs-card-spacer-y: 24px;
  --bs-card-spacer-x: 28px;
  --bs-card-border-color: #ece9e0;
  --bs-card-border-radius: 16px;
}
.sw-reach-card__title {
  line-height: 24px;
  margin: 0 0 10px;
}
.sw-reach-row {
  font-size: 12px;
  line-height: 16px;
}

.sw-reach-row__label .small {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #9ca3af;
}
.sw-reach-row__value {
  font-size: 18px;
  line-height: 26px;
}
/* END Audience reach */

/* ============================================================
  START Profile — Achievements list
============================================================ */
.sw-ach-card {
  --bs-card-spacer-y: 24px;
  --bs-card-spacer-x: 28px;
  --bs-card-border-color: #ece9e0;
  --bs-card-border-radius: 16px;
}
.sw-ach-card__title {
  line-height: 24px;
}
.sw-ach-card__count {
  font-size: 12px;
  line-height: 16px;
}

.sw-ach-row {
  gap: 12px;
  padding: 10px 12px;
  background: #f3f4f6;
  border-radius: 12px;
}
.sw-ach-row + .sw-ach-row {
  margin-top: 6px;
}
.sw-ach-row__icon {
  width: 36px;
  height: 36px;
  background: #6e5df8;
  color: #ffffff;
}
.sw-ach-row__icon svg {
  width: 16px;
  height: 16px;
}

.sw-ach-row__icon--locked {
  background: #f3f4f6;
  border: 1px solid #ece9e0;
}

.sw-ach-row__main {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}
.sw-ach-row__title {
  font-size: 12px;
  line-height: 16px;
  color: #1a1232;
}
.sw-ach-row__meta {
  font-size: 12px;
  line-height: 16px;
}
.sw-ach-row.is-locked .sw-ach-row__title {
  color: #9ca3af;
}
/* END Achievements */

/* ============================================================
  START Responsive — Profile
============================================================ */
@media (max-width: 991.98px) {
  .sw-prof-banner__strip {
    height: 80px;
  }
  .sw-prof-banner__body {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .sw-prof-banner__name {
    font-size: 20px;
  }
  .sw-prof-banner__actions {
    width: 100%;
  }
  .sw-btn-share,
  .sw-btn-edit {
    flex: 1;
    justify-content: center;
  }
  .sw-prof-banner {
    --bs-card-spacer-x: 20px;
    margin-bottom: 16px;
  }
}

@media (max-width: 575.98px) {
  .sw-prof-card,
  .sw-comp-card,
  .sw-reach-card,
  .sw-ach-card {
    --bs-card-spacer-y: 20px;
    --bs-card-spacer-x: 20px;
  }
}
/* END: 45. Responsive Profile */
