.form-wrap {
  max-width: 640px;
  margin: 48px auto 80px;
}
.form-wrap h1 {
  font-family: var(--f-display);
  font-size: 26px;
  margin: 0 0 6px;
}
.form-sub {
  color: var(--texto-sec);
  font-size: 14px;
  margin: 0 0 32px;
  line-height: 1.5;
}

/* Secciones del formulario */
.seccion-form {
  background: var(--card);
  border: 1px solid var(--borde);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.seccion-form-titulo {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--borde);
}

/* Username */
.username-wrap {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--borde);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--trans);
}
.username-wrap:focus-within { border-color: var(--secundario); }
.arroba {
  padding: 0 12px;
  font-family: var(--f-mono);
  font-size: 15px;
  color: var(--texto-sec);
  background: var(--bg-elevado);
  border-right: 1px solid var(--borde);
  height: 46px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.username-input {
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--f-mono);
}
.username-input:focus { outline: none; }

.username-status {
  font-size: 12px;
  font-weight: 600;
  min-height: 18px;
  margin-top: 6px;
}
.username-status.ok      { color: var(--estado-lanzado); }
.username-status.error   { color: #f87171; }
.username-status.cargando{ color: var(--texto-ter); }

/* Tecnologías */
.tech-edit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--borde);
}
.tech-edit-row:last-child { border-bottom: none; }
.tech-edit-row .nombre {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--secundario);
  flex: 1;
}
.tech-edit-row .estrellas-interactivas { display: flex; gap: 3px; }
.tech-edit-row .estrella { font-size: 20px; cursor: pointer; transition: color var(--trans); }
.tech-edit-row button.del {
  background: none;
  border: none;
  color: var(--texto-ter);
  cursor: pointer;
  font-size: 14px;
  padding: 0 4px;
}
.tech-edit-row button.del:hover { color: #f87171; }
.add-tech-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* Enlaces */
.enlace-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--borde);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--trans);
  margin-bottom: 10px;
}
.enlace-row:last-child { margin-bottom: 0; }
.enlace-row:focus-within { border-color: var(--secundario); }
.enlace-icono {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-sec);
  background: var(--bg-elevado);
  border-right: 1px solid var(--borde);
  height: 46px;
  flex-shrink: 0;
  font-size: 14px;
}
.enlace-row .qx-input {
  border: none !important;
  border-radius: 0 !important;
}
.enlace-row .qx-input:focus { outline: none; }