/* General styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 20px;
  padding: 0;
  background-color: #f4f4f9;
  color: #333;
}

h1 {
  color: #333;
  text-align: center;
}

form {
  background: #fff;
  padding: 20px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

form input[type="number"],
form input[type="text"],
form button,
form input[type="radio"] {
  display: block;
  margin-bottom: 15px;
  width: 100%;
  padding: 8px;
  font-size: 1rem;
}

form button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
}

form button:hover {
  background: #0056b3;
}

.hidden {
  display: none;
}

/* Outcome styles */
#result {
  text-align: center;
  margin: 20px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.groen {
  color: green;
}

.oranje {
  color: orange;
}

.rood {
  color: red;
}

/* Outcome styles */
#result,
#finaloutcome, 
#event-info { /* Add #finaloutcome to match styles */

  text-align: center;
  margin: 20px auto; /* Ensure it's centered like the form */
  padding: 20px;
  border-radius: 8px;
  font-size: 1.2rem;
  max-width: 500px; /* Match the form width for consistency */
}

/* Final outcome styles */
.groen {
  color: green;
}

.oranje {
  color: orange;
}

.rood {
  color: red;
}

/* Logo styling */
#logo {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 150px;
}

/* Styled results table */
.results-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  background: #fff;
  border-left: 6px solid #007bff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.results-table th,
.results-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.results-table th {
  background-color: #f0f4ff;
  font-weight: bold;
  color: #333;
}

.results-table tr:hover {
  background-color: #f9f9f9;
}


/* Responsive Design */
@media (max-width: 600px) {
  form {
    padding: 15px;
  }

  form button {
    width: 100%;
  }

  #result {
    font-size: 1rem;
  }
    #FinalOutcome {
    font-size: 1rem;
  }
}
