/* ============================================================
   CSS 02.10 — ATTRIBUTE selector:  [attribute]  [attribute="value"]
   ============================================================
   Picks elements by their HTML attributes — no class needed.
     input[type="email"]   → inputs where type is exactly "email"
     input[required]       → inputs that HAVE the required attribute
     a[target="_blank"]    → links that open in a new tab
   Very useful for forms.
   ============================================================ */

.admission-form input[type="email"] {
  border: 2px solid #2D62EF;        /* only the email box: blue border     */
}

.admission-form input[required] {
  background-color: #FFF6E0;        /* every required box: light yellow    */
}
/* Try it: add  required  to the phone input in 10-attribute.html
   → it turns yellow too, with no CSS change. */


/* ------------------------------------------------------------
   Only to make the form neat — not part of this lesson
   ------------------------------------------------------------ */
.admission-form label {
  display: block;                   /* each label on its own line (lesson 08) */
  margin: 8px 0;
}

.admission-form input {
  display: block;
  margin-top: 4px;
  padding: 6px 10px;
  border: 1px solid #C9C9C9;        /* (the email rule above still wins — it is more specific, lesson 03) */
  border-radius: 6px;
  font-size: 16px;
}
