/* ==========================================================================
   resume-next-steps.html — «Создание резюме для отклика» (мобильный мастер)
   Figma node 6:2914 ("сцена 5")
   ========================================================================== */

.wizard-body { background: #fff; }

.wizard-sheet { padding: 3rem 0 4rem; }

.wizard-sheet__head { text-align: center; margin-bottom: 2.5rem; }

.wizard-sheet__head h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ri-ink);
  margin: 0 0 .5rem;
}

.wizard-sheet__head > p {
  font-size: 1rem;
  color: var(--ri-text-mute-2);
  margin: 0 0 1.8rem;
}

/* ---------- Progress stepper ---------- */

.wizard-progress {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.wizard-progress li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: #b7b9c0;
}

.wizard-progress li span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-progress li span img { width: 16px; height: auto; }

.wizard-progress li.is-active { color: var(--ri-ink); font-weight: 500; }
.wizard-progress li.is-active span { background: #fbe9d4; }
.wizard-progress li.is-done { color: #8f9199; }

.wizard-progress li:not(:last-child)::after {
  content: "";
  width: 34px;
  height: 1px;
  background: #e4e5e9;
  margin-left: 1rem;
}

/* ---------- Step tiles ---------- */

.wizard-steps { margin-bottom: 2.5rem; }

.wizard-step__label {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.wizard-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ri-gold);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wizard-step__label h2 { font-size: .98rem; font-weight: 500; color: #35363a; margin: 0; }
.wizard-step__label p { font-size: .76rem; color: #a3a5ad; margin: 0; }

/* ---------- Phone mockup ---------- */

.rw-phone {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e7e8eb;
  border-radius: 28px;
  box-shadow: 0 18px 40px -22px rgba(20, 20, 30, .25);
  overflow: hidden;
}

.rw-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 1.1rem .3rem;
  font-size: .75rem;
  font-weight: 600;
  color: #1c1d1e;
}

.rw-status-bar__icons { display: flex; align-items: center; gap: .3rem; }
.rw-status-bar__icons img { height: 10px; width: auto; }

.rw-phone__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1.1rem .8rem;
}

.rw-phone__brand {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: #1c1d1e;
}

.rw-phone__brand img { width: 18px; height: auto; }
.rw-phone__close { width: 12px; height: auto; }

.rw-progress {
  height: 3px;
  background: #f0f0f2;
  margin: 0 1.1rem .9rem;
  border-radius: 2px;
  overflow: hidden;
}

.rw-progress span { display: block; height: 100%; background: var(--ri-gold); }

.rw-phone__body { padding: 0 1.1rem 1.2rem; }

.rw-step-caption { font-size: .68rem; color: #a3a5ad; margin: 0 0 .2rem; }

.rw-phone__body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #232427;
  margin: 0 0 .9rem;
  line-height: 1.3;
}

.rw-options { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }

.rw-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid #e9e9ec;
  border-radius: 10px;
  padding: .55rem .7rem;
  font-size: .78rem;
  color: #4a4b4f;
}

.rw-option > img:first-child { width: 17px; height: auto; flex-shrink: 0; }
.rw-option__state { width: 16px; height: 16px; margin-left: auto; flex-shrink: 0; }

.rw-option.is-selected {
  background: #fdf5ea;
  border-color: var(--ri-gold);
  color: #7a5b25;
  font-weight: 500;
}

.rw-option--plain { padding: .6rem .7rem; }
.rw-option--plain .rw-option__state { margin-left: 0; }

.rw-next {
  width: 100%;
  background: #c98634;
  border: 1px solid #dcb37d;
  border-radius: 8px;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  padding: .7rem;
  cursor: pointer;
}

.rw-field { margin-bottom: .9rem; }
.rw-field label { display: block; font-size: .72rem; color: #8f9199; margin-bottom: .3rem; }

.rw-field input {
  width: 100%;
  border: 1px solid #e5e6ea;
  border-radius: 8px;
  padding: .55rem .7rem;
  font-size: .82rem;
  color: #3a3b3f;
  background: #fdfdfd;
}

.rw-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: #eef4fd;
  border-radius: 8px;
  padding: .6rem .7rem;
  margin-bottom: .9rem;
}

.rw-note img { width: 15px; height: auto; margin-top: .1rem; flex-shrink: 0; }
.rw-note span { font-size: .68rem; color: #5b6b8c; line-height: 1.4; }

.rw-photo-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  border: 1px dashed #d5d6db;
  border-radius: 8px;
  background: #fdfdfd;
  padding: .6rem .7rem;
  font-size: .78rem;
  color: #6b6d75;
}

.rw-photo-btn img { width: 16px; height: auto; }

/* ---------- Footer cards ---------- */

.wizard-footer { margin-bottom: 2rem; }

.wizard-footer-card {
  background: #faf7f3;
  border-radius: var(--ri-radius-md);
  padding: 1.8rem;
  height: 100%;
}

.wizard-footer-card h3 { font-size: 1.1rem; font-weight: 600; color: #2b2c30; margin: 0 0 1rem; }
.wizard-footer-card > p { font-size: .85rem; color: #8f9199; margin: 0 0 1rem; }

.wizard-footer-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.wizard-footer-card ul li { display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: #55565b; }
.wizard-footer-card ul li img { width: 20px; height: auto; flex-shrink: 0; }

.wizard-login-btn {
  display: flex;
  align-items: center;
  gap: .7rem;
  border-radius: 8px;
  padding: .8rem 1.1rem;
  font-size: .88rem;
  margin-bottom: .8rem;
}

.wizard-login-btn img { width: 20px; height: auto; }

.wizard-login-btn--telegram { background: #2ea6e0; color: #fff; }
.wizard-login-btn--telegram span {
  margin-left: auto;
  background: rgba(255,255,255,.22);
  border-radius: 6px;
  padding: .2rem .5rem;
  font-size: .68rem;
}

.wizard-login-btn--outline { background: #fff; border: 1px solid #e5e6ea; color: #4a4b4f; margin-bottom: 0; }

/* ---------- Lock banner ---------- */

.wizard-lock-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: #fdf5ea;
  border-radius: var(--ri-radius-sm);
  padding: 1rem;
  font-size: .85rem;
  color: #7a5b25;
}

.wizard-lock-banner img { width: 18px; height: auto; }
