/* Add to your CSS file or create a new one */

.camera-screen {
  position: relative;
}

.radial-sectors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sector-label {
  position: absolute;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 1px 1px 2px black;
  font-size: 14px;
}

.scan-button {
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.scan-button:hover {
  background-color: #45a049;
}

.camera-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.camera-status {
  text-align: center;
  margin: 20px 0;
  font-size: 18px;
  color: #666;
}

.scan-button-container {
  text-align: center;
}

.results-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.player-result {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.points {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.high-score {
  background-color: gold;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
}

.cards-summary {
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 8px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.card-preview {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
}

.card-suit {
  font-size: 20px;
  margin-bottom: 4px;
}

.results-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-list {
  margin-bottom: 20px;
}

.history-item {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.history-item:hover {
  background-color: #e0e0e0;
}

.history-date {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

.history-scores {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.score-tag {
  background-color: #e0e0e0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.empty-history {
  text-align: center;
  color: #666;
  padding: 20px;
}

.history-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .results-container {
    grid-template-columns: 1fr;
  }
  
  .camera-header {
    flex-direction: column;
    gap: 10px;
  }
}