/* Reset standaard browser styling voor consistente layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Algemene body styling */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f9fafb;
  color: #111827;
}

/* Navigatiebalk bovenaan */
.navbar {
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

/* inner container*/
.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Titel links in navbar */
.nav-left h2 {
  font-size: 20px;
}

/* Navigatie links */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Navigatie links styling */
.nav-right a {
  text-decoration: none;
  color: #111827;
  font-weight: 500;
}

/* Hover effect voor navigatie */
.nav-right a:hover {
  color: #2563eb;
}

/* Hoofdcontainer */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero sectie*/
.hero {
  text-align: center;
  margin-top: 60px;
}

.hero h1 {
  font-size: 40px; 
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 25px;
  line-height: 1.6;
  color: #6b7280;
}

/* Knoppen in hero */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Hero button styling */
.hero button {
  background: #030712;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
}

/* Primaire knop */
.primary {
  background: #111827;
}

/* Secundaire knop */
.secondary {
  background: white;
  color: #111827;
  border: 1px solid #d1d5db;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
}

/* Kaart binnen features */
.feature-card {
  background: white;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  transition: 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #6b7280;
}

/* Actie kaarten */
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
}

/* Individuele actie kaart */
.action-card {
  background: #f9fafb;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

/* Variaties van actie kaarten */
.action-card.blue {
  border: 1px solid #93c5fd;
}

.action-card.green {
  border: 1px solid #86efac;
}

/* Header binnen actie kaart */
.action-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* Emoji/icon styling */
.emoji {
  font-size: 20px;
}

/* Tekst in actie kaarten */
.action-card p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Full width knop */
.full {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
}

/* Primaire knop */
.primary {
  background: #030712;
  color: white;
}

/* Secundaire knop */
.secondary {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #d1d5db;
}

/* Hover effecten */
.primary:hover {
  background: #111827;
}

.secondary:hover {
  background: #e5e7eb;
}

/* About sectie */
.about {
  margin-top: 50px;
  padding: 25px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.about h3 {
  margin-bottom: 10px;
}

.about p {
  color: #6b7280;
}

/* Algemene button styling */
button {
  background: #2563eb;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  color: white;
  font-size: 15px;
  cursor: pointer;
}

/* Hover voor buttons */
button:hover {
  background: #1d4ed8;
}

/* Form layout */
form:not(.login-form):not(.register-form) {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}

/* File input styling */
input[type="file"] {
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
}

/* Grid voor afbeeldingen */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

/* Kaart voor afbeelding */
.card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: 0.2s;
}

/* Hover effect kaart */
.card:hover {
  transform: translateY(-6px);
}

/* Afbeelding binnen kaart */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Content in kaart */
.card-content {
  padding: 15px;
}

.card-content h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.card-content p {
  font-size: 12px;
  color: #6b7280;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 80px;
  padding: 20px;
  font-size: 13px;
  color: #9ca3af;
}

/* Resultaten grid */
.results-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* Resultaat kaart */
.result-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  text-align: center;
}

.result-card h3 {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.result-card p {
  font-size: 24px;
  font-weight: bold;
}

/* Document sectie */
.doc-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doc-block {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.doc-block h2 {
  margin-bottom: 10px;
}

/* Icons */
.icon {
  font-size: 30px;
  margin-bottom: 15px;
}

/* Analyze pagina container */
.analyze-container {
  max-width: 900px;
  margin: auto;
}

/* Subtitle tekst */
.subtitle {
  color: #6b7280;
  margin-bottom: 30px;
}

/* Upload box */
.upload-box {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

/* Kleine tekst */
.small-text {
  font-size: 13px;
  color: #6b7280;
}

/* Drag & drop gebied */
.drop-area {
  margin-top: 20px;
  padding: 40px;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  text-align: center;
}

/* Upload icoon */
.upload-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

/* Extra spacing file input */
input[type="file"] {
  margin: 15px 0;
}

/* Button override */
button:not(.login-form button):not(.register-form button) {
  background: #111827;
  color: white;
}

/* Uitleg sectie */
.how-it-works {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 20px;
  border-radius: 12px;
}

.how-it-works ol {
  margin-top: 10px;
  padding-left: 20px;
}

.how-it-works li {
  margin-bottom: 8px;
}

/* Alert melding */
.alert {
  background: #e0f2fe;
  color: #0369a1;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* ========================= */
/* NAVBAR BUTTONS */
/* ========================= */

.btn-outline {
  border: 1px solid #d1d5db;
  padding: 8px 16px;
  border-radius: 8px;
  color: #111827;
  font-weight: 500;
  transition: 0.2s;
}

.btn-outline:hover {
  background: #f3f4f6;
}

.btn-primary {
  background: #030712;
  color: white !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 500;
  transition: 0.2s;
}

.btn-primary:hover {
  background: #111827;
}

/* ========================= */
/* LOGIN / REGISTER STYLING */
/* ========================= */

.login-wrapper,
.register-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.login-card,
.register-card {
  width: 400px;
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.login-card h2,
.register-card h2 {
  margin-bottom: 5px;
}

.subtext {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}

.login-form,
.register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-form input,
.register-form input {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #f3f4f6;
  font-size: 14px;
}

.login-form input:focus,
.register-form input:focus {
  outline: 2px solid #2563eb;
  background: white;
}

.login-form button,
.register-form button {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #030712;
  color: white;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.login-form button:hover,
.register-form button:hover {
  background: #111827;
}

.bottom-text {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
}

/* Navbar structuur */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Divider (kleine streepje in de navbar)*/
.nav-divider {
  width: 1px;
  height: 24px;
  background: #e5e7eb;
}

/* Username styling (laat gebruiker zien die is ingelogd) */
.nav-user {
  font-weight: 500;
  color: #111827;
}

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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f9fafb;
  color: #111827;
  line-height: 1.6;
}

/* Hoofdheader sectie */
.doc-header {
  text-align: center;
  margin-bottom: 40px;
}

.doc-header h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.doc-header p {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 30px;
}

/* Hoofdcontainer voor documentatie */
.doc-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Secties in de documentatie */
.doc-block {
  background-color: #fff;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.doc-block h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111827;
}

/* Subsectie kopjes zoals "Date Information" */
.doc-block h3 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #111827;
}

/* Paragrafen en tekst */
.doc-block p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 20px;
}

/* Lijst styling voor Sequence Numbers, Location Information */
.doc-block ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.doc-block ul li {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 10px;
}

/* Code styling voor voorbeelden */
pre {
  background-color: #f3f4f6;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  margin-bottom: 15px;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
}

/* Tabellen styling */
.data-export-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.data-export-table th,
.data-export-table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #e5e7eb;
}

.data-export-table th {
  background-color: #f9fafb;
  color: #111827;
  font-weight: 600;
}

.data-export-table td {
  background-color: #fff;
  color: #6b7280;
}

/* Best Practices Lijst */
.doc-block ol {
  padding-left: 20px;
  margin-top: 10px;
}

.doc-block ol li {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 10px;
}

/* Footer styling */
.doc-footer {
  background-color: #f3f4f6;
  padding: 20px;
  border-radius: 12px;
  margin-top: 30px;
  text-align: center;
}

.doc-footer p {
  font-size: 16px;
  color: #6b7280;
}

.doc-footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.doc-footer a:hover {
  text-decoration: underline;
}

/* Knoppen */
button {
  background-color: #2563eb;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  color: white;
  font-size: 15px;
  cursor: pointer;
}

button:hover {
  background-color: #1d4ed8;
}



/* =========================
   LOG BUTTON
========================= */

.log-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #111827;
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: 0.2s;
  z-index: 999;
}

.log-button:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

/* ========================= */
/* RESET PASSWORD
/* ========================= */

.reset-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.reset-card {
  width: 400px;
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.reset-card h2 {
  margin-bottom: 10px;
}

.subtext {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}

.reset-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reset-form input {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #f3f4f6;
  font-size: 14px;
}

.reset-form input:focus {
  outline: 2px solid #2563eb;
  background: white;
}

.reset-form button {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #030712;
  color: white;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.reset-form button:hover {
  background: #111827;
}

.bottom-text {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
}

.error-box {
  color: red;
  font-size: 14px;
  margin-bottom: 20px;
}

/* ========================= */
/* FILTER PAGE
/* ========================= */

.filter-form {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.filter-form label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 5px;
}

.filter-form input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  min-width: 200px;
}

.image-filter h2 {
  margin-bottom: 15px;
}

.btn-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.btn-link:hover {
  text-decoration: underline;
}

.no-results {
  color: #6b7280;
  margin-top: 10px;
}

.alert.success {
  background: #22c55e;
  color: white;
}