/* ============================= */
/* Algemeen / Reset */
/* ============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

/* ============================= */
/* Header */
/* ============================= */

header {
  background: #ffffff;
  padding: 7px 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center; /* nav in het midden */
  position: relative;
  gap: 50px; /* ruimte tussen logo, nav en knop */
}

/* Logo links */
.logo {
  margin-right: auto; /* duwt logo links */
}

.logo img {
  height: 50px;
}

/* Navigatie gecentreerd */
nav {
  display: flex;
  gap: 15px; /* ruimte tussen links */
}

/* Nav links styling */
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
}

nav a:hover {
  background: rgba(0, 87, 179, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #0057b3;
}

/* Plaats advertentie knop rechts */
.header-button {
  margin-left: auto; /* duwt knop naar rechts */
}

.plaats-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.plaats-btn .icoon {
  width: 16px;
  height: auto;
  vertical-align: middle;
}

.plaats-btn:hover {
  background: linear-gradient(135deg, #007bff, #0056b3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Vind knop */
.vindbtn {
  background: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.vindbtn .icoon {
  width: 16px;
  height: auto;
  vertical-align: middle;
}

.vindbtnbtn:hover {
  background: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ============================= */
/* Responsive header */
/* ============================= */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  nav {
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;
  }

  .header-button {
    margin-left: 0;
    width: 100%;
  }
}

/* ============================= */
/* Hero / Banner */
/* ============================= */

.hero {
  background: url("images/banner.jpg") no-repeat center center / cover;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  color: #000000;
}

.hero-content {
  background: rgba(0, 0, 0, 0);
  display: inline-block;
  padding: 20px 40px;
  border-radius: 12px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #007bff;
}

.hero p {
  font-size: 1.2rem;
  color: #007bff;
}

#plaatsButton {
  background: #007bff;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  margin-top: 30px;
}

#plaatsButton:hover {
  background: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ============================= */
/* Sectie stijl */
/* ============================= */

.section {
  padding: 50px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #000000;
  margin-bottom: 30px;
}

/* ============================= */
/* Blog sectie */
/* ============================= */

/* ============================= */
/* Community sectie (zelfde stijl) */
/* ============================= */

.community-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.community-header {
  text-align: center;
  margin-bottom: 40px;
}

.community-header h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
}

.community-header p {
  color: #555;
  margin-bottom: 25px;
}

.community-btn {
  display: inline-block;
  padding: 12px 26px;
  background: #007bff;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.community-btn:hover {
  background: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Cards exact zoals voertuigen */
.community-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.community-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.community-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.community-card-content {
  padding: 16px;
}

.community-card-content h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #000;
}

.community-card-content p {
  font-size: 0.9rem;
  color: #555;
}

.community-meta {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #777;
}


/* ============================= */
/* Layout: banners + formulier */
/* ============================= */

.page-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 20px;
  gap: 20px;
}

.banner {
  width: 160px;
  min-height: 600px;
  background: #e0e0e0;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
  display: block;
}

.form-wrapper {
  flex: 1;
  max-width: 600px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Formulier velden */
.form-wrapper label {
  margin-top: 15px;
  font-weight: bold;
}

.form-wrapper input,
.form-wrapper textarea,
.form-wrapper select,
.form-wrapper button {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
  font-weight: bold;
}

.form-wrapper button {
  margin-top: 5px;
  background: #007bff;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.form-wrapper button:hover {
  background: #0056b3;
}

.hidden {
  display: none;
}

/* ============================= */
/* Dropdown */
/* ============================= */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
  color: #000;
  padding: 0;
  margin: 0;
  text-decoration: none;
  font-weight: normal;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

/* Desktop hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobiel/touch via JS */
.dropdown-content.show {
  display: block;
}

/* ============================= */
/* Boost tekst popup */
/* ============================= */

.boost-text {
  color: black;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  margin-bottom: -20px;
  margin-top: 15px;
  padding: 6px 2px;
  z-index: 10;
  text-align: left;
}

.boost-text:hover {
  color: #555;
}

/* Overlay (scherm donker) */
#boostPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#boostPopup.hidden {
  display: none;
}

/* Popup content */
.boost-popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.25s ease-in-out;
}

#boostPopup.show .boost-popup-content {
  transform: scale(1);
  opacity: 1;
}

/* Sluitkruis */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* ============================= */
/* Bundles */
/* ============================= */

.bundles {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.bundle {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
}

.bundle h4 {
  margin-bottom: 5px;
}

.select-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.select-btn:hover {
  background-color: #007bff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0 auto;
  align-items: stretch;
  max-width: 1400px;
}

.cards > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.cards > div:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.cards img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cards h3 {
  font-size: 1rem;
  margin: 10px 15px 5px;
}

.cards p {
  font-size: 0.9rem;
  margin: 0 15px 15px;
  color: #555;
}

.card.fade-out {
  opacity: 0;
  transform: translateX(-25px);
  transition: opacity .4s, transform .4s;
}

.card.fade-in {
  opacity: 0;
  transform: translateX(25px);
  animation: fadeIn .4s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card-info {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #fff;
  border-radius: 8px;
}
.card-title {
  font-size: 1rem;       /* iets kleiner */
  font-weight: 600;      /* minder dik */
  color: #111;
}

.card-price {
  font-size: 1rem;       /* iets kleiner */
  font-weight: 600;      /* minder dik */
  color: #111;
}

.card-details {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.card-details p {
  margin: 2px 0;
  font-size: 0.825rem;   /* iets kleiner en subtieler */
  color: #555;
}

.left-details, .right-details {
  display: flex;
  flex-direction: column;
  gap: 2px;              /* kleine ruimte tussen regels */
}

/* Turbo label blijft opvallend */
.geboost-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff004c;
  color: white;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 5px;
  z-index: 10;
  text-transform: uppercase;
}
/* Zorg dat de prijs subtiel opvalt zonder te overheersen */
.card-price::before {
  content: "";
  font-weight: 500;
  margin-right: 2px;
}

.icon-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #555;
}

.icon-line img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.75;
}

.icon-line span {
  line-height: 1.2;
}

/* ============================= */
/* Responsive cards */
/* ============================= */

@media (max-width: 1200px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* Footer (zelfde stijl als site) */
/* ============================= */

.site-footer {
  background: #ffffff;
  margin-top: 80px;
  border-top: 1px solid #e5e5e5;
}

.footer-container {
  max-width: 1400px;
  margin: auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column h3 {
  color: #000;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-column p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.25s ease;
}

.footer-column a:hover {
  color: #007bff;
  transform: translateX(3px);
}

.footer-socials a {
  display: inline-block;
  margin-right: 12px;
  color: #000;
  font-size: 0.9rem;
  font-weight: bold;
}

.footer-socials a:hover {
  color: #007bff;
}

.footer-bottom {
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 18px;
  font-size: 0.8rem;
  color: #666;
}

/* =========================
   UPLOAD BOX
========================= */
.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 160px;

  border: 2px dashed #0a7cff;
  border-radius: 14px;

  cursor: pointer;
  text-align: center;
  padding: 22px;
  margin: 12px 0;

  background: linear-gradient(180deg, #f9fbff, #f1f6ff);
  transition: 
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.15s ease;
}

.upload-box:hover {
  background: #eef5ff;
  border-color: #065ec2;
  transform: scale(1.01);
}

.upload-box.dragover {
  background: #e8f1ff;
  border-color: #003f9e;
  box-shadow: 0 0 0 4px rgba(10,124,255,0.15);
}

/* =========================
   UPLOAD TEXT
========================= */
.upload-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.upload-text {
  font-weight: 600;
  font-size: 1rem;
  color: #0a7cff;
}

.upload-subtext {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

/* =========================
   PREVIEW CONTAINER
========================= */
.preview-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 naast elkaar */
  gap: 12px;
  margin-top: 12px;
}

/* =========================
   PREVIEW ITEM
========================= */
.preview-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* altijd vierkant */
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
}

.preview-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* vult vak zonder vervormen */
  display: block;
}

/* =========================
   DELETE BUTTON
========================= */
.preview-item button {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 16px;
  line-height: 26px;
}

.preview-item button:hover {
  background: red;
}


/* =========================
   MOBILE FIX
========================= */
@media (max-width: 600px) {
  .preview-item img {
    height: 90px;
  }
}

.dashboard-mijn-ads {
  max-width: 1100px;
  margin: 40px auto;
}
/* Container van ALLE advertenties */
#mijn-advertenties {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 🔥 2 advertenties per rij */
  gap: 20px;
  align-items: stretch;
}

.mijn-ad-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.mijn-ad-card img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}
.mijn-ad-info h3 {
  font-size: 0.95rem;
}
.mijn-ad-info .prijs {
  font-weight: 700;
  font-size: 0.9rem;
}
.mijn-ad-info .meta {
  font-size: 0.75rem;
  color: #666;
  margin-top: 4px;
}
/* =============================
   DASHBOARD ACTIE KNOPPEN
============================= */
.mijn-ad-acties {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* ALTIJD 2 per rij */
  gap: 8px;
  margin-top: 10px;
  justify-items: center; /* knoppen mooi in het midden */
}

/* Basis voor alle knoppen */
.mijn-ad-acties button {
  width: 100%;               /* vult grid‑cel */
  appearance: none;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;   /* TEKST + ICOON IN HET MIDDEN */
  gap: 6px;
  transition: 
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mijn-ad-acties .btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* 👁 Bekijken */
.mijn-ad-acties .bekijk-btn {
  background: #000;
  color: #fff;
}
.mijn-ad-acties .bekijk-btn:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* ✏️ Bewerken */
.mijn-ad-acties .bewerk-btn {
  background: #007bff;
  color: #fff;
}
.mijn-ad-acties .bewerk-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,123,255,0.35);
}

/* ✅ Verkocht */
.mijn-ad-acties .verkocht-btn {
  background: #16a34a;        /* strak groen */
  color: #fff;
}

.mijn-ad-acties .verkocht-btn:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(22,163,74,0.35);
}

/* 🗑 Verwijderen */
.mijn-ad-acties .verwijder-btn {
  background: #ff3b3b;
  color: #fff;
}
.mijn-ad-acties .verwijder-btn:hover {
  background: #d60000;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255,59,59,0.4);
}

/* 📱 Mobile: onder elkaar */
@media (max-width: 600px) {
  .mijn-ad-acties {
    flex-direction: column;
  }
}

.meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: #555;
  margin-top: 6px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.meta-item img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.mijn-ad-meta .icon-boost {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  filter: grayscale(100%);
}

/* Dashboard welcome container */
.dashboard-welcome {
  max-width: 1100px;
  margin: 40px auto 30px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tekst links */
.dashboard-welcome h1 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dashboard-welcome p {
  font-size: 0.9rem;
  color: #666;
}

/* Logout knop – strak rood */
.logout-btn {
  background: #ff3b3b;
  color: #fff;
  padding: 9px 18px;
  border-radius: 10px;           /* geen pill, maar strak */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.logout-btn:hover {
  background: #e60000;
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 700px) {
  .dashboard-welcome {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .logout-btn {
    align-self: flex-end;
  }
}
/* =============================
   DASHBOARD – FAVORIETEN (ECHTE HUISTIJL)
============================= */

.dashboard-favorieten {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 10px;
}

.dashboard-favorieten h3{
  font-size: 0.95rem;
  margin-bottom: 22px;
  color: #000;
}

/* =============================
   DASHBOARD – FAVORIETEN (VERBETERD)
============================= */

#favorieten-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 18px;
}

/* Card */
.favoriet-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.favoriet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.2);
}

/* Foto */
.favoriet-card img {
  width: 130px;
  height: 95px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Content */
.favoriet-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Titel */
.favoriet-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
  line-height: 1.3;
}

/* Prijs */
.favoriet-info .prijs {
  font-size: 0.9rem;
  font-weight: 800;
  color: #007bff;
  margin-bottom: auto;
}

/* Favorieten – bekijk knop (zelfde stijl als bewerk-btn) */
.favoriet-info .bekijk-btn {
  background: #007bff;
  color: #fff;
  border: none;

  padding: 6px 14px;        /* 🔹 kleiner */
  font-size: 0.75rem;       /* 🔹 iets subtieler */
  font-weight: 600;         /* 🔹 niet dikgedrukt */
  border-radius: 999px;

  width: auto;              /* 🔥 NIET full width */
  align-self: flex-start;   /* links zoals bewerk-btn */

  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* Hover exact zoals bewerk-btn */
.favoriet-info .bekijk-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,123,255,0.35);
}

/* Active (klik) */
.favoriet-info .bekijk-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,123,255,0.25);
}

/* Mobile */
@media (max-width: 600px) {
  .favoriet-card img {
    height: 160px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .favoriet-card {
    flex-direction: column;
  }

  .favoriet-card img {
    width: 100%;
    height: 160px;
  }
}

/* =============================
   BEWERK ADVERTENTIE PAGINA
============================= */

.bewerk-container {
  max-width: 700px;
  margin: 50px auto;
  padding: 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.bewerk-container h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 22px;
  color: #000;
}

/* Form layout */
#bewerkForm {
  display: grid;
  gap: 14px;
}

/* Labels */
#bewerkForm label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
}

/* Inputs & selects */
#bewerkForm input,
#bewerkForm select,
#bewerkForm textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

#bewerkForm textarea {
  resize: vertical;
  min-height: 120px;
}

/* Focus state */
#bewerkForm input:focus,
#bewerkForm select:focus,
#bewerkForm textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}

/* Opslaan knop */
#bewerkForm button {
  margin-top: 10px;
  background: #007bff;
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(0,123,255,0.35);
}

#bewerkForm button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,123,255,0.45);
}

/* Status tekst */
#status {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 600px) {
  .bewerk-container {
    margin: 30px 12px;
    padding: 20px;
  }
}

/* =============================
   UNREAD BADGE
============================= */
.nav-chat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Badge zelf */
.unread-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;

  background: #007bff;          /* huisstijl blauw */
  color: #fff;

  font-size: 0.7rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;

  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,123,255,0.35);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  animation: badgePop 0.25s ease;
}

/* Animatie subtiel */
@keyframes badgePop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Geen badge als 0 */
.unread-badge:empty {
  display: none;
}

.dashboard-badge {
  background: #ff3b3b; /* zelfde rood als logout */
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(255,59,59,0.35);
}

/* =============================
   CHAT POPUP – RIJMARKT STIJL
============================= */

/* Popup container */
.chat-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 340px;
  height: 460px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
}

.chat-popup:not(.hidden) {
  animation: chatFadeIn 0.25s ease;
}

/* Animatie bij openen */
@keyframes chatFadeIn {
  from {
    transform: translateY(15px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.chat-popup.hidden {
  display: none;
}

.chat-popup-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: grab;
  height: 50px; /* vaste hoogte van de header */
}

.chat-popup-header img.chat-icon {
  width: 48px;          /* groter icoon */
  height: 48px;
  object-fit: contain;
  display: block;
  margin-right: 8px;
  /* Verticaal centreren binnen vaste header */
  margin-top: calc((50px - 48px) / 2); /* (headerhoogte - icoonhoogte) / 2 */
}

.chat-popup-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: grab;
}

.chat-popup-header span {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* Header buttons */
.chat-popup-actions {
  display: flex;
  gap: 6px;
}

.chat-popup-actions button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.15s ease;
}

.chat-popup-actions button:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.05);
}

/* =============================
   BODY / CHAT LIST
============================= */
.chat-popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  background: #f8f9fb;
}

/* Scrollbar subtiel */
.chat-popup-body::-webkit-scrollbar {
  width: 6px;
}
.chat-popup-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}

/* =============================
   CHAT ITEM
============================= */
.chat-popup-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  align-items: center;
}

.chat-popup-item:hover {
  background: #eef4ff;
  transform: translateY(-2px);
}

/* Profielfoto */
.chat-popup-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #ddd;
}

/* Tekst */
.chat-popup-item strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: #000;
}

.chat-popup-item small {
  font-size: 0.78rem;
  color: #555;
}

/* =============================
   GEEN CHATS TEKST
============================= */
#chatPopupList p {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  margin-top: 20px;
}

/* =============================
   CHAT BUBBLE
============================= */
.chat-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,123,255,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-bubble:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 35px rgba(0,123,255,0.6);
}

.chat-bubble-icon {
  width: 48px;   /* groter dan 32px */
  height: 48px;
  object-fit: contain;
}
.chat-bubble {
  /* font-size: 24px; */ /* niet meer nodig */
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,123,255,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* =============================
   RESPONSIVE
============================= */
@media (max-width: 480px) {
  .chat-popup {
    width: calc(100% - 20px);
    height: 70vh;
    right: 10px;
    bottom: 10px;
  }
}

.chat-popup-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-popup-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-time {
  font-size: 0.7rem;
  color: #666;
}

.chat-popup-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-popup-bottom small {
  font-size: 0.75rem;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* 🔵 ONGELEZEN BOLLETJE */
.chat-unread-dot {
  width: 10px;
  height: 10px;
  background: #0d6efd;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(13,110,253,.2);
  flex-shrink: 0;
}

/* =============================
   DASHBOARD – BERICHTEN CARD
============================= */
.dashboard-berichten {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 10px;
}

.berichten-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #000;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform .25s ease, box-shadow .25s ease;
}

.berichten-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

/* Linkerkant */
.berichten-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.berichten-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,123,255,0.4);
}
.berichten-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.berichten-icon1 {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,123,255,0.4);
}
.berichten-icon1 img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.berichten-text h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.berichten-text p {
  font-size: 0.85rem;
  color: #666;
}

/* Badge rechts */
.berichten-card .unread-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  background: #ff3b3b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255,59,59,0.4);
}

/* =============================
   HOME ZOEKBOX – RIJMARKT STIJL
============================= */
.home-zoekbox {
  background: url("images/banner.jpg") center / cover no-repeat;
  padding: 35px 20px;        /* minder hoog */
}

.zoekbox-inner {
  max-width: 1000px;
  margin: auto;
  background: #fff;
  border-radius: 14px;
  padding: 22px;             /* minder padding */
  box-shadow: 0 6px 18px rgba(0,0,0,0.15); /* geen glow */
}

.zoekbox-heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
}

.zoekbox-sub {
  font-size: 15px;
  color: #666;
  margin-bottom: 18px;
  text-align: center;
}

.zoekbox-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.zoekbox-tabs .tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.zoekbox-tabs .tab.active {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border-color: #007bff;
}


/* Content */
.zoekbox-content {
  display: none;
  gap: 12px;
}
.zoekbox-content.active {
  display: flex;
  justify-content: center;     /* 🔥 alles in het midden */
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* Inputs */
.zoekbox-content input,
.zoekbox-content select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Resultaten knop – STABIEL */
.zoekbox-content button {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;              /* ❌ geen glow */
  transition: background .2s ease, transform .15s ease;
  white-space: nowrap;
}
.zoekbox-content button:hover {
  background: linear-gradient(135deg, #007bff, #0056b3);
  transform: translateY(-1px);   /* subtiel */
}

/* Mobiel: knop onder inputs */
@media (max-width: 768px) {
  .zoekbox-content.active {
    grid-template-columns: 1fr;
  }
  .zoekbox-content button {
    width: 100%;
  }
}

/* ============================= */
/* VERZEKERCHECK RESULTAAT */
/* ============================= */

.resultaat-box {
  margin-top: 25px;
  padding: 25px;
  border-radius: 16px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,123,255,0.35);
}

.resultaat-box h2 {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 10px;
}

.resultaat-prijs {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 10px 0;
}

.resultaat-sub {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ================================
   VERZEKERCHECK – RIJMARKT STIJL
================================ */

.verzekercheck {
  padding: 60px 20px;
  background: #f8f9fb;
}

.verzekercheck__container {
  max-width: 950px;
  margin: auto;
}

.verzekercheck__header {
  text-align: center;
  margin-bottom: 40px;
}

.verzekercheck__title {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.verzekercheck__subtitle {
  font-size: 0.95rem;
  color: #666;
}

/* Cards */

.verzekercheck__card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

/* Form layout */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 700;
  margin-bottom: 6px;
}

input, select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all .2s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}

/* Input + button group */

.input-group {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.input-group input {
  flex: 1;
}

/* Buttons */

.btn-primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #007bff, #0056b3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

.btn-full {
  width: 100%;
}

/* Resultaat */

.verzekercheck__result {
  margin-top: 30px;
  padding: 30px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.verzekercheck__result h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

.verzekercheck__result strong {
  font-size: 2rem;
  color: #007bff;
  font-weight: 800;
}

/* Utility */

.hidden {
  display: none;
}

/* Responsive */

@media (max-width: 600px) {
  .input-group {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
  }
}

.verzekercheck__card {
  text-align: center;
}

/* Zorg dat alles onder elkaar staat */
#kentekenStap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Label boven de plaat */
.kenteken-label {
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

/* Container = referentie voor absolute positioning */
.kenteken-container {
  position: relative;
  width: 100%;
  max-width: 340px;
}

/* Afbeelding */
.kenteken-img {
  width: 100%;
  display: block;
}

/* Input exact over de image */
#kentekenInput {
  position: absolute;
  inset: 0; /* exact even groot als image */

  width: 100%;
  height: 100%;

  background: transparent;
  border: none;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 4px;
  color: black;

  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;

  caret-color: black;
}

/* Glow volledig uitschakelen */
#kentekenInput:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* advertentie pagina*/  
/* Wrapper kentekenplaat */
.kenteken-advertentie-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent !important; /* achtergrond verwijderen */
  padding: 0;
}

/* Container kentekenplaat */
.kenteken-advertentie-wrapper .kentekenplaatads-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 520 / 110;
  background: transparent !important; /* achtergrond verwijderen */
}

/* Kentekenplaat afbeelding */
.kenteken-advertentie-wrapper .kentekenplaat-imgads {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  /* Voeg dit toe om iets lager te plaatsen */
  margin-top: 20px; /* pas het getal aan naar wens */
}


/* Input gecentreerd over de plaat */
.kenteken-advertentie-wrapper .kentekenplaat-inputads {
  position: absolute;
  top: 15px;             /* gelijk aan margin-top van de plaat */
  left: 0;
  width: 100%;
  height: calc(100% - 20px); /* past bij top, zodat de input over de plaat valt */
  background: transparent !important;
  border: none;
  text-align: center;
  font-size: clamp(18px, 5vw, 36px);
  font-weight: bold;
  letter-spacing: 0.25em;
  outline: none;
  caret-color: black;
  display: flex;
  align-items: center;      /* verticaal centreren in input */
  justify-content: center;  /* horizontaal centreren */
}

/* Focus styling uit */
.kenteken-advertentie-wrapper .kentekenplaat-inputads:focus {
  outline: none;
  box-shadow: none;
}


.btn-primary {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background: linear-gradient(135deg, #007bff, #0056b3);
}

/* Optioneel: responsive kleine schermen */
@media (max-width: 600px) {
  .kenteken-container {
    width: 100%;
    height: auto;
  }

  #kenteken {
    font-size: 24px;
    letter-spacing: 3px;
  }
}
/* =============================
   PRICING SECTION
============================= */
.pricing-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.pricing-header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.pricing-header p {
  color: #666;
  margin-bottom: 50px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.pricing-card h2 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #007bff; 
}

.price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
}

.features {
  list-style: none;
  margin-bottom: 30px;
}

.features li {
  margin-bottom: 10px;
  color: #555;
  font-size: 0.9rem;
}

.pricing-card button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.pricing-card button:hover {
  background: #007bff;
  transform: translateY(-2px);
}

/* POPULAR BADGE */
.pricing-card.popular {
  border: 2px solid #007bff;
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #007bff;
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* =============================
   COMPARE SECTION
============================= */
.compare-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.compare-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.compare-table {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  padding: 18px 25px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.compare-row.header {
  background: #f8f9fb;
  font-weight: 800;
}

.compare-row div {
  font-size: 0.9rem;
  font-weight: bold;
}

.compare-row:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}/* ================================
   PRICING CARDS – CLEAN PREMIUM
================================ */

.pricing-section {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
  text-align: center;
}

.pricing-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.pricing-header p {
  color: #666;
  margin-bottom: 60px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.pricing-card {
  background: #fff;
  padding: 45px 30px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  transition: 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.pricing-card h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.pricing-card button {
  background: #000;
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.pricing-card button:hover {
  background: #007bff;
  transform: translateY(-2px);
}

.pricing-card.popular {
  border: 2px solid #007bff;
}

.badge {
  position: absolute;
  top: -14px;
  right: 25px;
  background: #007bff;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
/* ===================================
   CHECKOUT – COMPLETE PREMIUM LAYOUT
=================================== */

.checkout-wrapper {
  display: flex;
  gap: 80px;
  padding: 80px 10%;
  align-items: flex-start;
}

/* ================= LEFT SIDE ================= */

.checkout-left {
  flex: 1.5;
}

.checkout-left h1 {
  font-size: 1.9rem;
  margin-bottom: 30px;
}

.duration-container {
  background: #fff;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.duration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 15px;
}

.month-dropdown {
  width: 170px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

/* SAVE BLOCK */
.save-box {
  text-align: right;
  min-width: 170px;
}

.save-amount {
  font-size: 14px;
  font-weight: 700;
  color: #16a34a;
}

.per-month {
  font-size: 13px;
  margin-top: 4px;
}

.new-month {
  font-weight: 700;
  margin-right: 8px;
}

.old-month {
  text-decoration: line-through;
  color: #999;
  font-size: 12px;
}

/* ================= RIGHT SIDE ================= */

.checkout-right {
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  position: sticky;
  top: 120px;
}

.checkout-right h2 {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.summary-benefits {
  margin-top: 15px;
  margin-bottom: 10px;
}

.benefit-line {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.total-price {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
  margin-right: 8px;
  font-weight: 400;
}

.new-price {
  font-size: 1.4rem;
  font-weight: 800;
}

/* DISCOUNT BOX */

.discount-box {
  margin-top: 25px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg,#007bff,#0056d6);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

/* CHECKOUT BUTTON */

.checkout-btn {
  margin-top: 35px;
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg,#007bff,#0056d6);
  color: #fff;
  cursor: pointer;
  transition: 0.25s ease;
}

.checkout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,123,255,0.4);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .checkout-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .checkout-right {
    position: static;
  }

  .duration-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .save-box {
    text-align: left;
  }
}

/* =============================
   DASHBOARD TOP CARDS
============================= */

.dashboard-top{
  max-width:1100px;
  margin:20px auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.dashboard-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff;
  padding:18px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,0.1);
  text-decoration:none;
  color:#000;
  transition:transform .2s ease, box-shadow .2s ease;
}

.dashboard-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 26px rgba(0,0,0,0.2);
}

.dashboard-left{
  display:flex;
  align-items:center;
  gap:14px;
}

.dashboard-icon img{
  width:36px;
  height:36px;
}

.dashboard-text h3{
  font-size:1rem;
  margin-bottom:3px;
}

.dashboard-text p{
  font-size:0.8rem;
  color:#666;
}

.card-detailsonderdeel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-top: 6px;
}

.card-detailsonderdeel .icon-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #555;
}

.card-detailsonderdeel img {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

/* =============================
   ABONNEMENT STATUS
============================= */

.subscription-status {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.subscription-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  max-width: 520px;
  width: 100%;
  text-align: center;

  box-shadow: 0 8px 22px rgba(0,0,0,0.12);

  transition: transform .25s ease, box-shadow .25s ease;
}

.subscription-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.subscription-card h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.subscription-plan {
  font-weight: 700;
  color: #007bff;
  margin-bottom: 14px;
}

/* progress bar */

.subscription-bar {
  width: 100%;
  height: 10px;
  background: #e5e5e5;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 12px;
}

.subscription-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg,#007bff,#0056b3);
  border-radius: 20px;
  transition: width 0.4s ease;
}

.subscription-time {
  font-size: 0.9rem;
  color: #555;
}

.maandkosten-preview{
  padding:60px 20px;
  background:#ffffff;
  text-align:center;
}

.maandkosten-box{
  max-width:600px;
  margin:auto;
}

.maandkosten-box h2{
  font-size:28px;
  margin-bottom:10px;
}

.maandkosten-box p{
  color:#666;
  margin-bottom:25px;
}

.maandkosten-btn{
  display:inline-block;
  padding:12px 26px;
  background:linear-gradient(135deg,#007bff,#0056b3);
  color:white;
  font-weight:700;
  border-radius:999px;
  text-decoration:none;
  transition:0.2s;
}

.maandkosten-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,123,255,0.3);
}
.maandkosten-preview{
  padding:60px 20px;
  background:#ffffff;
  text-align:center;
}

.maandkosten-box{
  max-width:600px;
  margin:auto;
}

.maandkosten-box h2{
  font-size:28px;
  margin-bottom:10px;
}

.maandkosten-box p{
  color:#666;
  margin-bottom:25px;
}

.maandkosten-btn{
  display:inline-block;
  padding:12px 26px;
  background:linear-gradient(135deg,#007bff,#0056b3);
  color:white;
  font-weight:700;
  border-radius:999px;
  text-decoration:none;
  transition:0.2s;
}

.maandkosten-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,123,255,0.3);
}

/* ===================================
   COMPLETE MOBILE OPTIMIZATION
=================================== */

@media (max-width: 768px) {

  /* algemene spacing */
  body {
    font-size: 14px;
  }

  .section {
    padding: 35px 15px;
  }

  /* header */
  header {
    padding: 10px 15px;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  nav a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .header-button {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* hero */
  .hero {
    padding: 70px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* community grid */
  .community-grid {
    grid-template-columns: 1fr;
  }

  /* cards */
  .cards {
    grid-template-columns: 1fr;
  }

  /* dashboard cards */
  .dashboard-top {
    grid-template-columns: 1fr;
  }

  /* favorieten */
  #favorieten-container {
    grid-template-columns: 1fr;
  }

  /* banners verwijderen mobiel */
  .banner {
    display: none;
  }

  /* pagina container */
  .page-container {
    flex-direction: column;
    gap: 25px;
  }

  .form-wrapper {
    max-width: 100%;
  }

  /* pricing */
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  /* compare table */
  .compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  /* footer */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* chat popup */
  .chat-popup {
    width: calc(100% - 20px);
    right: 10px;
    bottom: 10px;
    height: 70vh;
  }

  /* zoekbox */
  .zoekbox-content.active {
    flex-direction: column;
    align-items: stretch;
  }

  .zoekbox-content input,
  .zoekbox-content select,
  .zoekbox-content button {
    width: 100%;
  }

}

/* =============================
   ADS INFO BOX (zelfde style als cards)
============================= */
.ads-info-box {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 10px;
}

.ads-info-box div {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);

  transition: transform .2s ease, box-shadow .2s ease;
}

.ads-info-box div:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.2);
}

/* links (tekst) */
.ads-info-left {
  display: flex;
  flex-direction: column;
}

.ads-info-left strong {
  font-size: 1rem;
  font-weight: 800;
}

.ads-info-left span {
  font-size: 0.85rem;
  color: #666;
}

/* rechts (aantal) */
.ads-info-right {
  text-align: right;
}

.ads-count {
  font-size: 1.1rem;
  font-weight: 800;
}

/* remaining */
.ads-remaining {
  font-size: 0.85rem;
  font-weight: 700;
}

/* kleuren zoals jouw style */
.ads-remaining.ok {
  color: #28a745;
}

.ads-remaining.low {
  color: #ff9800;
}

.ads-remaining.zero {
  color: #ff3b3b;
}