body {
  background: #f8f9fa;
  color: #212529;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

a {
  color: #0d6efd;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #dee2e6;
}

.navbar .nav-link {
  color: #212529;
}

.navbar .nav-link.active {
  font-weight: bold;
}

.navbar .logo-icon {
  width: 40px;
  height: 40px;
  background-image: url("/static/images/favicon.ico");
  background-size: cover;
  display: inline-block;
}
.container-fluid {
  padding: 20px;
}

.score-container {
  text-align: center;
}

.score-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 6px solid #0d6efd;
  display: flex;
  justify-content: center;
  align-items: center;
}

.score-value {
  font-size: 2.3rem;
  font-weight: bold;
}

.history-entry {
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #dee2e6;
  margin-bottom: 12px;
  transition: background 0.2s;
}

.history-entry:hover {
  background: #e9ecef;
  cursor: pointer;
}

.login-container {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  width: 350px;
  text-align: center;
  border: 1px solid #dee2e6;
}

.btn-primary {
  background: #0d6efd;
  border: none;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0b5ed7;
}

.status-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 5px;
}

.status-disconnected {
  background-color: #dc3545;
}

.status-connected {
  background-color: #198754;
}

.map-container {
  height: 400px;
  width: 100%;
}

gmp-map {
  display: block;
  width: 100%;
  height: 100%;
}

.video-container {
  position: relative;
  height: 720px;
  max-width: 1280px;
  background: #000 url("/static/images/placeholder.png") no-repeat center center;
  background-size: contain;
  border: 2px solid #333;
  border-radius: 8px;
  overflow: hidden;
}

#stream {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
