/* ═══════════════════════════════════════════════════════════
   VEXTALEARN — Instructor Application page chrome.
   Page-specific stylesheet, loaded only on
   app/templates/main/become_instructor.html. Field styling
   (.vx-form-*, .vx-primary-button) is shared with auth.css —
   this file only adds the sectioned "application portal" layout
   around those shared fields.
   ═══════════════════════════════════════════════════════════ */

.vx-application-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 100px;
}

.vx-application-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 8px 40px 40px;
}

.vx-application-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.vx-application-section:last-of-type { border-bottom: none; }

.vx-application-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.vx-application-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vx-application-section-header h6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin: 6px 0 2px;
}

.vx-application-section-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.vx-application-footer { padding-top: 28px; }

/* ─── Success state ──────────────────────────────────────── */
.vx-success-state {
  text-align: center;
  padding: 48px 8px 24px;
}

.vx-success-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(16,185,129,.12);
  color: var(--success);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vx-success-pop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes vx-success-pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.vx-success-state h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.vx-success-state p {
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto 28px;
}

.vx-success-state .vx-primary-button {
  max-width: 260px;
  margin: 0 auto;
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .vx-application-card { padding: 4px 22px 28px; border-radius: 20px; }
  .vx-application-section { padding: 26px 0; }
  .vx-application-section-header { gap: 12px; }
  .vx-application-step-num { width: 34px; height: 34px; font-size: 0.85rem; border-radius: 10px; }
}
