/* JDServer-Webs v6.9 — climate_pro_uv_monthly.css */
/* Mòdul: Índex UV mensual per any seleccionat */

#climate-pro-uv-monthly {
  margin: 18px 0 28px;
}

#climate-pro-uv-monthly .cp-uvm-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-2);
}

#climate-pro-uv-monthly .cp-uvm-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 12px;
}

#climate-pro-uv-monthly .cp-uvm-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

#climate-pro-uv-monthly .cp-uvm-sub {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

#climate-pro-uv-monthly .cp-uvm-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

#climate-pro-uv-monthly .cp-uvm-controls select {
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  background: var(--chip-bg, rgba(255,255,255,0.04));
  color: inherit;
  font-size: 0.9rem;
}

#climate-pro-uv-monthly .cp-uvm-table-wrap {
  margin-top: 10px;
}

#climate-pro-uv-monthly table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

#climate-pro-uv-monthly th,
#climate-pro-uv-monthly td {
  padding: 6px 6px;
  text-align: right;
}

#climate-pro-uv-monthly th:first-child,
#climate-pro-uv-monthly td:first-child {
  text-align: left;
}

#climate-pro-uv-monthly thead th {
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

#climate-pro-uv-monthly tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

#climate-pro-uv-monthly .cp-uvm-empty {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Mòbil: fem la taula una mica més còmoda, sense scroll lateral */
@media (max-width: 768px) {
  #climate-pro-uv-monthly th,
  #climate-pro-uv-monthly td {
    padding: 6px 4px;
    font-size: 0.85rem;
  }

  #climate-pro-uv-monthly .cp-uvm-head {
    align-items: flex-start;
  }

  #climate-pro-uv-monthly .cp-uvm-controls {
    width: 100%;
    justify-content: flex-start;
  }
}
