/* BASISINSTELLINGEN */
:root {/*CF2027*/

    --color-primary: #1C5062; 
    --color-secondary: #4a7d61; 
    --color-gradient:linear-gradient(
      135deg,
      rgba(28, 80, 98, 0.9),
      rgba(74, 125, 97, 0.9)
    );
    --color-accent: #F7D115;
    --color-headings: white;
    --color-text: black;
    --color-body: #918ca4;
    --color-body-darker: #5c5577;
    --color-border: #e58425;
    --border-radius: 30px;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: var(--color-headings);
    color: var(--color-body);
  }
  
  a {
    color: var(--color-headings);
    text-decoration: none;
  }
  
  /* a:hover {
    text-decoration: underline;
  } */
  
  .container {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    gap: 2rem;
    padding: 0 1rem;
  }

  .container h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0rem;
  }
  
  /* HEADER */
  .site-header {
    background: linear-gradient(
      135deg,
      rgba(28, 80, 98, 0.9),
      rgba(74, 125, 97, 0.9)
    );
    border-bottom: 1px solid #ddd;
  }
  
  .top-bar {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
  }
  
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem 2rem;
    flex-wrap: wrap;
  }
  
  .logo {
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--color-headings);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .logo img {
    height: 48px;
    width: auto;/* Adjustable height */
  }
  
  .search-form {
    flex: 1;
    max-width: 400px;
    margin: 0 1rem;
    display: flex;
  }
  
  .search-form input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px 0 0 4px;
  }

  .search-form input[type="search"] {
    flex: 1;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
  }
  
  .search-form button {
    padding: 0.5rem 1rem;
    border: none;
    background-color: var(--color-primary);
    color: white;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    margin-left: -10rem;
    padding: 0;
  }
  
  .nav-links li {
    font-weight: bold;
  }





  
  /* HERO */
  .hero {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
  }
  
  .hero-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
  }

  .hero-overlay .img{
    width: 6px;
    height: 6px;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin: 0;
  }
  
  /* INTRO */
  .intro {
    background-color: #fff;
    padding: 1rem 2rem;
    font-size: 1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    border-bottom: 1px solid #ddd;
  }

  .gallery {
    background-color: #fff;
    padding: 1rem 2rem;
    font-size: 1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    border-bottom: 1px solid #ddd;
  }
  .gallery-grid {
    display: grid;
    grid-template-areas:
      "img1 img2 img3 img4"
      "img1 img2 img5 img6";
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 0.5fr));
    gap: 10px;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    height: 300.375px; /* Adjusted height for the grid */
  }
  
  .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .img1 { grid-area: img1; }
  .img2 { grid-area: img2; }
  .img3 { grid-area: img3; }
  .img4 { grid-area: img4; }
  .img5 { grid-area: img5; }
  .img6 { grid-area: img6; }

  


  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .lightbox.hidden {
    display: none;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
  }
  
  .lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
  }

  .lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 16px;
  transform: translateY(-50%);
}

.lightbox .prev {
  left: 20px;
}

.lightbox .next {
  right: 20px;
}

  
  
  /* FILTERS */
  .filters-toggle {
    display: none;

  }

  .filters-toggle-icon {
    font-size: 0.9rem;
    transition: transform 0.15s ease;
  }

  .filters-toggle.is-open .filters-toggle-icon {
    transform: rotate(180deg);
  }


  .filters {
    flex: 0 0 280px;   /* vaste breedte 280px */
    max-width: 280px;
    max-height: fit-content;
    background: var(--color-gradient);
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 90%;
   
  }

  .filters.filters-open {
    display: block;
  }
  
  .filters form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .filters label {
    font-weight: bold;
    color: var(--color-headings);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
  }
  
  .filters select,
  .filters input {
    margin-top: 0.3rem;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  
  .filters button {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
  }

  .range-group {
    margin-top: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    
  }
  
  .range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-headings);
  }
  
  .range-group input[type="range"] {
    width: 80%;
    
  }

  .filters input[type="range"] {
    accent-color: var(--color-secondary); 
  }

  /* Kolom links: filters + advertentie */
  .side-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* links uitlijnen */
    gap: 1rem;
  }

  
  /* RESULTATEN */
  .results {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  /* De resultaten moeten de rest van de ruimte gebruiken */
.results-wrapper {
  flex: 1;
  min-width: 0;
}
  
  .results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
  } 
  
  .results-toolbar #results-count {
    color: #555;
  }
  
  .sort-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    
  }
  
  .sort-label select {
    padding: 0.25rem 0.4rem;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  /* 🔹 Currency toggle */
.currency-toggle {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid #ddd;
  overflow: hidden;
  background: #fff;
}

.currency-btn {
  border: none;
  background: transparent;
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1;
  min-width: 2.2rem;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.currency-btn + .currency-btn {
  border-left: 1px solid #ddd;
}

.currency-btn-active {
  background-color: var(--color-secondary);
  color: #fff;
}
  
  
  /* HOTEL CARD */
  .property-card {
    position: relative;
    background-color: var(--color-headings);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    gap: 1rem;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    max-height: 220px;
  }
  
  .property-card img {
    width: 250px;
    height: 100%;
    object-fit: cover;
  }
  
  .card-content {
    flex: 2;
    padding: 1rem 0;
  }
  
  .card-content h2 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-primary);
  }
  
  .card-content p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
  }
  
  .rating {
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-top: 0.3rem;
  }
  
  .features {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .features li {
    background-color: #eaf4fd;
    color: var(--color-primary);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
  }
  
  /* PRIJS BLOK */
  .price-box {
    flex: 1;
    background: var(--color-gradient);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    
  }

  .price-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  .price-input-group input[type="number"] {
    flex: 1 1 auto;
  }
  
  .price-input-group select {
    flex: 0 0 auto;
    padding: 0.35rem 0.5rem;
    border-radius: 0.4rem;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 0.9rem;
  }

  .contact-us {
    flex: 1;
    background-color: var(--color-primary);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border-radius: 8px;
    
  }
  .contact-us label {
    font-size: 0.9rem;
    color: var(--color-headings);
    margin-bottom: 0.5rem;
  }
  .contact-us h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: var(--color-headings);
  }

  .contact-us h5 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: var(--color-headings);
    margin-bottom: 0px;
  }
  .contact-us p {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: var(--color-headings);
  }
  
  .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-headings);
  }
  
  .details {
    list-style: none;
    padding: 0;
    font-size: 0.8rem;
    color: var(--color-headings);
    margin: 1rem 0;
  }
  
  .btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
  }


  .hidden {
    display: none !important;
  }

   /* Details card */

   .details-container {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    gap: 2rem;
    padding: 0 1rem;
  }

  .details-container h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0rem;
  }

  .details_card {
    background-color: var(--color-headings);
    color: var(--color-primary);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex; 
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    align-items: flex-start;
    width: 70%;
    height: fit-content;
    
  }

  .details_card h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    margin-top: 1px;
  }
  .details_card h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 8rem;
  }

/* Transfer property features */

  .transfer_details_card {
    background-color: var(--color-headings);
    color: var(--color-primary);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex; 
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    align-items: flex-start;
    width: 70%;
  }

  .transfer_details_card p {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    margin-top: 8px;
  }

  .transfer_details_card h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
  }


/* Building property features */
.building_details_card {
  background-color: var(--color-headings);
  color: var(--color-primary);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: flex; 
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  align-items: flex-start;
  width: 70%;
}

.building_details_card p {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  margin-top: 8px;
}

.building_details_card h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Layout property features */
.layout_details_card {
  background-color: var(--color-headings);
  color: var(--color-primary);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: flex; 
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  align-items: flex-start;
  width: 70%;
}

.layout_details_card p {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  margin-top: 8px;
}

.layout_details_card h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}


  .details_contact {
    background-color: var(--color-headings);
    color: var(--color-primary);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex; 
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    align-items: flex-start;
    width: 30%;
  }


  .details_card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
  }

  .details_card p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
  }

  .share-box {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
  }
  
  .share-icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  
  .share-icon-btn:hover {
    filter: brightness(0.98);
  }
  
  .share-icon {
    width: 22px;
    height: 22px;
    display: block;
  }
  
  .share-status {
    font-size: 0.9rem;
    margin-left: 0.25rem;
  }
  
 /* Google maps */

 .map-card {
  margin-top: 1.5rem;
}

.map-card h2{
  font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0rem;
    margin-left: 7.5rem;
}

.map-embed {
  width: 90%;
  aspect-ratio: 16 / 9;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hidden {
  display: none;
}




  
  /*Register Page */

  /* ===== Auth pagina (registratie / login) ===== */

.auth-body {
  background: #f5f5f7;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.auth-main {
  min-height: calc(100vh - 140px); /* ongeveer header + footer */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  background: #ffffff;
  max-width: 420px;
  width: 100%;
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.auth-subtitle {
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.auth-form .form-group {
  margin-bottom: 1rem;
}

/* Location map */

.location-map {
  width: 800px;
  height: 320px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  background: #f3f4f6;
}

/* Full width map binnen het add property gedeelte */
#add-property-section .location-map {
  width: 100%;
  height: 360px;
}

#add-property-section .location-map,
#add-property-section .location-map * {
  box-sizing: border-box;
}

/* Als je form een grid is: laat de map over alle kolommen lopen */
#add-property-section .form-group:has(.location-map) {
  grid-column: 1 / -1;
}


.latlng-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.location-actions {
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  display: grid;
}

.hint {
  color: #6b7280;
}

.hidden {
  display: none;
}


.auth-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.auth-form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: #0c7cd5;
  box-shadow: 0 0 0 2px rgba(12, 124, 213, 0.15);
}

.auth-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  cursor: pointer;
}

.auth-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.auth-message.error {
  color: #c0392b;
}

.auth-message.success {
  color: #27ae60;
}

.auth-switch {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.auth-switch a {
  color: #0c7cd5;
  text-decoration: none;
}

/* .auth-switch a:hover {
  text-decoration: underline;
} */


/* confirm */

/* ===== Confirm pagina extra styling ===== */

.resend-container {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
}

.resend-container .auth-subtitle {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.hidden {
  display: none;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.radio-group {
  display: flex;
  width: 100%;
  margin-top: 0.4rem;
}

/* Elke optie neemt 50% van de breedte */
.user-type-option {
  flex: 1;
}

/* Radio zelf verbergen */
.user-type-option input {
  display: none;
}

/* De “knop” */
.user-type-option span {
  display: flex;
  align-items: center;      /* verticaal centreren */
  justify-content: center;  /* horizontaal centreren */
  height: 3rem;             /* vaste hoogte voor mooie knoppen */
  border: 1px solid #ccc;
  margin: 0;
  padding: 0;               /* geen opvulling in de knop */
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
}

/* Hoekjes afronden alleen aan de buitenkant */
.user-type-option:first-child span {
  border-radius: 0.6rem 0 0 0.6rem;
}

.user-type-option:last-child span {
  border-radius: 0 0.6rem 0.6rem 0;
}

/* Dubbele border in het midden vermijden */
.user-type-option + .user-type-option span {
  border-left: none;
}

/* Optioneel: visuele state wanneer geselecteerd */
.user-type-option input:checked + span {
  border-color: var(--color-secondary);
  background-color: rgba(12, 124, 213, 0.06);
  font-weight: 600;
}
/* Dashboard styles */

.dashboard-main {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
}

.dashboard-card {
  background: #ffffff;
  max-width: 1050px;
  width: 100%;
  padding: 2rem 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-subtitle {
  margin: 0.15rem 0;
  color: #555;
  font-size: 0.95rem;
}

.dashboard-content {
  margin-top: 1.5rem;
}

.dashboard-content h2 {
  margin-bottom: 0.5rem;
}

.dashboard-list {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  border-radius: 0.75rem;
  border: 1px solid #e3e3ec;
  padding: 0.75rem 1rem;
  background: #fafafe;
}

.stat-card-link {
  border-radius: 0.75rem;
  border: 1px solid #e3e3ec;
  padding: 0.75rem 1rem;
  background: #fafafe;
}


.stat-label {
  display: block;
  font-size: 0.8rem;
  color: #555;
}

.stat-value {
  display: block;
  font-weight: 600;
  font-size: 1.3rem;
  margin-top: 0.1rem;
  color: var(--color-body);
}

/* Tabel kun je hergebruiken van provider, anders: */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 0.75rem;
}

.applications-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.applications-table th,
.applications-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e3e3ec;
  vertical-align: top;
}

.applications-table th {
  text-align: left;
  font-weight: 600;
  background: #f5f5fb;
}

.applications-table tbody tr:nth-child(even) {
  background: #fafafc;
}

/* Status pill */
.status-pill {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: capitalize;
}

.status-new {
  background: #eef2ff;
  color: #4338ca;
}

.status-contacted {
  background: #ecfdf3;
  color: #166534;
}

.status-closed {
  background: #fef2f2;
  color: #b91c1c;
}

.btn.btn-secondary {
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 1.7rem;
}

.btn.btn-secondary.map {
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  width: 100%;
  margin-left: 0rem;

}

.btn.btn-secondary:hover {
  background: #e8e8e8;
}

.properties-grid {
  margin-top: 1rem;
  display: grid;
  /* kaarten krijgen nooit meer dan 360px breedte */
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  gap: 1.25rem;

}

.property-item {
  background: #ffffff;
  border-radius: 0.9rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 360px;      /* extra zekerheid */
  max-height: 520px;     /* optioneel: limiet op hoogte */
}


.property-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-status {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.property-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  overflow-y: auto;
}

.property-title {
  margin: 0;
  font-size: 1rem;
}

.property-location {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.property-meta {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #555;
}

.property-meta li {
  background: #f3f3f5;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.property-price {
  margin: 0.4rem 0 0;
  font-weight: 600;
  font-size: 1rem;
}

.property-descr {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #555;
}

.property-actions {
  margin-top: 0.6rem;
  display: flex;
  justify-content: flex-start;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.add-property-section {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #f8f8fb;
  border: 1px solid #e0e0ea;
}

.add-property-section h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.property-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.property-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.property-form label {
  font-size: 0.85rem;
  font-weight: 500;
}

.property-form input,
.property-form select,
.property-form textarea {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
}

.property-form textarea {
  resize: vertical;
}

.form-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.form-message {
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form-message.error {
  color: #c0392b;
}

.form-message.success {
  color: #27ae60;
}

.dashboard-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-danger {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 0.6rem;
  color: #fff;
  cursor: pointer;
  border: 1px solid #ccc;
  background: #fff;
}

.btn-danger:hover {
  background: #c0392b;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

/* Zodat de icon-knoppen niet veel groter zijn dan de tekstknop ernaast */
.property-actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.property-card-inner {
  position: relative;
}

.favorite-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  z-index: 2;
}

.favorite-btn.favorite-active {
  color: var(--color-accent);
}


.price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.details-image-wrapper {
  position: relative;
  display: inline-block; /* zodat de wrapper strak om de afbeelding valt */
}

/* Zelfde style als op de index-kaarten, maar nu linksboven */
.favorite-btn-details {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  z-index: 2;
}

/* Als je al .favorite-btn.favorite-active hebt, wordt die ook hier gebruikt */
.favorite-btn-details.favorite-active {
  color: var(--color-secondary);
}

.apply-card {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #f8f8fb;
  border: 1px solid #e0e0ea;
  max-width: 520px;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.apply-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.apply-form label {
  font-size: 0.85rem;
  font-weight: 500;
}

.apply-form input,
.apply-form textarea {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
}

.apply-form textarea {
  resize: vertical;
}


.icon-btn {
  position: relative;
  border: none;
  background: #f1f1f6;
  border-radius: 999px;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

.icon-btn:hover {
  background: #e1e1ee;
}

.icon-btn .icon {
  line-height: 1;
}

/* Badge naast icoon */
.badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge.hidden {
  display: none;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 0.75rem;
}

#seeker-applications-btn{
  margin-left: auto;
  display: inline-block;
  background-color: var(--color-secondary);
  color: white;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
}

.applications-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.applications-table th,
.applications-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e3e3ec;
  vertical-align: top;
}

.applications-table th {
  text-align: left;
  font-weight: 600;
  background: #f5f5fb;
}

.applications-table tbody tr:nth-child(even) {
  background: #fafafc;
}

.applications-table td .property-title-link {
  font-weight: 500;
  text-decoration: none;
}

/* .applications-table td .property-title-link:hover {
  text-decoration: underline;
} */

.btn.btn-secondary.btn-sm{
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  background: var(--color-secondary);
  margin-left: 0rem;
  color: var(--color-headings);
}

.property-title-link{
  color: var(--color-body);
  text-decoration: none;
}

.seekeremail{
  color: var(--color-body);

}

.app-status-select {
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 0.8rem;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.profile-avatar {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: var(--color-secondary); /* paars/blauw tint, eventueel aanpassen */
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.profile-chip:hover .profile-avatar {
  filter: brightness(1.1);
}

.profile-card {
  max-width: 720px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profile-avatar-large {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  background: var(--color-secondary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.profile-summary {
  margin-bottom: 1.5rem;
}

.profile-meta {
  font-size: 0.8rem;
  color: #666;
}

.profile-activity {
  margin-bottom: 2rem;
}

.profile-activity h2 {
  margin-bottom: 0.5rem;
}

.profile-activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.profile-stat {
  border-radius: 0.75rem;
  border: 1px solid #e3e3ec;
  padding: 0.6rem 0.8rem;
  background: #fafafe;
}

.profile-stat .stat-label {
  display: block;
  font-size: 0.8rem;
  color: #555;
}

.profile-stat .stat-value {
  font-weight: 600;
  font-size: 1.1rem;
}

.profile-quicklink {
  font-size: 0.9rem;
}


#profile-dashboard-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
}

.application_email_link{
  color: var(--color-secondary);
  text-decoration: none;
}

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message.info,
.auth-message.info {
  color: #555;
}

/* Admin dashboard styles */

.moderation-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.mod-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
}

.mod-badge-featured {
  background: #fef3c7;
  color: #92400e;
}

.mod-badge-hidden {
  background: #e5e7eb;
  color: #374151;
}

.mod-badge-blocked {
  background: #fee2e2;
  color: #b91c1c;
}

.moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.btn-sm.mod-btn {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  cursor: pointer;
}

.btn-sm.mod-btn:hover {
  background: #e5e7eb;
}

.btn-sm.mod-btn.danger {
  border-color: #fecaca;
  color: #b91c1c;
}

.btn-sm.mod-btn.danger:hover {
  background: #fee2e2;
}

.card-image-wrapper {
  position: relative;
}

.featured-badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-primary); /* oranje */
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn-saving {
  position: relative;
  color: transparent; /* tekst verbergen, breedte behouden */
}

.btn-saving::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  animation: spin-btn 0.6s linear infinite;
}

@keyframes spin-btn {
  to {
    transform: rotate(360deg);
  }
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}

.views-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.views-pill-overlay {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.5); /* iets softer */
  color: #e5e7eb;
}

.views-icon-svg {
  width: 14px;
  height: 14px;
  display: block;
  opacity: 0.9;              /* subtieler */
}

.views-text {
  line-height: 1;
}


.details-views {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Language Switcher */
.language-switcher {  
  display: flex;
  align-items: center;
  gap: 0.5rem;

}

#language-select {
  font-size: 1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 5px;
  background-color: var(--color-secondary);
  border: none;
}
.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--color-headings);
}

.filters-header span {
  font-weight: 600;
  font-size: 0.95rem;
}

.filters-clear-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.15rem;
  border-radius: 999px;
  opacity: 0.7;
  transition: opacity 0.15s ease, background-color 0.15s ease, transform 0.1s;
}

.filters-clear-btn:hover {
  opacity: 1;
  background-color: rgba(74, 125, 97, 0.96);
  
}

.filters-clear-btn:active {
  transform: scale(0.95);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.page-btn {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
  cursor: pointer;
  min-width: 2rem;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.page-btn:hover:not(:disabled) {
  background-color: #f3f3f5;
}

.page-btn.active {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ========== FOOTER ========== */

.site-footer {
  background: linear-gradient(
    135deg,
    rgba(28, 80, 98, 0.9),
    rgba(74, 125, 97, 0.9)
  );             /* donkerblauw / antraciet */
  color: #e5e7eb;                   /* lichtgrijs */
  padding: 2.5rem 1.5rem 1.75rem;
  margin-top: 3rem;
  font-size: 0.9rem;

  
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

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

/* Binnenzijde footer */

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 180px;
  min-width: 180px;
}

.footer-brand .footer-logo img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  margin: 0;
  max-width: 260px;
  color: #cbd5f5;
}

/* Kopjes in kolommen */

.site-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

/* Links-lijstjes */

.footer-links,
.footer-socials {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li,
.footer-socials li + li {
  margin-top: 0.35rem;
}

.footer-links a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.footer-links a:hover,
.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Social icon (emoji) iets kleiner maken */

.footer-socials span[aria-hidden="true"] {
  font-size: 1rem;
}

/* Onderste balk */

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-separator {
  margin: 0 0.4rem;
  color: #6b7280;
}


.section-header-with-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.section-header-with-toggle h3 {
  margin: 0;
}

/* Over ons */
/* ============ ABOUT PAGE ============ */

.about-page {
  background-color: var(--color-headings);
  color: var(--color-text);
}

/* Hero */

.about-hero {
  background: linear-gradient(
      135deg,
      rgba(28, 80, 98, 0.9),
      rgba(74, 125, 97, 0.9)
    );
  color: #fff;
  padding: 3rem 1.5rem 3.5rem;
}

.about-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.about-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
}

.about-hero-tagline {
  margin: 0;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Generic section layout */

.about-section {
  padding: 2.5rem 1.5rem;
  background-color: var(--color-headings);
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Elevator pitch */

.about-elevator p {
  margin: 0.5rem 0 0;
  line-height: 1.7;
  color: var(--color-body);
}

/* Vision */

.about-vision {
  background: linear-gradient(
      135deg,
      rgba(28, 80, 98, 0.9),
      rgba(74, 125, 97, 0.9)
    );
  color: #fff;
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.about-vision-text p {
  margin: 0 0 0.85rem;
  line-height: 1.7;
  color: var(--color-headings);
}

.about-vision-highlights h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.about-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-highlights-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.4rem;
  position: relative;
  color: var(--color-headings);
  font-size: 0.95rem;
}

.about-highlights-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-secondary);
}

/* For whom cards */

.about-for-whom .about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.about-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-body);
}

/* Future section */

.about-future {
  background-color: var(--color-primary);
  color: #e5e7eb;
}

.about-future-inner {
  text-align: left;
}

.about-future h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.about-future p {
  margin: 0;
  max-width: 620px;
  line-height: 1.7;
}

/* Headings in general */

.about-section h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: var(--color-text);
}

/* ============ PRIVACY PAGE ============ */

.privacy-page {
  background-color: var(--color-headings);
  color: var(--color-text);
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Hero */

.privacy-hero {

  padding: 3rem 1.5rem 3.25rem;
}

.privacy-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.privacy-meta {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.privacy-hero-text {
  margin: 0;
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Sections */

.privacy-section {
  padding: 2.5rem 1.5rem;
  background-color: var(--color-headings);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.privacy-section:nth-of-type(2n) {
  background: var(--color-gradient);
  color: var(--color-headings);
}

.privacy-section h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.privacy-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.privacy-section p {
  margin: 0.35rem 0;
  line-height: 1.7;
  font-size: 0.95rem;
  color: var(--color-headings);
}

/* white background sections */

.privacy-section-whitebg {
  padding: 2.5rem 1.5rem;
  background-color: var(--color-headings);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.privacy-section-whitebg:nth-of-type(2n) {
  background: var(--color-gradient);
  color: var(--color-headings);
}

.privacy-section-whitebg h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.privacy-section-whitebg h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.privacy-section-whitebg p {
  margin: 0.35rem 0;
  line-height: 1.7;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ===== Disclaimer / Listing Rules page ===== */

.policy-page {
  padding-bottom: 3rem;
}

.policy-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem;
}

.policy-hero {
  padding: 2.5rem 0 1.75rem;
  background: #f4f5f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.policy-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

.policy-meta {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.policy-hero-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 75ch;
}

.policy-section {
  padding: 1.75rem 0;
}

.policy-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.policy-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.1rem;
}

.policy-section p {
  margin: 0.5rem 0 0;
  line-height: 1.7;
  max-width: 85ch;
}

.policy-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  line-height: 1.7;
}

.policy-list li {
  margin: 0.35rem 0;
}

.policy-backlink {
  display: inline-block;
  margin-top: 1.25rem;
  text-decoration: none;
  font-weight: 600;
}

.policy-backlink:hover {
  text-decoration: underline;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .policy-hero h1 {
    font-size: 1.6rem;
  }
}




/* Lists */

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.privacy-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-secondary);
}

/* Links inside text */

.privacy-section a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.privacy-section a:hover {
  text-decoration: none;
}

.privacy-vragen {
  margin: 0.35rem 0;
  line-height: 1.7;
  font-size: 0.95rem;
  color: #000000 !important;
}

/* advertenties */

/* Algemene styling voor alle advertentie-slots */
.ad-slot {
  width: 100%;                 /* neemt volledige breedte van container */
  max-width: 728px;            /* maar niet breder dan je banner *           /* vaste hoogte */
  margin: 0 auto;              /* centreer in de pagina */
  display: block;
  align-items: center;
  justify-content: center;
  overflow: hidden;            /* snijdt alles af wat buiten het vlak valt */
  box-sizing: border-box;
}

/* Alles wat ín de ad-slot zit (img, <ins> van AdSense, etc.) */
.ad-slot img,
.ad-slot ins {
  max-width: 100%;
  max-height: 100%;
}

/* Specifiek voor afbeeldingen: netjes schalen binnen de slot */
.ad-slot img {
  width: 100%;         /* vul de breedte */
  height: 100%;        /* vul de hoogte */
  object-fit: cover;   /* vul het vlak, snij indien nodig af */
  display: block;
}

/* Optioneel: eigen styling voor het ad-blok onder de filters */
.ad-slot {
  /* als je een kaart-gevoel wilt: */
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 0.5rem;
 
}

/* Slot zelf centreren in de kolom */
.ad-slot-sidebar {
  display: flex;
  justify-content: center;
}

/* Verticale banner (bijv. 300x600) netjes laten schalen */
.ad-slot-sidebar img,
.ad-slot-sidebar ins.adsbygoogle {
  display: block;
  width: 100%;
  max-width: 280px;   /* matcht je kolombreedte */
  min-width: 250px;    
  height: auto;
}

.ad-slot-inline {
  margin: 1.25rem 0;
  display: flex;
  justify-content: center;
}

/* Directe banner afbeelding */
.ad-slot-inline img {
  display: block;
  width: 100%;
  max-width: 728px; /* pas aan als je detail-content smaller is */
  height: auto;
  border-radius: 8px;
}

/* AdSense ins element */
.ad-slot-inline ins.adsbygoogle {
  display: block;
  width: 100%;
  max-width: 728px;
  min-width: 250px;
}

.ad-slot-feed {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 120px; 
}

/* Directe banner */
.ad-slot-feed img {
  display: block;
  width: 100%;
  max-width: 728px; /* of match je card width */
  height: auto;
  border-radius: 8px;
}

/* AdSense slot */
.ad-slot-feed ins.adsbygoogle {
  display: block;
  width: 100%;
  max-width: 728px;
  min-width: 250px;
}


  /* ========= MOBIEL (tot en met 639px) ========= */
  @media (max-width: 639px) {
    .main-nav {
      padding: 0.5rem 1rem;
      display: flex;
      flex-wrap: wrap;            /* belangrijk: elementen mogen naar de volgende rij */
      align-items: center;
    }
  
    /* Logo links, eerste in de rij */
    .logo {
      order: 1;
      display: flex;
      align-items: center;
    }
  
    .logo img {
      height: 40px;
    }
  
    /* Nav-links naast het logo, rechts uitgelijnd */
    .nav-links {
      order: 2;
      margin-left: 0;             /* override desktop -10rem */
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-end;
      gap: 0.75rem;
      flex: 1 0 auto;             /* neemt de ruimte rechts van het logo */
    }
  
    .nav-links li {
      width: auto;
      font-weight: bold;
    }
  
    .nav-links a {
      width: auto;
      padding: 0.25rem 0;
      font-size: 0.9rem;
      white-space: nowrap;
    }
  
    .language-switcher {
      margin-left: 0;
    }
  
    /* Zoekbalk op een eigen rij, full width onder de links */
    .search-form {
      order: 3;
      flex: 1 0 100%;
      max-width: none;
      margin: 0.5rem 0 0;
      display: flex;
    }
  
    .search-form input[type="search"] {
      flex: 1;
      border-radius: 8px;
    }
  
    .search-form button {
      border-radius: 0 8px 8px 0;
    }

    .gallery {
      background-color: #fff;
      padding: 0;                  /* geen extra padding rondom */
      margin: 0 0 1.5rem;
      max-width: none;
      border-bottom: none;
    }
  
    .gallery-grid {
      display: flex;               /* ipv CSS grid */
      flex-wrap: wrap;
      gap: 0.75rem;
      max-width: 100%;
      margin: 0;
      padding: 0 1rem 1rem;
      height: auto;                /* vaste hoogte weghalen */
    }
  
    /* Grote hoofdafbeelding bovenaan */
    .gallery-grid > .img1 {
      flex: 0 0 100%;
    }
  
    .gallery-grid > .img1 img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 12px;
      display: block;
    }
  
    /* Thumbnails eronder: 3 per rij (ongeveer zoals screenshot) */
    .gallery-grid > .img2,
    .gallery-grid > .img3,
    .gallery-grid > .img4,
    .gallery-grid > .img5,
    .gallery-grid > .img6 {
      flex: 1 1 calc(33.333% - 0.75rem);
      max-width: calc(33.333% - 0.75rem);
    }
  
    .gallery-grid > .img2 img,
    .gallery-grid > .img3 img,
    .gallery-grid > .img4 img,
    .gallery-grid > .img5 img,
    .gallery-grid > .img6 img {
      width: 100%;
      height: 90px;
      object-fit: cover;
      border-radius: 10px;
      display: block;
    }

    .hero {
      min-height: 220px;
      background-position: center;
      background-size: cover;
    }
  
    .hero-overlay {
      padding: 3rem 1.25rem;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .hero-overlay h1 {
      margin: 0;
      font-size: 1.6rem;
      line-height: 1.2;
    }
  
    /* Intro */
    .intro {
      padding: 1.25rem 1rem;
      text-align: center;
    }
  
    .intro p {
      margin: 0 auto;
      max-width: 40rem;
      font-size: 0.95rem;
    }
  
    /* Container: filters boven resultaten onder */
    .container {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      padding: 0 1rem 1.5rem;
    }
  
    .filters-toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      margin: 0 0 0.5rem;
      padding: 0.6rem 0.9rem;
      border-radius: 999px;
      border: 1px solid #e5e7eb;
      background-color: var(--color-primary);
      color: var(--color-headings);
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    }
  
    .filters-toggle-icon {
      font-size: 0.9rem;
      transition: transform 0.15s ease;
    }
  
    .filters-toggle.is-open .filters-toggle-icon {
      transform: rotate(180deg);
    }
  
    .filters {
      order: 2;
      max-width: 100%;
      position: static; /* override eventuele sticky/absolute desktop */
      margin-bottom: 1rem;
      display: none; /* standaard dicht op mobiel */
    }
  
    .filters-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.75rem;
    }
  
    .filters.filters-open {
      /* kaart-styling zoals we eerder hebben gedaan */
      background-color: var(--color-primary);
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
      padding: 0.9rem 1rem 1rem;
    }
  
    .filters-clear-btn {
      flex-shrink: 0;
    }
  
    .filters form {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
  
    .filters label {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      font-size: 0.9rem;
    }
  
    .range-group {
      width: 100%;
    }
  
    .range-values {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.25rem;
      font-size: 0.8rem;
    }
  
    #surfaceMin,
    #priceMin {
      width: 95%;
    }
  
    #apply-filter {
      margin-top: 0.5rem;
      width: 100%;
    }
  
    .results-wrapper {
      order: 2;
      width: 100%;
    }
  
    /* Toolbar boven resultaten */
    .results-toolbar {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }
  
    #results-count {
      font-size: 0.9rem;
    }
  
    .currency-toggle {
      
      align-items: center;
      gap: 0.35rem;
    }
  
    .currency-btn {
      flex: 0 0 auto;
    }
  
    .sort-label {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }
  
    .sort-label select {
      width: 100%;
    }
  
    /* Result cards onder elkaar */
    .results {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .results .property-card {
      display: flex;
      flex-direction: column;
      height: auto;
    }
  
    /* Zorg dat er niks met vaste hoogte blijft hangen */
    .results .property-card,
    .results .property-card-image {
      height: auto !important;
      max-height: none !important;
      overflow: visible;
    }
  
    /* Foto kleiner maken */
    .results .property-card-image img,
    .results .property-card img {
      width: 100%;
      height: auto;
      max-height: 160px;           /* hier kun je mee spelen (140–200px) */
      object-fit: cover;
      display: block;
    }
  
    /* Content/body onder de foto altijd zichtbaar */
    .results .property-card-body {
      padding: 0.5rem 0;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      flex: 1 1 auto;
    }
  
    /* Prijs / titel / korte beschrijving */
    .results .property-card-body .property-price {
      font-size: 1rem;
      font-weight: 600;
    }
  
    .results .property-card-body .property-short-description {
      font-size: 0.9rem;
      line-height: 1.4;
    }
  
    /* Call-to-action knop altijd in beeld onderaan card */
    .results .property-card-body .property-cta,
    .results .property-card-body .property-cta button,
    .results .property-card-body .property-cta a {
      margin-top: 0.25rem;
      align-self: flex-start;
    }
  
    .pagination {
      margin: 1.25rem 0 0;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .site-footer {
      padding: 2rem 1.25rem 1.25rem;
      font-size: 0.9rem;
      text-align: center;
    }
  
    .footer-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.75rem;
    }
  
    .footer-column {
      flex: none;
      min-width: 0;
      width: 100%;
    }
  
    /* Brand bovenaan, gecentreerd */
    .footer-brand {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .footer-brand .footer-logo img {
      height: 44px;
      margin: 0 auto 0.6rem;
    }
  
    .footer-brand p {
      margin: 0;
      max-width: 320px;
      color: #cbd5f5;
    }
  
    /* Lists centreren */
    .footer-links,
    .footer-socials {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.35rem;
    }
  
    .footer-links li + li,
    .footer-socials li + li {
      margin-top: 0;
    }
  
    .footer-links a,
    .footer-socials a {
      justify-content: center;
    }
  
    /* Onderste balk */
    .footer-bottom {
      margin: 1.5rem auto 0;
      padding-top: 0.75rem;
    }
  
    .footer-copy {
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.25rem;
      font-size: 0.8rem;
    }
  
    .footer-separator {
      margin: 0;
    }

     /* Details + apply onder elkaar */
  .details-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  /* Beide kaarten full-width */
  .details_card,
  .apply-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1rem;
  }

  /* Details-card zelf: afbeelding boven, tekst eronder */
  .details_card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .details-image-wrapper {
    width: 100%;
  }

  /* inline margin-left: 20px weg op mobiel */
  .details_card > div:last-child {
    margin-left: 0 !important;
    margin-top: 0.75rem;
  }

  .transfer_details_card {
    background-color: var(--color-headings);
    color: var(--color-primary);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
    width: 90%;
}

.building_details_card {
  background-color: var(--color-headings);
  color: var(--color-primary);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  align-items: flex-start;
  width: 90%;
}

.layout_details_card {
  background-color: var(--color-headings);
  color: var(--color-primary);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  align-items: flex-start;
  width: 90%;
}

.sidebar-ad{
  display: none;
}

.about-hero {
  padding: 2.5rem 1.25rem 2.75rem;
}

.about-hero h1 {
  font-size: 1.6rem;
}

.about-hero-tagline {
  font-size: 0.95rem;
}

.about-section {
  padding: 2rem 1.25rem;
}

.about-vision-grid {
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.about-for-whom .about-cards {
  grid-template-columns: 1fr;
}

.about-card {
  padding: 1rem;
}

.privacy-hero {
  padding: 2.5rem 1.25rem 2.75rem;
}

.privacy-hero h1 {
  font-size: 1.6rem;
}

.privacy-section {
  padding: 2rem 1.25rem;
}

  }


/* ========= TABLET (640px t/m 959px) ========= */
@media (min-width: 640px) and (max-width: 959px) {
  .main-nav {
    padding: 0.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .logo {
    order: 1;
    display: flex;
    align-items: center;
  }

  .logo img {

    height: 48px;
  }

  .nav-links {
    order: 2;
    margin-left: 0;            /* override desktop */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex: 1 0 auto;
  }

  .nav-links li {
    width: auto;
  }

  .nav-links a {
    width: auto;
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .language-switcher {
    margin-left: 0;
  }

  /* Zoekbalk op rij eronder, lekker breed */
  .search-form {
    order: 3;
    flex: 1 0 100%;
    max-width: none;
    margin: 0.6rem 0 0;
    display: flex;
  }

  .hero {
    min-height: 260px;
    background-position: center;
    background-size: cover;
  }

  .hero-overlay {
    padding: 3.5rem 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-overlay h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  /* Intro met wat meer ruimte */
  .intro {
    padding: 1.75rem 2rem 1.5rem;
    text-align: center;
  }

  .intro p {
    margin: 0 auto;
    max-width: 48rem;
  }

  /* Layout: filters links, resultaten rechts */
  .container {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    column-gap: 2rem;
    align-items: flex-start;
    padding: 0 2rem 2rem;
  }



  .filters {
    align-self: flex-start;
    margin-bottom: 1rem;
    /* optioneel sticky, als je dat op desktop ook doet:
       position: sticky;
       top: 1rem;
    */
  }

  .filters.filters-open {
    /* ook als kaart boven de resultaten; simpeler dan side-bar op tablet */
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    padding: 1rem 1.25rem;
  }

  .filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
  }

  .filters form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .filters label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
  }

  .range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
  }

  .results-wrapper {
    margin-top: 0; /* uitlijnen met filters */
  }

  /* Toolbar boven resultaten: in rij met wrap */
  .results-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  #results-count {
    font-size: 0.9rem;
  }

  .currency-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .sort-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .sort-label select {
    min-width: 180px;
  }

  /* Result cards in 2 kolommen op tablet */
  .results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }

  .results .property-card {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .results .property-card,
  .results .property-card-image {
    height: auto !important;
    max-height: none !important;
    overflow: visible;
  }

  /* Iets grotere foto dan mobiel, maar nog steeds bescheiden */
  .results .property-card-image img,
  .results .property-card img {
    width: 100%;
    height: auto;
    max-height: 200px;           /* tablet mag iets groter */
    object-fit: cover;
    display: block;
  }

  .results .property-card-body {
    padding: 0.6rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1 1 auto;
  }

  .results .property-card-body .property-price {
    font-size: 1.05rem;
    font-weight: 600;
  }

  .results .property-card-body .property-short-description {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .results .property-card-body .property-cta,
  .results .property-card-body .property-cta button,
  .results .property-card-body .property-cta a {
    margin-top: 0.3rem;
    align-self: flex-start;
  }

  .pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .site-footer {
    padding: 2.25rem 2rem 1.5rem;
  }

  /* 2-koloms grid met brand over de volle breedte bovenaan */
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
    row-gap: 1.75rem;
    align-items: flex-start;
  }

  .footer-column {
    min-width: 0;
    flex: none;
  }

  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .footer-brand .footer-logo img {
    height: 48px;
    margin: 0;
  }

  .footer-brand p {
    margin: 0;
    max-width: 360px;
  }

  /* Link-kolommen normaal blok, maar zonder te veel ruimte */
  .footer-links,
  .footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    margin: 1.75rem auto 0;
    padding-top: 0.9rem;
  }

  .footer-copy {
    font-size: 0.8rem;
  }

  .details-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
  }

  .details_card,
  .apply-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1.25rem;
  }

  .details_card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .details-image-wrapper {
    width: 100%;
  }

  .details_card > div:last-child {
    margin-left: 0 !important;
    margin-top: 0.9rem;
  }

  .sidebar-ad {
    display: none;
  }

  .about-hero {
    padding: 3rem 2rem 3.25rem;
  }

  .about-section {
    padding: 2.25rem 2rem;
  }

  .about-vision-grid {
    grid-template-columns: 1.7fr 1.1fr;
    gap: 2rem;
  }

  .about-for-whom .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .privacy-hero {
    padding: 3rem 2rem 3rem;
  }

  .privacy-section {
    padding: 2.25rem 2rem;
  }
}


 /* Force SVG icons zichtbaar (ook als je globale svg/path regels hebt) */
.share-icon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #111 !important;      /* icon kleur */
  background: #fff !important; /* knop achtergrond */
}

.share-icon,
.share-icon path {
  display: block !important;
  fill: currentColor !important;
  stroke: none !important;
}

.share-icon-btn.share-whatsapp {
  color: #25D366 !important; /* WhatsApp groen */
}

.share-icon-btn.share-facebook {
  color: #1877F2 !important; /* Facebook blauw */
}

