/* =========================
   BASE LAYOUT
========================= */


.bn {
    padding-top:6px;
    border-top:1px solid #f0f0f0;
    color:#888;
    font-size: 12px;
}

#geoBtn {
  margin-left: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: #2ecc71;
  color: white;
  cursor: pointer;
}

.atm-section-title {
    margin-bottom: 6px;
}

.ymaps-2-1-79-balloon {
  box-shadow: none !important;
}

.orgbr {
    color:#888;
}

.ymaps-2-1-79-balloon__close + .ymaps-2-1-79-balloon__content {
  margin-right: 0px !important;
  padding-right: 0;
}

/* =========================
   MAP
========================= */


#Searchbut {
    border-radius: 15px;
  border: 0px solid #f0f0f0;
  padding: 5px 15px 5px 15px;
  box-sizing: border-box;
  background:#008080;
  color:#fff;
  min-width: 80px;
  cursor:pointer;
}

#Searchbut:hover {
    border-radius: 15px;
  border: 0px solid #f0f0f0;
  padding: 5px 15px 5px 15px;
  box-sizing: border-box;
  background:#007070;
  color:#fff;
  min-width: 80px;
  cursor:pointer;
}

#map {
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  margin: 0px 0px 100px 0px;
}

@media (max-width: 768px) {
  #map {
    height: 350px;
  }
}

/* =========================
   YANDEX BALLOON FIXES
========================= */


.ymaps-2-1-79-balloon__content {
  padding: 0 !important;
  overflow: hidden !important;
}

.ymaps-2-1-79-balloon__layout {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ymaps-2-1-79-balloon__tail {
  display: none;
}

.ymaps-2-1-79-balloon__content > div {
  overflow: visible !important;
}

/* =========================
   ATM LABEL
========================= */

span.bnk {
  width: 100%;
  border-bottom: 1px solid #c0c0c0;
  display: block;
  padding: 15px 0;
  font-size: 18px;
}

/* =========================
   HEADER BLOCK
========================= */

.mapsh1 {
  text-align: center;
  padding: 0px 0px 40px 0px;
}

.mapsh1 h1 {
  max-width: 600px;
  margin: 0 auto;
}

.mapsh1 p {
  color: grey;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 0px;
}

/* =========================
   SEARCH
========================= */

.search-wrap {
  position: relative;
  width: 100%;
  display: flex;
  gap: 20px;
}

#search {
  width: 100%;
  height: 38px;
  border-radius: 15px;
  border: 1px solid #f0f0f0;
  padding: 5px 40px 5px 15px;
  box-sizing: border-box;
}

.clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #999;
}

.clear-btn:hover {
  color: #000;
}

/* =========================
   PANEL (FILTERS / CONTROLS)
========================= */

.panel {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #f3f6fd;
  border-radius: 15px;
  padding: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .panel {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================
   ATM CARD
========================= */

.atm-card {
  width: 270px;
  font-family: Arial, sans-serif;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

@media (max-width: 768px) {
  .atm-card {
    width: 100%;
  }
}

.atm-header {
  background: #008080;
  color: white;
  padding: 10px 18px 10px 14px;
  font-weight: 400;
  font-size: 13px;
}

.atm-body {
  padding: 10px 14px;
}

.atm-address {
  font-size: 13px;
  margin-bottom: 10px;
  color: #333;
}

.atm-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.atm-row span {
  color: #888;
}

.atm-tags {
  margin-top: 10px;
}

/* =========================
   TAGS
========================= */

.tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  background: #eee;
  border-radius: 10px;
  margin-right: 4px;
}

.tag.green {
  background: #4caf50;
  color: white;
}

/* =========================
   MOBILE OPTIMIZATIONS
========================= */

@media (max-width: 480px) {
 

  .mapsh1 {
    padding: 0px 0px 40px 0px;
  }

  #search {
    font-size: 14px;
  }
}

/* =========================
   TABLET (768px - 1024px)
========================= */

@media (max-width: 1024px) and (min-width: 769px) {

 

  #map {
    height: 420px;
  }

  .mapsh1 {
    padding: 0px 0px 40px 0px;
  }

  .mapsh1 h1 {
    max-width: 80%;
  }

  .mapsh1 p {
    max-width: 90%;
    font-size: 15px;
  }

  .panel {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .atm-card {
    width: calc(50% - 10px);
  }

  #search {
    font-size: 15px;
  }
}

.yes {
  color: #008080;
}

.no {
  color: #bbb;
}