* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #470404;
  padding: 15px 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

nav a:hover {
  color: white;
}

nav p {
  color: white;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

main {
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  width: 100%;
}

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

h2 {
  margin: 20px 0 10px 0;
  color: #444;
}

/* Zoek en sorteer forms op overzichtspagina */
.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.search-form input {
  width: 200px;
}

.search-form select {
  width: 150px;
}

/* Edit form */
.edit-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  gap: 15px;
  margin-top: 20px;
  margin: 0 auto;
}

.edit-form div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pagina-titel {
  text-align: center;
  margin-bottom: 20px;
}
label {
  font-weight: bold;
  color: #333;
}

input[type="text"],
input[type="number"],
textarea,
select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
}

textarea {
  height: 120px;
  resize: vertical;
}

button {
  padding: 8px 15px;
  background-color: #470404;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  width: fit-content;
}

button:hover {
  background-color: #960707;
}

table {
  min-width: 100%;
  border-collapse: collapse;
  background-color: white;
  margin-top: 15px;
}

th {
  background-color: #222;
  color: white;
  padding: 12px;
  text-align: left;
}

td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
}

tr:hover {
  background-color: #f9f9f9;
}

img {
  max-width: 300px;
  border-radius: 8px;
  margin: 10px 0;
}

a {
  color: #470404;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #470404;
  color: white;
  margin-top: 40px;
}

.back-link {
  display: inline-block;
  margin-bottom: 15px;
}

.detail-info p {
  margin-bottom: 8px;
}

.motor-detail {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.motor-afbeelding img {
  max-width: 400px;
  border-radius: 8px;
}

.motor-info {
  flex: 1;
}

.beschrijving {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.info-tabel {
  margin-bottom: 20px;
}

.info-tabel td {
  padding: 8px 15px 8px 0;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.feature-tag {
  background-color: #470404;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.fabrikant-sectie {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.fabrikant-info {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 15px;
}

.fabrikant-logo {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}

.edit-btn {
  background-color: #222;
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
}

.edit-btn:hover {
  background-color: #470404;
  text-decoration: none;
}

.fout-melding {
  color: white;
  background-color: #cc0000;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
}
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.login-form {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-links {
  gap: 20px;
  align-items: center;
  margin-right: auto;
}

.navigatie {
  display: flex;
  gap: 15px;
  align-items: center;
}

.navigatie span {
  color: white;
}
