/* === Scope everything to .areas-module to avoid bleeding into the map === */
.areas-module{
  --ink:#0f172a;
  --muted:#5f718a;
  --bg:#0b1220;
  --card:#111827;
  --card-2:#1f2937;
  --card-3:#374151;
  --brand:#2563eb;
  --brand-hover:#3b82f6;
  --radius:16px;
  --shadow:0 10px 30px rgba(15,23,42,.12);
}

/* link-style "Cleared" */
.areas-module .reset-link{
  font-size:12px;color:rgba(255,255,255,.8);
  text-decoration:underline;text-underline-offset:3px;cursor:pointer;background:none;border:0;padding:0;
}
.areas-module .reset-link:hover{ color:#fff; }

/* Layout */
.areas-module.areas-shell{max-width:1120px;margin:0 auto;padding:32px 16px}
@media(min-width:1024px){ .areas-module.areas-shell{padding:48px 24px} }

.areas-module .areas-head{text-align:center;margin-bottom:24px}
.areas-module .areas-head h1{
  margin:0;font-weight:600;letter-spacing:-.02em;line-height:1.1;font-size:30px;color:#fff;
}
@media(min-width:1024px){ .areas-module .areas-head h1{font-size:40px} }
.areas-module .areas-head p{margin:10px 0 0;color:#94a3b8;font-size:14px}
@media(min-width:1024px){ .areas-module .areas-head p{font-size:16px} }

.areas-module .areas-card{
  background:var(--card);color:#fff;border-radius:24px;padding:24px;box-shadow:var(--shadow);
}
@media(min-width:1024px){ .areas-module .areas-card{padding:32px} }
.areas-module .areas-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 24px;
    color: #fff !important;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 40px;
}

.areas-module .areas-hint{color:rgba(255,255,255,.7);font-size:12px;margin:6px 0 14px}

.areas-module .responsive-container-block.card-container{
  display:grid;gap:16px;grid-template-columns:1fr;align-items:start;
}
@media(min-width:768px){
  .areas-module .responsive-container-block.card-container{ grid-template-columns:1fr 1fr; }
}
@media(min-width:1024px){
  .areas-module .responsive-container-block.card-container{ grid-template-columns:1fr 1fr 1fr; }
}
/* Make all .areas-col stretch to the same height in a row */
.areas-module .card-container {
  align-items: stretch; /* instead of align-items:start */
}

.areas-module .areas-col {
  display: flex;
  flex-direction: column;
  height: 100%; /* take full available height */
}
.areas-module .areas-col{
  background:var(--card-2);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  padding:16px;
	text-align:left !important;
}
.areas-module .areas-col__title{
  margin:0 0 10px;font-size:14px;font-weight:600;color:rgba(255,255,255,.9);  text-align:left;
	
}

/* Cities head */
.areas-module .cities-head{
  display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;
}

/* Search column */
.areas-module .areas-row{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.areas-module .areas-row input[type="search"]{
  width:100%;height:46px;border-radius:12px;border:1px solid rgba(15,23,42,.15);
  outline:none;padding:0 14px;color:#0f172a;background:#fff;box-sizing:border-box;line-height:1;font-size:14px;
}
.areas-module .areas-row input::placeholder{ color:#94a3b8; }
.areas-module .areas-row .primary{
  width:100%;height:46px;padding:0 16px;border:none;border-radius:12px;color:#fff;background:var(--brand);
  cursor:pointer;transition:background .15s ease;
}
.areas-module .areas-row .primary:hover{ background:var(--brand-hover) }
.areas-module .areas-row .primary[disabled]{ background:rgba(37,99,235,.5); cursor:not-allowed; }

.areas-module .selected-pill{
  display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:var(--card-3);
  border:1px solid rgba(255,255,255,.08);font-size:12px;color:#e5e7eb;
}
.areas-module .selected-pill[hidden]{ display:none; }

.areas-module .areas-placeholder{
  margin-top:10px;background:rgba(255,255,255,.04);border:1px dashed rgba(255,255,255,.1);
  border-radius:12px;padding:10px 12px;color:rgba(255,255,255,.75);font-size:12px;
}

/* Counties column */
.areas-module .counties-grid{display:grid;grid-template-columns:1fr;gap:8px}
.areas-module .county-btn{
  min-height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.1);
  background:var(--card-2);color:#fff;text-align:left;padding:0 12px;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;font-size:14px;
}
.areas-module .county-btn:hover{ background:var(--card-3) }
.areas-module .county-btn.active{ outline:2px solid #60a5fa; }
.areas-module .count-badge{
  font-size:12px;opacity:.85;background:rgba(255,255,255,.08);
  padding:3px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.1);
}
.areas-module .col-scroll{ max-height:420px;overflow:auto;scrollbar-width:thin;height:308px; }

/* Cities column */
.areas-module .chips{display:flex;flex-wrap:wrap;gap:8px}
.areas-module .chip{
  height:30px;padding:0 10px;border-radius:10px;font-size:13px;border:1px solid rgba(255,255,255,.1);
  background:var(--card-2);color:#fff;cursor:pointer;transition:transform .12s ease, opacity .12s ease;
}
.areas-module .chip:hover{ background:var(--card-3) }
.areas-module .chip.active{ background:var(--brand);border-color:transparent }
.areas-module .chips .empty{ color:rgba(255,255,255,.7);font-size:14px }

/* Pagination */
.areas-module .pager{
  display:flex;align-items:center;gap:6px;margin-top:12px;flex-wrap:nowrap;overflow-x:auto;
  -webkit-overflow-scrolling:touch;padding-bottom:2px;
}
.areas-module .pager button{
  height:32px;min-width:32px;border:1px solid rgba(255,255,255,.12);background:var(--card-2);
  border-radius:8px;padding:0 10px;cursor:pointer;color:#fff;font-size:13px;line-height:1;
  display:inline-flex;align-items:center;justify-content:center;
}
.areas-module .pager button:hover{ background:var(--card-3) }
.areas-module .pager button[disabled]{opacity:.45;cursor:not-allowed}
.areas-module .pager .active{background:var(--brand);border-color:var(--brand)}

/* A11y */
.areas-module .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* Kill old elements if present (scoped) */
.areas-module .list-box, 
.areas-module .drawer{display:none !important;}
