:root {
  --accent: #293f77; 
  --text: #1a1a1a;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  margin: 0;
  padding: 24px 22px 48px;
}

h1 {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 18px;
  word-break: break-all;
}

table#indexlist {
  border-collapse: collapse;
  width: 100%;
  max-width: 1000px;
  border: 0;
}

#indexlist th,
#indexlist td {
  text-align: left;
  padding: 4px 16px 4px 0;
  white-space: nowrap;
  vertical-align: middle;
  border: 0;
}

/* Column header row */
tr.indexhead th { padding-bottom: 6px; }

tr.indexhead th a,
tr.indexhead th {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}
tr.indexhead th a:hover { text-decoration: underline; }

/* The <hr> rows Apache inserts above/below the entries */
tr.indexbreakrow th { padding: 0; }
tr.indexbreakrow hr {
  border: 0;
  border-top: 2px solid var(--accent);
  margin: 4px 0;
}

/* Icon column */
th.indexcolicon,
td.indexcolicon { width: 24px; padding-right: 10px; }
td.indexcolicon img { width: 20px; height: 22px; border: 0; vertical-align: middle; }

/* Name links */
td.indexcolname a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.05rem;
}
td.indexcolname a:hover { text-decoration: underline; }

/* Last modified + size in plain dark text */
td.indexcollastmod { color: #333; }
td.indexcolsize { color: #333; padding-left: 18px; }
th.indexcolsize { padding-left: 18px; }

/* Hide the description column entirely (also suppressed server-side). */
.indexcoldesc { display: none; }

/* Apache signature, if ServerSignature ever gets turned on. */
address {
  margin-top: 26px;
  color: #777;
  font-size: 0.8rem;
  font-style: normal;
}
