body { font-family: Arial; margin: 2rem; }
.container { max-width: 1000px; margin: auto; }

h1 { 
  text-align: center; 
  font-size: 1.8rem; 
}

.subtitle { text-align: center; margin-bottom: 2rem; }
h2 { text-align: center; }

table { 
  width: 100%; 
  border-collapse: collapse; 
}

th, td { 
  border: 1px solid #999; 
  padding: 8px; 
  vertical-align: top; 
  word-wrap: break-word;
}

th { background: #eaeaea; }

.total { 
  font-weight: bold;
  text-align: right;
}

.degree-total { 
  font-weight: bold;
  text-align: right;
}

ul { margin-top: 0.5rem; margin-bottom: 1rem; }
li { margin-left: 1.2rem; }

caption {
  caption-side: top;
  font-weight: bold;
  text-align: center;
  padding: 8px 0;
}

/* =========================
   TAMUCT TABLE FIX (Section 3 Only)
========================= */
.tamuct-table {
  table-layout: fixed;
}

.tamuct-table th:nth-child(1),
.tamuct-table td:nth-child(1) {
  width: 30%; /* TAMUCT column */
}

.tamuct-table th:nth-child(2),
.tamuct-table td:nth-child(2) {
  width: 64%; /* Course Name */
}

.tamuct-table th:nth-child(3),
.tamuct-table td:nth-child(3) {
  width: 6%; /* SCH tightened */
  text-align: center; /* makes numbers look cleaner */
}

/* =========================
   Resource Panel Block
========================= */
.resource-links {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  text-align: center;
}

.resource-links ul {
  list-style: none;
  padding-left: 0;
}

.resource-links li {
  display: inline;
  margin-right: 1rem;
}

.resource-links a {
  color: #800000;
  text-decoration: underline;
}

/* =========================
   Footer Block
========================= */
footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  font-size: 0.9rem;
  color: #555;
}
/* =========================
    HIDE ELEMENTS IN PRINT / PDF
========================= */
@media print {
  .no-print {
    display: none !important;
  }
}