/* Basislayout */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #fafafa;
  color: #222;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
}

/* Header */
header {
  background: #1e2a38;
  color: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Navigatie */
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
}

nav a:hover {
  color: #fff;
}

/* Secties en invoervelden */
div {
  margin-bottom: 12px;
}

label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 320px;
  font-weight: 500;
  color: #333;
}

input {
  width: 100px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  border-color: #0078d7;
  box-shadow: 0 0 4px rgba(0, 120, 215, 0.3);
  outline: none;
}

/* Knoppen */
button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background-color: #0078d7;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

button:hover {
  background-color: #005fa3;
  box-shadow: 0 2px 4px rgba(0, 95, 163, 0.3);
}

/* Tabellen */
table {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
  background: #fff;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

thead {
  background-color: #0078d7;
  color: white;
}

th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #eaeaea;
}

tbody tr:hover {
  background-color: #f6f8fa;
}

/* Resultaten en secties */
#results, #latestMetrics {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  max-width: 700px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

#results div, #latestMetrics p {
  margin: 6px 0;
  font-size: 0.95rem;
}

/* Dropdown styling */
select {
  width: 150px; /* pas aan naar wens */
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  font-size: 1rem;
  color: #222;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;

  /* Verwijder standaard OS-styling */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Pijltje rechts toevoegen */
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="5"><polygon points="0,0 10,0 5,5" fill="%23999"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 5px;
}

select:hover {
  border-color: #888;
}

select:focus {
  border-color: #0078d7;
  box-shadow: 0 0 4px rgba(0, 120, 215, 0.3);
  outline: none;
}



/* Right Side Bar */

#right-sidebar {
  position: fixed;       /* keeps it visible when scrolling */
  top: 20px;             /* distance from top */
  right: 20px;           /* distance from right edge */
  width: 200px;          /* sidebar width */
  background-color: #f0f0f0;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#right-sidebar h2 {
  margin-top: 0;
}

#right-sidebar ul {
  list-style: none;
  padding-left: 0;
}

#right-sidebar ul li {
  margin-bottom: 10px;
}

#right-sidebar ul li a {
  text-decoration: none;
  color: #007BFF;
}

#right-sidebar ul li a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 40px;
  text-align: left;
  font-size: 0.85em;
  color: #666;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}


