/* ====== BASIS ====== */

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

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background-color: #f4f4f4;
  min-height: 100vh;
  padding-bottom: 72px; /* ruimte voor navbar */
}

/* ====== HEADER ====== */

.app-header {
  background-color: #139ed0;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-logo {
  font-size: 50px;
}

.app-titel {
  font-size: 24px;
  font-weight: bold;
}

.nav-icon-settings {
  font-size: 40px;
  color: white;
}

/* Verwijder underline van ALLE header links */
.app-header a,
.app-header a:visited,
.app-header a:hover,
.app-header a:active {
  text-decoration: none;
  color: inherit;
}

/* ====== MAIN CONTENT ====== */

.main-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ====== GESCHIEDENIS ITEMS ====== */

.geschiedenis-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  margin-top: 10px;
}

.geschiedenis-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.geschiedenis-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meting-waarden {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.meting-datum {
  font-size: 14px;
  color: #139ed0;
  font-weight: bold;
}

.meting-notitie {
  font-size: 14px;
  color: #666;
}

.geschiedenis-rechts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.status-badge {
  font-size: 14px;
  font-weight: bold;
}

.verwijder-knop {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.leeg-tekst {
  color: #666;
  font-size: 16px;
  text-align: center;
  padding: 20px;
}

/* ====== PAGINATIE ====== */

.paginatie {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.paginatie button {
  background-color: #139ed0;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.paginatie button:disabled {
  background-color: #9acfe4;
  cursor: default;
}

.paginatie span {
  font-size: 14px;
  color: #333;
}

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

.Bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #139ed0;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.Bottom-nav a {
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-icon {
  font-size: 24px;
  align-self: center;
}

.Bottom-nav a.active {
  color: #000000;
  font-weight: bold;
}

/* ===== FILTER KNOPPEN ===== */

.filter-container {
  display: flex;
  gap: 10px;
  padding: 20px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background-color: var(--card-bg);
  color: var(--text);
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
  background-color: var(--accent);
  color: white;
}

@import url("../Css/theme.css");

.geschiedenis-item {
  padding: 16px;
  margin: 16px;
  background-color: var(--card-bg);
  color: var(--text);
  border-radius: 8px;
}

.meting-waarden,
.meting-datum,
.meting-notitie {
  color: var(--text);
}

.status-badge {
  font-weight: bold;
}

.verwijder-knop {
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
}
