/* ==========================================================
   Ultimate Member – SummerTech Profile CSS
   ========================================================== */

/* Hide default UM header/menu in VIEW */
.st-um-view .um-header,
.st-um-view .um-profile-header,
.st-um-view .um-profile-navbar,
.st-um-view .um-profile-menu {
  display: none !important;
}

/* In EDIT mode, hide gear + dropdown only */
.st-um-edit .um-profile-edit,
.st-um-edit .um-profile-edit + .um-dropdown {
  display: none !important;
}

/* Basic tokens */
.um-summertech-profile {
  --st-max: 720px;
  --st-radius-big: 28px;
  --st-radius-card: 22px;
  --st-radius-pill: 999px;
  --st-shadow-card: 0 18px 40px rgba(15, 23, 42, 0.08);
  --st-border-soft: #e5e7eb;
  --st-bg-card: #ffffff;
  --st-ink: #0f172a;
  --st-text: #111827;
  --st-muted: #6b7280;

  --st-blue: #1f6feb;
  --st-blue2: #2383f6;
  --st-cyan: #26baf7;
  --st-green: #34d387;
  --st-gold: #f5c453;
}

/* Remove UM default box background */
.um-summertech-profile .um-profile-body {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Page wrapper */
.um-summertech-profile .st-container {
  max-width: var(--st-max);
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* ================= HEADER ================= */

.um-summertech-profile .st-header {
  margin-bottom: 28px;
}

.um-summertech-profile .st-header-main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.um-summertech-profile .st-name {
  margin: 0;
  font-size: 45px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--st-ink);
  letter-spacing: -0.03em;
}

.um-summertech-profile .st-tagline {
  margin: 8px 0 0;
  font-size: 18px;
	font-weight: 600;
  color: var(--st-ink);
}

.um-summertech-profile .st-hero-bio {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--st-text);
  line-height: 1.5;
}

/* Hero socials (under name/tagline) */
.um-summertech-profile .st-hero-socials {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.um-summertech-profile .st-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #306eb6;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
}

/* Avatar block */
.um-summertech-profile .st-head-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.um-summertech-profile .st-avatar-wrap.st-avatar-large {
  width: 260px;
  aspect-ratio: 1 / 1;
  border-radius: 40px;
  overflow: hidden;
  background: #e5e7eb;
}

.um-summertech-profile .st-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Certified badge – only when APPROVED */
.um-summertech-profile .st-cert-badge {
  margin-top: 10px;
  padding: 10px 26px;
  border-radius: var(--st-radius-pill);
  background: #fbbf24;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(251, 191, 36, 0.45);
}

/* Status chip – Pending */
.um-summertech-profile .st-status-chip {
  margin-top: 10px;
  padding: 8px 22px;
  border-radius: var(--st-radius-pill);
  font-size: 14px;
  font-weight: 600;
}

.um-summertech-profile .st-status-chip--pending {
  background: #fef3c7;
  border: 1px solid #facc15;
  color: #92400e;
}

/* ================ GENERIC SECTION WRAPPER ================ */

.um-summertech-profile .st-section {
  background: var(--st-bg-card);
  border-radius: var(--st-radius-card);
  box-shadow: var(--st-shadow-card);
  padding: 20px;
  margin-bottom: 22px;
}

.um-summertech-profile .st-h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--st-text);
}

.um-summertech-profile .st-section-body {
  font-size: 15px;
  color: var(--st-text);
}

/* ================ SUBJECTS I TEACH (GRADIENT) ================ */

.um-summertech-profile #subjects-teach.st-section {
  border-radius: var(--st-radius-big);
  padding: 22px;
  background: linear-gradient(
    120deg,
    var(--st-blue) 0%,
    var(--st-blue2) 26%,
    var(--st-cyan) 52%,
    var(--st-green) 78%,
    var(--st-gold) 100%
  );
  color: #fff;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.25);
}

.um-summertech-profile #subjects-teach .st-h2 {
  color: #fff;
  margin-bottom: 10px;
}

.um-summertech-profile .st-subjects-pills {
  margin-top: 4px;
}

/* Pills */
.um-summertech-profile .st-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.um-summertech-profile .st-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--st-radius-pill);
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

/* ================ AP TUTORING ================ */

.um-summertech-profile #ap-tutoring.st-section {
  background: #f9fafb;
}

.um-summertech-profile .st-ap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.um-summertech-profile .st-ap-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--st-border-soft);
  padding: 16px 16px 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.um-summertech-profile .st-ap-card--full {
  grid-column: 1 / -1;
}

.um-summertech-profile .st-ap-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--st-text);
}

.um-summertech-profile .st-ap-list {
  font-size: 14px;
}

/* AP course capsules – less vertical padding */
.um-summertech-profile .st-ap-list .st-pill {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #111827;
  padding: 5px 12px;
  margin: 0 8px 8px 0;
}

/* ================ HOURLY RATE BAR ================ */

.um-summertech-profile .st-hourly-wrap {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.um-summertech-profile .st-hourly-bar {
  border-radius: var(--st-radius-big);
  padding: 18px 20px;
  background: linear-gradient(
    120deg,
    var(--st-blue) 0%,
    var(--st-blue2) 26%,
    var(--st-cyan) 52%,
    var(--st-green) 78%,
    var(--st-gold) 100%
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.25);
}

.um-summertech-profile .st-hourly-left {
  flex: 0 0 auto;
}

.um-summertech-profile .st-hourly-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.um-summertech-profile .st-hourly-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Yellow pill with rate */
.um-summertech-profile .st-rate-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--st-radius-pill);
  background: #facc15;
  color: #111827;
  font-size: 17px;
  font-weight: 600;
}

/* White CTA buttons */
.um-summertech-profile .st-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--st-radius-pill);
  background: #ffffff;
  color: #1e40af;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
}

.um-summertech-profile .st-btn-white.st-btn-ask {
  color: #111827;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

/* ================ BIO ================ */

.um-summertech-profile #bio.st-section {
  background: #ffffff;
}

.um-summertech-profile .st-prose p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--st-text);
}

/* Bio socials – left aligned */
.um-summertech-profile .st-bio-socials {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ================ ACHIEVEMENTS ================ */

.um-summertech-profile #achievements.st-section p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--st-text);
}

/* ================ RESUME BUTTON ================ */

.um-summertech-profile #resume.st-section {
  text-align: left;
}

.um-summertech-profile .st-resume {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Reuse st-btn style for resume */
.um-summertech-profile .st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--st-radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.um-summertech-profile .st-btn-resume {
  background: #111827;
  color: #fff;
}

.um-summertech-profile .st-muted {
  font-size: 14px;
  color: var(--st-muted);
}

/* ================ RESPONSIVE ================ */

@media (max-width: 820px) {
  .um-summertech-profile .st-container {
    padding: 24px 12px 36px;
  }

  .um-summertech-profile .st-header-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .um-summertech-profile .st-head-right {
    margin-top: 10px;
  }

  .um-summertech-profile .st-hourly-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .um-summertech-profile .st-hourly-right {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .um-summertech-profile .st-ap-grid {
    grid-template-columns: 1fr;
  }

  .um-summertech-profile .st-avatar-wrap.st-avatar-large {
    width: 220px;
    border-radius: 32px;
  }

  .um-summertech-profile .st-name {
    font-size: 28px;
  }
}

/* ================ PROFILE INCOMPLETE WARNING ================ */

.um-summertech-profile .st-profile-warning {
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #facc15;
  background: #fef9c3;
  color: #92400e;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.um-summertech-profile .st-profile-warning-text strong {
  display: block;
  font-weight: 700;
}

.um-summertech-profile .st-profile-warning-text span {
  display: block;
  margin-top: 2px;
}

.um-summertech-profile .st-profile-warning-link {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: #facc15;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.um-summertech-profile .st-profile-warning-link:hover {
  background: #eab308;
}
/* ================ PROFILE INCOMPLETE / COMPLETE WARNING ================ */

.um-summertech-profile .st-profile-warning {
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #facc15;
  background: #fef9c3;
  color: #92400e;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.um-summertech-profile .st-profile-warning-text strong {
  display: block;
  font-weight: 700;
}

.um-summertech-profile .st-profile-warning-text span {
  display: block;
  margin-top: 2px;
}

.um-summertech-profile .st-profile-warning-link {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: #facc15;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Green variant when profile is complete */
.um-summertech-profile .st-profile-warning--complete {
  border-color: #22c55e;
  background: #dcfce7;
  color: #166534;
}

.um-summertech-profile .st-profile-warning--complete .st-profile-warning-link {
  background: #22c55e;
  color: #ffffff;
}

.um-summertech-profile .st-profile-warning--complete .st-profile-warning-link:hover {
  background: #16a34a;
}

/* Hover for yellow (incomplete) stays same base color tweak */
.um-summertech-profile .st-profile-warning--incomplete .st-profile-warning-link:hover,
.um-summertech-profile .st-profile-warning:not(.st-profile-warning--complete) .st-profile-warning-link:hover {
  background: #eab308;
}
