/* All classes prefixed with fdsl- to avoid conflicts */
.fdsl-wrap{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: 16px;
  width: 100%;
  min-height: 520px;
  border-radius: 16px;
}

.fdsl-wrap *{
  font-family:"Raleway", Sans-serif !important;
}

.fdsl-panel{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  min-height:520px;
}

.fdsl-search{
  padding: 14px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  background: linear-gradient(180deg, rgba(0,0,0,.03), transparent);
}

.fdsl-search-input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12) !important;
  outline: none;
  font-size: 14px;
}

.fdsl-search-input:focus{
  border-color: rgba(0,0,0,.25) !important;
}

.fdsl-list{
  padding: 10px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.fdsl-card{
  display:grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  background:#fff;
}

.fdsl-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.14);
}

.fdsl-card.is-active{
  border-color: rgba(0,0,0,.22);
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
}

.fdsl-thumb{
  width:70px;height:70px;
  border-radius: 12px;
  background: rgba(0,0,0,.05);
  overflow:hidden;
}

.fdsl-thumb img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}

.fdsl-title{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  margin: 2px 0 6px;
}

.fdsl-meta{
  font-size: 12px;
  color: rgba(0,0,0,.68);
  line-height: 1.35;
}

.fdsl-pill{
  display:inline-block;
  margin-top: 8px;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  color: rgba(0,0,0,.72);
  background: rgba(0,0,0,.02);
}

.fdsl-map{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  min-height:520px;
}

.fdsl-map-inner{
  width:100%;
  height:100%;
  min-height:520px;
}

/* Responsive */
@media (max-width: 900px){
  .fdsl-wrap{
    grid-template-columns: 1fr;
  }
  .fdsl-panel, .fdsl-map, .fdsl-map-inner{
    min-height: 360px;
  }
}
/* Popup UI (shared) */
.fdsl-pop{
  width: 280px;
  border-radius: 14px;
  overflow:hidden;
  background:#fff;
}

.fdsl-pop-img{
  width:100%;
  height:120px;
  background: rgba(0,0,0,.06);
}

.fdsl-pop-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.fdsl-pop-body{
  padding: 12px;
}

.fdsl-pop-title{
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}

.fdsl-pop-line{
  font-size: 12px;
  color: rgba(0,0,0,.72);
  line-height: 1.35;
  margin-bottom: 4px;
}

.fdsl-pop-actions{
  display:flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.fdsl-pop-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration:none;
  font-size: 12px;
  font-weight: 700;
  color: rgba(0,0,0,.85);
  background: rgba(0,0,0,.03);
}

.fdsl-pop-btn:hover{
  background: rgba(0,0,0,.06);
}

/* Leaflet popup wrapper tweaks to match */
.fdsl-leaflet-pop .leaflet-popup-content{
  margin: 10px 12px;
}
.fdsl-leaflet-pop .leaflet-popup-content-wrapper{
  border-radius: 16px;
}

.fdsl-card-actions{
  margin-top: 10px;
}

.fdsl-card-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration:none;
  font-size: 12px;
  font-weight: 800;
  color: rgba(0,0,0,.85);
  background: rgba(0,0,0,.03);
}

.fdsl-card-btn:hover{
  background: rgba(0,0,0,.06);
}
