/* ============================================================
   CSS 17.01 — Styling form fields
   ============================================================
   Form fields (input, select, textarea, button) do NOT inherit the
   page font by default — they use a small system font.
   The 6 lines that fix almost every form:
     font: inherit;            same font and size as the page
     padding: 10px 12px;       room inside
     border: 1px solid …;      a clear border
     border-radius: 8px;       soft corners
     width: 100%;              all the same width …
     box-sizing: border-box;   … including padding and border (lesson 06)
   ============================================================ */

.styled input,
.styled select {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #C9C9C9;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  display: block;                   /* one field per line */
}
/* Try it: remove  box-sizing: border-box;  → the fields become wider than 100%
   (padding + border are added on top). */


/* ------------------------------------------------------------
   Only to make the page readable — not part of this lesson
   ------------------------------------------------------------ */
body { font-family: Arial, sans-serif; font-size: 17px; }
form { max-width: 380px; }
