/* ============================================================
   CSS 17.08 — Zebra rows, hover and a caption
   ============================================================
   tbody tr:nth-child(even)  → every 2nd row grey  (lesson 09)
   tbody tr:hover            → the row under the mouse lights up
   td:last-child             → the last column (Total)
   <caption>                 → the table's title (better than a <p> above it)
   ============================================================ */

.fees tbody tr:nth-child(even) {
  background-color: #F4F5F7;
}

.fees tbody tr:hover {
  background-color: #FFF6E0;
}

.fees td:last-child {
  font-weight: bold;
  color: #1F9D55;
}

.fees caption {
  caption-side: top;
  text-align: left;
  font-weight: bold;
  font-size: 20px;
  padding-bottom: 10px;
}
/* Try it: change  even  to  odd  → the other rows get the stripes. */


/* ------------------------------------------------------------
   The basic table style from example 07 — not part of this example
   ------------------------------------------------------------ */
body { font-family: Arial, sans-serif; font-size: 16px; }
.fees { border-collapse: collapse; width: 100%; max-width: 760px; }
.fees th, .fees td { padding: 10px 14px; border-bottom: 1px solid #E4E4E4; text-align: left; }
.fees th { background-color: #0F1B3D; color: #FFFFFF; }
.fees .num { text-align: right; }
