/* =====================================================
   WONINGZOEKER - Modern Clean Design
   Geïnspireerd door professionele vastgoed platforms
   ===================================================== */

/* CSS Variables */
:root {
  --primary-color: #1a1a1a;
  --accent-color: #e74c3c;
  --accent-hover: #c0392b;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --text-color: #1a1a1a;
  --text-secondary: #666;
  --text-light: #999;
  --border-color: #e5e5e5;
  --bg-color: #ffffff;
  --bg-light: #fafafa;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition: all 0.2s ease;
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Main Container */
.woningzoeker-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
}

/* =====================================================
   FILTER BAR - Top filter section
   ===================================================== */
.filter-bar {
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
}

.filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  margin-left: auto;
}

.filter-toggle:hover {
  border-color: var(--text-color);
}

.filter-toggle svg {
  opacity: 0.7;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
}

.filter-group {
  display: flex;
  align-items: center;
}

.filter-slider-group {
  min-width: 160px;
}

.slider-container {
  width: 100%;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

#prijsSlider,
#m2Slider {
  height: 4px;
}

/* =====================================================
   CUSTOM DROPDOWN
   ===================================================== */
.custom-dropdown {
  position: relative;
  min-width: 160px;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.dropdown-trigger:hover {
  border-color: var(--text-secondary);
}

.custom-dropdown.open .dropdown-trigger {
  border-color: var(--text-color);
}

.dropdown-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-arrow {
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.custom-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: 280px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.15s ease;
  max-height: 240px;
  overflow-y: auto;
}

.custom-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-color);
  cursor: pointer;
  transition: background-color 0.1s ease;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: var(--bg-light);
}

.dropdown-item.active {
  font-weight: 500;
  color: var(--text-color);
  background-color: var(--bg-light);
}

.dropdown-item:first-child {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* List header dropdown styling */
.list-header .custom-dropdown {
  flex: 1;
  max-width: 180px;
}

.filter-reset {
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 10px 16px;
  text-decoration: underline;
  transition: var(--transition);
}

.filter-reset:hover {
  color: var(--text-color);
}

/* =====================================================
   MAIN CONTENT - 2 Column Layout
   ===================================================== */
.main-content {
  display: grid;
  grid-template-columns: 1fr 480px;
  grid-template-rows: min-content;
  position: relative;
}

/* Left Column - Map/Image */
.map-column {
  min-width: 0;
  display: block;
}

.clickMap {
  width: 100%;
  display: block;
}

.img-overlay {
  width: 100%;
  display: block;
}

.clickMap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Right Column - List */
.list-column {
  background: var(--bg-color);
  border-left: 1px solid var(--border-color);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.list-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-color);
}

.list-sorteer {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}

.list-header select {
  flex: 1;
  max-width: 180px;
}

.sort-direction {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.sort-direction:hover {
  border-color: var(--text-color);
  color: var(--text-color);
}

#myGrid {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.ag-root-wrapper {
  border: none !important;
}

.ag-body-viewport {
  overflow-x: hidden !important;
}

.ag-center-cols-viewport {
  overflow-x: hidden !important;
}

.ag-header {
  display: none !important;
}

/* Scrollbar styling */
#myGrid::-webkit-scrollbar {
  width: 6px;
}

#myGrid::-webkit-scrollbar-track {
  background: transparent;
}

#myGrid::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

#myGrid::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* =====================================================
   LIST ITEMS - Clean card style
   ===================================================== */
.ag-full-width-row {
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ag-row {
  margin: 0 !important;
  border: none !important;
}

.ag-full-width-row .ag-cell-wrapper {
  padding: 0 !important;
  width: 100% !important;
}

.ag-full-width-row a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
}

.woning-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 36px 16px 24px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.woning-item:hover {
  background-color: var(--bg-light);
}

.woning-info {
  flex: 1;
  min-width: 0;
}

.woning-nummer {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
  line-height: 1.3;
}

.woning-type {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.woning-kenmerken {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.woning-kenmerk {
  display: flex;
  align-items: center;
  gap: 6px;
}

.woning-kenmerk svg {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.kenmerk-divider {
  color: var(--border-color);
}

.woning-status {
  flex-shrink: 0;
  margin-left: 20px;
  padding-right: 4px;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-beschikbaar {
  background-color: rgba(39, 174, 96, 0.1);
  color: var(--success-color);
}

.status-optie {
  background-color: rgba(243, 156, 18, 0.1);
  color: var(--warning-color);
}

.status-verkocht {
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--accent-color);
}

.status-gereserveerd,
.status-tekenafspraak {
  background-color: rgba(243, 156, 18, 0.1);
  color: var(--warning-color);
}

.status-onbeschikbaar {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-light);
}

/* =====================================================
   SVG STATUS COLORS
   ===================================================== */
.svgVlak {
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.svgVlak[status="beschikbaar"] {
  fill: rgba(39, 174, 96, 0.5);
  stroke: white;
  stroke-width: 2px;
}

.svgVlak[status="optie"] {
  fill: rgba(243, 156, 18, 0.5);
  stroke: white;
  stroke-width: 2px;
}

.svgVlak[status="verkocht"] {
  fill: rgba(231, 76, 60, 0.5);
  stroke: white;
  stroke-width: 2px;
}

.svgVlak[status="tekenafspraak"],
.svgVlak[status="gereserveerd"] {
  fill: rgba(243, 156, 18, 0.5);
  stroke: white;
  stroke-width: 2px;
}

.svgVlak[status="onbeschikbaar"] {
  fill: rgba(150, 150, 150, 0.5);
  stroke: white;
  stroke-width: 2px;
}

.svgVlak:hover {
  fill: rgba(0, 0, 0, 0.4);
}

.svgVlak[soortfilter="uit"],
.svgVlak[statusfilter="uit"],
.svgVlak[prijsfilter="uit"],
.svgVlak[m2filter="uit"] {
  fill: rgba(200, 200, 200, 0.3) !important;
  pointer-events: none;
}

/* Modal versions */
.svgVlakModal[status="beschikbaar"] { fill: rgba(39, 174, 96, 0.5); stroke: white; stroke-width: 2px; }
.svgVlakModal[status="optie"] { fill: rgba(243, 156, 18, 0.5); stroke: white; stroke-width: 2px; }
.svgVlakModal[status="verkocht"] { fill: rgba(231, 76, 60, 0.5); stroke: white; stroke-width: 2px; }
.svgVlakModal[status="tekenafspraak"],
.svgVlakModal[status="gereserveerd"] { fill: rgba(243, 156, 18, 0.5); stroke: white; stroke-width: 2px; }
.svgVlakModal[status="onbeschikbaar"] { fill: rgba(150, 150, 150, 0.5); stroke: white; stroke-width: 2px; }

/* =====================================================
   MODAL STYLES - Custom Modal (no external library)
   ===================================================== */

/* Desktop: Body scroll lock when modal is open */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
  position: fixed !important;
  width: 100% !important;
}

/* Custom Modal Overlay - Desktop: fixed overlay */
.custom-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Center the modal vertically */
  display: none;
  align-items: center;
  justify-content: center;
}

.custom-modal-overlay.visible {
  display: flex;
}

/* Modal Box */
.custom-modal-box {
  background: white;
  width: min(95%, 1000px);
  max-height: 500px;
  margin: auto;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Close Button */
.custom-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.custom-modal-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

/* Modal Content */
.custom-modal-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modalBwnrKolom {
  display: flex;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modalBwnrAfbeelding {
  width: 55%;
  background-color: var(--bg-light);
  display: flex;
  align-items: stretch;
}

.modalBwnrAfbeelding svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modalBwnrEigenschappen {
  width: 45%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modalBwnr {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Modal Status Badges - Matches grid status-badge style */
.modalStatusbeschikbaar,
.modalStatusoptie,
.modalStatusverkocht,
.modalStatusonbeschikbaar,
.modalStatusgereserveerd,
.modalStatustekenafspraak {
  display: inline-block;
  width: fit-content;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.modalStatusbeschikbaar { 
  color: var(--success-color); 
  background-color: rgba(39, 174, 96, 0.1);
}
.modalStatusoptie { 
  color: var(--warning-color); 
  background-color: rgba(243, 156, 18, 0.1);
}
.modalStatusverkocht { 
  color: var(--accent-color); 
  background-color: rgba(231, 76, 60, 0.1);
}
.modalStatusonbeschikbaar { 
  color: var(--text-light); 
  background-color: rgba(0, 0, 0, 0.05);
}
.modalStatusgereserveerd { 
  color: var(--warning-color); 
  background-color: rgba(243, 156, 18, 0.1);
}
.modalStatustekenafspraak { 
  color: var(--warning-color); 
  background-color: rgba(243, 156, 18, 0.1);
}

/* Modal Tabs */
.modalTabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.modalTab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.modalTab:hover {
  color: var(--text-color);
}

.modalTab.active {
  color: var(--text-color);
  border-bottom-color: var(--text-color);
}

.modalTabContent {
  display: none;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.modalTabContent.active {
  display: block;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.modalAlgemeenContent {
  overflow: visible;
}

.modalGroupTitel1 {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.modalGroupTitel1:first-child {
  margin-top: 0;
}

.modalAlgemeenVak {
  padding: 12px 0;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
}

.modalKenmerkenGroup {
  display: flex;
  padding: 8px 0;
}

.modalKenmerkItem1,
.modalKenmerkItem1bvoKenmerk {
  flex: 0 0 45%;
  color: var(--text-secondary);
}

.modalKenmerkItem2 {
  flex: 0 0 55%;
  color: var(--text-color);
  font-weight: 500;
}

/* Modal Documents */
.modalDocumenten {
  overflow: visible;
}

.modalDocumentItem {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.modalDocumentItem a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  gap: 12px;
  transition: var(--transition);
}

.modalDocumentItem a:hover {
  color: var(--accent-color);
}

.modalDocumentItem img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

/* =====================================================
   TOOLTIP STYLES
   ===================================================== */
.tippy-content {
  padding: 0;
  background-color: white;
  width: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tooltipEigenschappen {
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--text-color);
}

.thumbAfbeeling {
  margin: 0;
}

.thumbAfbeeling img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.thumbBouwnummer {
  padding: 12px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.thumbWoonoppervlakte,
.thumbBuitenruimte,
.thumbLigging,
.thumbPrijs {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  font-size: 13px;
}

.thumbWoonoppervlakte img,
.thumbBuitenruimte img,
.thumbLigging img,
.thumbPrijs img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

@media (hover: none) {
  .tippy-box { display: none; }
}

/* =====================================================
   LOADING SPINNER
   ===================================================== */
.lds-ellipsis {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lds-ellipsis div {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-secondary);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) { left: calc(50% - 24px); animation: lds-ellipsis1 0.6s infinite; }
.lds-ellipsis div:nth-child(2) { left: calc(50% - 24px); animation: lds-ellipsis2 0.6s infinite; }
.lds-ellipsis div:nth-child(3) { left: 50%; animation: lds-ellipsis2 0.6s infinite; }
.lds-ellipsis div:nth-child(4) { left: calc(50% + 24px); animation: lds-ellipsis3 0.6s infinite; }

@keyframes lds-ellipsis1 { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes lds-ellipsis2 { 0% { transform: translateX(0); } 100% { transform: translateX(24px); } }
@keyframes lds-ellipsis3 { 0% { transform: scale(1); } 100% { transform: scale(0); } }

/* =====================================================
   SLIDER STYLES (noUiSlider)
   ===================================================== */
.noUi-target {
  background: var(--border-color);
  border: none;
  box-shadow: none;
}

.noUi-connect {
  background: var(--text-color) !important;
}

.noUi-horizontal {
  height: 4px !important;
}

.noUi-horizontal .noUi-handle {
  width: 16px !important;
  height: 16px !important;
  right: -8px !important;
  top: -6px !important;
  border-radius: 50% !important;
  border: 2px solid var(--text-color);
  background: white;
  box-shadow: none;
  cursor: grab;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none !important;
}

.noUi-tooltip {
  display: none;
}

/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */
@media only screen and (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .list-column {
    min-width: 0;
  }
  
  .modalBwnrKolom {
    flex-direction: column;
  }
  
  .modalBwnrAfbeelding,
  .modalBwnrEigenschappen {
    width: 100%;
  }
  
  .modalBwnrAfbeelding {
    min-height: 280px;
  }
}

/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */
@media only screen and (max-width: 768px) {
  .main-content {
    display: flex;
    flex-direction: column;
  }
  
  .map-column {
    flex: 0 0 auto;
    display: block;
  }
  
  .list-column {
    display: block !important;
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  
  .list-header {
    padding: 12px 16px;
  }
  
  #myGrid {
    height: 400px !important;
    overflow-y: auto;
  }
  
  .ag-root-wrapper {
    height: 100% !important;
  }
  
  .filter-bar {
    padding: 16px;
  }
  
  .filter-bar-inner {
    justify-content: center;
  }
  
  .filter-toggle {
    display: flex;
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  
  .filter-controls {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    z-index: 200;
  }
  
  .filter-controls.active {
    display: flex;
  }
  
  .filter-group {
    width: 100%;
  }
  
  .filter-group .custom-dropdown {
    width: 100%;
  }
  
  .filter-slider-group {
    width: 100%;
    padding: 8px 0;
  }
  
  .filter-reset {
    width: 100%;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
  }
  
  .list-header .custom-dropdown {
    max-width: none;
  }
  
  .map-column {
    width: 100%;
    overflow: visible;
  }
  
  .map-column img,
  .clickMap svg {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .list-header {
    padding: 12px 16px;
  }
  
  .woning-item {
    padding: 12px 28px 12px 16px;
    margin-right: 0;
  }
  
  .woning-nummer {
    font-size: 16px;
  }
  
  .woning-kenmerken {
    gap: 12px;
    font-size: 13px;
  }
  
  .woning-status {
    margin-left: 12px;
  }
  
  .status-badge {
    font-size: 10px;
    padding: 5px 8px;
  }
  
  /* Custom Modal - Mobile: Inline instead of fixed overlay */
  /* This allows parent page to scroll */
  html.modal-open,
  body.modal-open {
    overflow: visible !important;
    height: auto !important;
    position: static !important;
    width: auto !important;
  }
  
  .custom-modal-overlay {
    position: static;
    background: white;
    overflow: visible;
    padding: 0;
  }
  
  .custom-modal-box {
    width: 100%;
    min-height: auto;
    max-height: none;
    border-radius: 0;
    margin: 0;
    overflow: visible;
  }
  
  .custom-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  .modalBwnrKolom {
    flex-direction: column;
    display: flex;
    overflow: visible;
  }
  
  .modalBwnrAfbeelding {
    width: 100%;
    height: auto;
    min-height: auto;
    max-height: none;
    flex: 0 0 auto;
    overflow: hidden;
  }
  
  .modalBwnrAfbeelding img,
  .modalBwnrAfbeelding svg {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .modalBwnrEigenschappen {
    width: 100%;
    padding: 20px;
    padding-bottom: 100px;
    overflow: visible !important;
    max-height: none !important;
  }
  
  .modalAlgemeenContent,
  .modalDocumenten,
  .modalTabContent,
  .modalTabContent.active {
    overflow: visible !important;
    max-height: none !important;
  }
  
  .modalBwnr {
    font-size: 22px;
  }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
  .woningzoeker-container {
    min-height: auto;
  }
  
  .lds-ellipsis,
  .filter-bar {
    display: none !important;
  }
}
