.registro-wrap {
  max-width: 560px;
  margin: 30px auto 60px;
  padding: 0 16px;
}

/* ── PASOS ── */
.paso-header {
  text-align: center;
  margin-bottom: 28px;
}

.paso-header h2 {
  font-size: 1.4rem;
  color: var(--dark);
  margin: 16px 0 6px;
}

.paso-header p {
  color: #888;
  font-size: 0.9rem;
}

.pasos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 8px;
}

.paso-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #aaa;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.paso-dot.activo  { background: var(--red); color: white; box-shadow: 0 4px 12px rgba(255,71,87,0.4); }
.paso-dot.completo{ background: #27ae60; color: white; }

.paso-linea {
  flex: 1;
  height: 3px;
  background: #e0e0e0;
  max-width: 60px;
}
.paso-linea.activa { background: #27ae60; }

/* ── CAMPOS ── */
.campo-grupo {
  margin-bottom: 20px;
  position: relative;
}

.campo-grupo label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.campo-grupo input[type="text"],
.campo-grupo input[type="tel"],
.campo-grupo input[type="email"],
.campo-grupo select,
.campo-grupo textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  background: white;
  transition: border-color 0.2s;
  -webkit-user-select: text;
  user-select: text;
}

.campo-grupo input:focus,
.campo-grupo select:focus,
.campo-grupo textarea:focus {
  border-color: var(--red);
}

.char-count {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.75rem;
  color: #bbb;
}

.input-icon-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color 0.2s;
}

.input-icon-wrap:focus-within { border-color: var(--red); }

.input-icon-wrap span { font-size: 1.1rem; flex-shrink: 0; }

.input-icon-wrap input {
  border: none !important;
  padding: 12px 0 !important;
  border-radius: 0 !important;
  flex: 1;
}

/* ── RUBRO GRID ── */
.rubro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.rubro-card {
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.rubro-card span { font-size: 1.8rem; display: block; }
.rubro-card p    { font-size: 0.75rem; font-weight: 600; color: #666; margin: 6px 0 0; }

.rubro-card:hover     { border-color: var(--red); }
.rubro-card.seleccionado {
  border-color: var(--red);
  background: #fff0f1;
}
.rubro-card.seleccionado p { color: var(--red); }

/* ── EMOJI SELECTOR ── */
.emoji-selector {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.emoji-preview {
  width: 56px;
  height: 56px;
  background: #f0f2f5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.emoji-opciones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.emoji-opciones span {
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: background 0.15s;
}
.emoji-opciones span:hover { background: #f0f2f5; }

/* ── BOTONES ── */
.btn-siguiente {
  width: 100%;
  background: var(--red);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 15px rgba(255,71,87,0.35);
}
.btn-siguiente:hover { background: #e0303f; transform: translateY(-1px); }

.btn-publicar {
  flex: 1;
  background: #27ae60;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 4px 15px rgba(39,174,96,0.35);
}
.btn-publicar:hover { background: #219a52; }
.btn-publicar:disabled { background: #aaa; box-shadow: none; cursor: not-allowed; }

.btn-volver-paso {
  background: #ecf0f1;
  color: #555;
  border: none;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* ── PREVIEW ── */
.preview-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

/* ── TÉRMINOS ── */
.terminos {
  font-size: 0.78rem;
  color: #aaa;
  text-align: center;
  margin: 16px 0;
  line-height: 1.5;
}

/* ── ÉXITO ── */
.exito-box {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.exito-icon { font-size: 4rem; margin-bottom: 16px; }
.exito-box h2 { color: var(--dark); margin-bottom: 10px; }
.exito-box p  { color: #777; font-size: 0.92rem; line-height: 1.6; }

/* ── TOAST ALERTA ── */
.toast-alerta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  color: white;
  padding: 13px 24px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 100;
  white-space: nowrap;
  animation: slideUp 0.3s ease;
}

@media (max-width: 480px) {
  .rubro-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── MAPS PREVIEW ── */
.maps-preview { margin-top: 6px; }
.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a73e8;
  text-decoration: none;
  padding: 5px 12px;
  background: #e8f0fe;
  border-radius: 20px;
  transition: background 0.2s;
}
.maps-link:hover { background: #d2e3fc; }
