/* Dedicated Student Verification Guide Page — Profile+ Design System */

.guide-page {
  background: #fff;
}

.guide-page .workspace {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(920px 380px at 80% -4%, rgba(66, 133, 244, 0.045), rgba(139, 92, 246, 0.02) 48%, transparent 74%),
    #fff !important;
}

.guide-page .topbar {
  border-bottom: 0;
}

.guide-container {
  width: 100%;
  min-width: 0;
  max-width: 1120px;
  margin-inline: auto;
  padding: 46px 44px 64px;
}

.guide-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 560;
  color: #1d4ed8;
  padding: 6px 13px 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(53, 110, 230, 0.16);
  background: #f4f8ff;
  margin-bottom: 18px;
  transition: background 0.16s, border-color 0.16s;
}

.guide-back-link:hover {
  background: #e8f0ff;
  border-color: rgba(53, 110, 230, 0.28);
}

.guide-back-link svg {
  width: 15px;
  height: 15px;
}

.guide-hero h1 {
  margin: 0 0 10px;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.036em;
  line-height: 1.15;
  color: #111317;
}

.guide-hero-desc {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4b5563;
  max-width: 740px;
}

/* Sticky Anchor Quick-Jump Index */
.guide-toc-wrap {
  position: sticky;
  top: 0;
  z-index: 15;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid #f0f2f5;
}

.guide-toc {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.guide-toc::-webkit-scrollbar {
  display: none;
}

.guide-toc-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid #e5e8ec;
  background: #fff;
  color: #3c4043;
  font-size: 12.5px;
  font-weight: 550;
  white-space: nowrap;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}

.guide-toc-pill:hover {
  background: #fafbfd;
  border-color: #cfd5dc;
  color: #111317;
}

.guide-toc-pill.is-active {
  background: #eef4ff;
  border-color: rgba(53, 110, 230, 0.34);
  color: #1d4ed8;
  font-weight: 630;
}

.guide-toc-pill img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

/* 7 Verification Sections */
.guide-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
}

.guide-section {
  scroll-margin-top: 76px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 26px 28px;
  border-radius: 22px;
  border: 1px solid rgba(17, 19, 23, 0.085);
  background: #fff;
  box-shadow: 0 2px 12px rgba(17, 19, 23, 0.025);
  transition: border-color 0.24s, box-shadow 0.24s;
}

.guide-section.is-target {
  border-color: rgba(53, 110, 230, 0.45);
  box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.11), 0 14px 32px rgba(17, 19, 23, 0.06);
}

.guide-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f2f4f7;
}

.guide-sec-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.guide-sec-logo {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
  border-radius: 10px;
}

.guide-sec-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.guide-sec-brand h2 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.02em;
  color: #111317;
}

.guide-sec-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-sec-count {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-variant-numeric: tabular-nums;
}

.guide-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #528bff 0%, #356ee6 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
  box-shadow: 0 6px 16px rgba(53, 110, 230, 0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}

.guide-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(53, 110, 230, 0.28);
}

.guide-sec-summary {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.66;
  color: #374151;
}

.guide-sec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.guide-left-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.guide-info-block {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fafbfd;
  border: 1px solid #eef1f5;
}

.guide-info-block h3 {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 660;
  color: #111317;
}

.guide-info-block p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: #4b5563;
}

/* Custom circular numbered step badges */
.guide-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step-num;
  display: grid;
  gap: 11px;
}

.guide-steps-list li {
  counter-increment: step-num;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.6;
  color: #1f2937;
}

.guide-steps-list li::before {
  content: counter(step-num);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.guide-caveat {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid rgba(180, 83, 9, 0.12);
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.6;
}

.guide-caveat strong {
  display: block;
  margin-bottom: 4px;
  color: #b45309;
}

@media (max-width: 900px) {
  .guide-sec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .guide-container {
    padding: 20px 18px 44px;
  }
  .guide-hero h1 {
    font-size: 24px;
  }
  .guide-section {
    padding: 18px 16px;
    border-radius: 18px;
    scroll-margin-top: 66px;
  }
  .guide-sec-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .guide-btn-primary {
    width: 100%;
    justify-content: center;
  }
}
