/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  padding: 20px;
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  background-color: #fff;
  margin-bottom: 30px;
}

.logo-link {
  text-decoration: none;
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: #00bcd4;
  font-family: 'Arial', sans-serif;
}

/* CONTENEDOR */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

/* TÍTULO PRINCIPAL */
.top-header {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

/* CONTROLES DE AÑO */
.week-table-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.week-table-controls button {
  background: none;
  border: 2px solid #00bcd4;
  color: #00bcd4;
  font-size: 1.1rem;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
}

.week-table-controls button:hover {
  background-color: #00bcd4;
  color: white;
}

.week-table-controls strong {
  font-size: 1.3rem;
}

/* TABLA DE SEMANAS */
.table-wrapper {
  overflow-x: auto;
}

#weeksTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 50px;
  font-size: 0.95rem;
}

#weeksTable th,
#weeksTable td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

#weeksTable thead th {
  background-color: #00bcd4;
  color: white;
  font-weight: bold;
}

#weeksTable tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

#weeksTable tbody tr.highlight {
  background-color: #e0f7fa;
  font-weight: bold;
}

/* FOOTER */
.footer {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #ccc;
  color: #888;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  body {
    font-size: 15px;
    padding: 10px;
  }

  .logo-text {
    font-size: 1.6rem;
  }

  .top-header {
    font-size: 1.4rem;
  }

  .week-table-controls button {
    font-size: 1rem;
    padding: 6px 14px;
  }

  #weeksTable {
    font-size: 0.85rem;
  }

  #weeksTable th,
  #weeksTable td {
    padding: 8px;
  }
}