body {
  font-family: Arial, sans-serif;
  background-color: #1e1e1e;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #e0e0e0;
}

h1 {
  margin-bottom: 20px;
  color: #ffffff;
}

.input-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

input[type="text"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #555;
  border-radius: 5px;
  width: 250px;
  background-color: #2b2b2b;
  color: #e0e0e0;
}

input[type="text"]::placeholder {
  color: #aaa;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  color: #ffffff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

#feedback {
  color: #ff6b6b;
  margin-bottom: 20px;
  font-weight: bold;
}

#result {
  background: #2b2b2b;
  color: #e0e0e0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 400px;
}

.stat {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.stat span {
  font-weight: bold;
  color: #ffffff;
}

#chartContainer {
  width: 90%;
  max-width: 800px;
  height: 600px;
  margin-top: 30px;
  background: #2b2b2b;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#chartContainer canvas {
  width: 100% !important;
  height: 100% !important;
}

.site-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: #242424;
  border-bottom: 1px solid #333;
  z-index: 100;
}
.site-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav .brand .nav-logo {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.site-nav nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.site-nav nav a.nav-link {
  color: #d1d5db;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-nav nav a.nav-link:hover {
  color: #ffffff;
  background: #2f2f2f;
}
.site-nav nav a.nav-link.active {
  color: #ffffff;
  background: #3b82f6;
}
