.screenPage {
  padding: 20px;
 
}
.chartCard {
  background-color: #222;
  border-radius: 12px;
  width: 50%;       /* stretch */
  max-width: 1000px;
  padding: 16px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
  color: #fff;
}

.chartCard h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #ffdd57;
}

.chartCard {
  background: #1e1e1e;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px #00000033;
}

.chartCard h2 {
  margin-top: 0;
  color: #ffffff;
  font-size: 20px;
}

.chartTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 15px;
}

.chartTable thead {
  background: #333;
}

.chartTable th,
.chartTable td {
  padding: 8px 10px;
  border: 1px solid #444;
  text-align: left;
}

.chartTable tbody tr:nth-child(even) {
  background-color: #2a2a2a;
}

.chartTable tbody tr:nth-child(odd) {
  background-color: #1f1f1f;
}

input[type="text"] {
  background: #111;
  border: 1px solid #444;
  padding: 6px 10px;
  color: #eee;
  border-radius: 4px;
}

/* 📱 Make chart cards full width on smaller screens */
@media (max-width: 768px) {
  .chartCard {
    width: 100%;
    max-width: none;
    border-radius: 0;      /* optional: removes rounding for edge-to-edge look */
  }
}

