/* ============================================================
  Profile — Header banner start
  ============================================================ */
.sw-prof-banner {
  background: #fff;
  border: 1px solid #ece9e0;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
}

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

.sw-prof-banner__body {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  flex-wrap: wrap;
}

.sw-prof-banner__photo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.sw-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  background: #f5f4fe;
  color: #6e5df8;
  text-transform: uppercase;
}

.sw-verified-chip {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #059669;
  color: #fff;
}
.sw-verified-chip svg {
  width: 14px;
  height: 14px;
}

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

.sw-prof-banner__meta {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}
.sw-prof-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sw-btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #ece9e0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #0f1020;
  text-decoration: none;
}
.sw-btn-share:hover {
  background: #f9fafb;
  color: #0f1020;
}
.sw-btn-share svg {
  width: 16px;
  height: 16px;
}

.sw-btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  background: var(--sw-violet);
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.sw-btn-edit:hover {
  background: var(--sw-violet-600);
  color: #fff;
}
.sw-btn-edit svg {
  width: 16px;
  height: 16px;
}
/* END Profile header */

.sw-prof-card {
  background: #fff;
  border: 1px solid #ece9e0;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.sw-prof-card__head {
  margin-bottom: 16px;
}
.sw-prof-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #0f1020;
  margin: 0 0 4px;
}
.sw-prof-card__subtitle {
  font-size: 12px;
  line-height: 16px;
  color: #6b7280;
  margin: 0;
}

.sw-pf-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sw-pf-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #6b7280;
}
.sw-pf-input {
  display: flex;
  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;
  width: 100%;
}
.sw-pf-input--bio {
  height: auto;
  align-items: flex-start;
  padding: 12px 14px;
  line-height: 20px;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
}
/* END Field rows */

/* ============================================================
  START Profile — Social handles list
=========================================================== */
.sw-soc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #F3F4F6;
  border-radius: 12px;
}

.sw-soc-row + .sw-soc-row {
  margin-top: 8px;
}

.sw-soc-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.sw-soc-row__main {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}
.sw-soc-row__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #1A1232;
}
.sw-soc-row__handle {
  display: block;
  font-size: 12px;
  line-height: 16px;  
  font-weight: 500;
  color: #9CA3AF;
}

.sw-soc-row__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sw-soc-row__count {
  font-size: 11px;
  font-weight: 500;
  color: #6B6F7B;
}

.sw-soc-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}
.sw-soc-pill--connected {
  background: #D1FAE5;
  color: #047857;
}

.sw-soc-btn {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  background: #6E5DF8;
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
}
.sw-soc-btn:hover {
  background: var(--sw-violet-600);
  color: #fff;
}

.sw-verified-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #D1FAE5;
  font-size: 10px;
  font-weight: 600;
  color: #047857;
  margin-left: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sw-verified-count::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10B981;
}
/* END Social handles */

/* ============================================================
  START Profile — Content niches pills
============================================================ */
.sw-niche-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sw-niche-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #F3F4F6;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #1A1232;
  cursor: pointer;
  text-decoration: none;
}
.sw-niche-pill:hover {
  background: #e9eaee;
}
.sw-niche-pill.is-active {
  background: var(--sw-violet);
  color: #FFFFFF;
}
.sw-niche-pill.is-active:hover {
  background: var(--sw-violet-600);
  color: #FFFFFF;
}
/* END Niches */

/* ============================================================
  Profile — Completeness card
============================================================ */
.sw-comp-card {
  background: #f5f4fe;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.sw-comp-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.sw-comp-card__head-l {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.sw-comp-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #0f1020;
}
.sw-comp-card__subtitle {
  font-size: 12px;
  line-height: 16px;
  color: #6b6f7b;
}
.sw-comp-card__pct {
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--sw-violet);
  letter-spacing: -0.5px;
  line-height: 1;
}
.sw-comp-card__bar {
  height: 8px;
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.sw-comp-card__bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #6e5df8;
}
.sw-comp-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sw-comp-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1a1232;
  font-weight: 500;
  line-height: 16px;
}

.sw-comp-card__steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.sw-comp-card__steps-label {
  font-size: 12px;
  font-weight: 500;
  color: #6b6f7b;
}
.sw-comp-card__steps-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  color: #b45309;
  background: #fef3c7;
  white-space: nowrap;
}

.sw-comp-card__add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #ece9fb;
  border-radius: 12px;
}
.sw-comp-card__add-l {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sw-comp-card__add-icon {
  color: var(--sw-violet);
  flex-shrink: 0;
}
.sw-comp-card__add-text {
  font-size: 13px;
  font-weight: 600;
  color: #0f1020;
}
.sw-comp-card__add-btn {
  flex-shrink: 0;
  border: none;
  background: var(--sw-violet);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
}
.sw-comp-card__add-btn:hover {
  background: #5d4ce0;
}
/* END Completeness */

/* ============================================================
  START Profile — Audience reach card
============================================================ */
.sw-reach-card {
  background: #fff;
  border: 1px solid #ece9e0;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.sw-reach-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #0f1020;
  margin: 0 0 10px;
}
.sw-reach-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.sw-reach-row__label {
  display: flex;
  flex-direction: column;
  color: #1a1232;
}
.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;
  color: #1a1232;
  font-weight: 600;
}
/* END Audience reach */

/* ============================================================
  START Profile — Achievements list
============================================================ */
.sw-ach-card {
  background: #fff;
  border: 1px solid #ece9e0;
  border-radius: 16px;
  padding: 24px 28px;
}
.sw-ach-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.sw-ach-card__title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #1a1232;
}
.sw-ach-card__count {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #9ca3af;
}

.sw-ach-row {
  display: flex;
  align-items: center;
  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;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6e5df8;
  color: #ffffff;
  flex-shrink: 0;
}
.sw-ach-row__icon svg {
  width: 16px;
  height: 16px;
}

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

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

/* ============================================================
  START Responsive — Profile
============================================================ */
@media (max-width: 991px) {
  .sw-prof-banner__strip {
    height: 80px;
  }
  .sw-prof-banner__photo {
    width: 80px;
    height: 80px;
    margin-top: -60px;
  }
  .sw-prof-banner__body {
    gap: 12px;
    padding: 20px;
    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 {
    margin-bottom: 16px;
  }
  
  .sw-comp-card__head {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 12px;
  }
  .sw-comp-card__pct {
    font-size: 40px;
    line-height: 1;
  }

  .sw-app-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .sw-app-footer__links {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .sw-prof-card {
    padding: 20px;
  }
  .sw-comp-card {
    padding: 20px;
  }
  .sw-reach-card {
    padding: 20px;
  }
  .sw-ach-card {
    padding: 20px;
  }
  .sw-soc-row__meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
}
/* END: 45. Responsive Profile */
