.data-display {
  margin-top: 20px;
}

.data-display.empty {
  background: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  color: #999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reading-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reading-card h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #667eea;
  padding-bottom: 10px;
}

.reading-card.latest {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border-left: 4px solid #667eea;
}

.reading-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.info-item {
  padding: 10px;
  background: white;
  border-radius: 4px;
}

.info-item label {
  display: block;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 5px;
  font-size: 14px;
}

.info-item span {
  display: block;
  font-size: 16px;
  color: #333;
  word-break: break-all;
}

.data-value {
  font-family: 'Courier New', monospace;
  background: #f5f5f5;
  padding: 10px;
  border-radius: 4px;
  font-weight: bold;
}

.readings-history {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.readings-history h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #667eea;
  padding-bottom: 10px;
}

.table-container {
  overflow-x: auto;
  margin-top: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table thead {
  background-color: #f5f5f5;
}

table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #667eea;
  border-bottom: 2px solid #ddd;
}

table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

table tbody tr:hover {
  background-color: #f9f9f9;
}

.data-cell {
  font-family: 'Courier New', monospace;
  background: #f5f5f5;
  padding: 8px;
  border-radius: 4px;
  word-break: break-all;
}

@media (max-width: 768px) {
  .reading-info {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 14px;
  }

  table th, table td {
    padding: 8px;
  }
}
