/* ============================================================
   CSS 14.05 — Form layout
   ============================================================
   Two columns: labels (fixed 140px) and inputs (the rest).
   Each <label> goes into column 1 and its <input> into column 2,
   automatically, because grid fills the cells in order.
   .full items use the whole row.
   ============================================================ */

.admission {
  display: grid;                                 /* ★ GRID */
  grid-template-columns: 140px 1fr;              /* ★ GRID: label | input */
  gap: 12px 16px;                                /* 12px between rows, 16px between columns */
  align-items: center;                           /* labels in the middle of their row */
  max-width: 560px;
}

.full {
  grid-column: 1 / -1;                           /* ★ GRID: full width */
}
/* Try it: change 140px to 1fr → labels and inputs share the width equally. */


/* ------------------------------------------------------------
   Only to make the form look neat — not part of this lesson
   ------------------------------------------------------------ */
.admission { font-family: Arial, sans-serif; }
.admission input,
.admission select,
.admission textarea {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid #C9C9C9;
  border-radius: 6px;
}
.admission button {
  font: inherit;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #2D62EF;
  color: #FFFFFF;
  cursor: pointer;
}
