/* dashboard/station-modal.css — modal de detalle por estacion y footer */

.gw-station-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gw-station-modal.show { display: flex; }
.gw-station-modal-box {
  background: #ffffff;
  color: #1c1e22;
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.gw-station-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.gw-station-modal-header h3 { font-size: 16px; font-weight: 600; margin: 0; color: #1c1e22; }
.gw-station-modal-close {
  background: transparent;
  border: none;
  color: #555;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.gw-station-chart-block { margin-bottom: 18px; }
.gw-station-chart-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.gw-station-chart-container { width: 100%; height: 150px; }

.gw-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
}

.gw-station-aviso {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f1f3f4;
  color: #3c4043;
  font-size: 13px;
}
.gw-station-aviso[hidden] { display: none; }

.gw-station-week { margin-top: 8px; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 14px; }
.gw-station-week-titulo { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #1c1e22; }
.gw-station-week-total { margin: 0 0 10px; font-size: 13px; color: #3c4043; }
.gw-station-tabla-scroll { overflow-x: auto; margin-bottom: 14px; }
.gw-station-tabla { width: 100%; border-collapse: collapse; font-size: 12px; color: #1c1e22; }
.gw-station-tabla caption { text-align: left; font-weight: 600; color: #444; padding-bottom: 6px; }
.gw-station-tabla th,
.gw-station-tabla td { padding: 6px 8px; border-bottom: 1px solid rgba(0,0,0,0.08); text-align: left; vertical-align: top; }
.gw-station-tabla thead th { color: #444; font-weight: 600; white-space: nowrap; }
.gw-station-tabla tbody th { font-weight: 600; white-space: nowrap; }
.gw-station-tabla td strong { display: block; font-weight: 700; }
.gw-station-tabla td small { display: block; color: #5f6368; font-size: 11px; }
