/* ============================================================
   CSS 10.02 — position: relative: move it from its normal place
   ============================================================
   relative → "move me FROM where I normally am". My old space stays empty.
   Its most important job: to be the PARENT that absolute children
   measure from (example 03).
   ============================================================ */

.relative-box {
  position: relative;
  top: 20px;                        /* 20px DOWN from its normal place  */
  left: 40px;                       /* 40px RIGHT from its normal place */
}
/* Try it: change top to -20px → it moves UP instead.
   Box 3 still stays where it is. */


/* ------------------------------------------------------------
   The dashed "ghost" outline that shows where Box 2 WAS.
   It uses position: absolute (example 03) — you can skip it for now.
   ------------------------------------------------------------ */
.ghost-wrap {
  position: relative;               /* so the ghost outline can be pinned (example 03 idea) */
  width: 85%;                       /* narrower, so the moved box stays on the screen        */
  margin-bottom: 8px;
}

.ghost {
  position: absolute;               /* the dashed outline sits exactly where Box 2 was */
  inset: 0;                         /* = top: 0; right: 0; bottom: 0; left: 0;          */
  border: 2px dashed #9A9A9A;
  border-radius: 8px;
}

/* ------------------------------------------------------------
   Only to make the boxes visible — not part of this lesson
   ------------------------------------------------------------ */
.flow-box {
  background-color: #EEF3FF;
  border: 2px solid #2D62EF;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.relative-box {
  margin-bottom: 0;                 /* sit exactly on the ghost outline */
  background-color: #FFF6E0;
  border-color: #FFAF04;
}
