/* MetaForest Turkey SVG Patch (replace-in-place) */

#mf-turkiye-svg-map {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* SVG katmanı */
#mf-turkiye-svg-map .mf-svg-host,
#mf-turkiye-svg-map .mf-overlay {
  position: absolute;
  inset: 0;
}

#mf-turkiye-svg-map .mf-svg-host svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Buton ve alev katmanı */
#mf-turkiye-svg-map .mf-overlay {
  pointer-events: none;
  z-index: 3;
}

#mf-turkiye-svg-map .mf-bubble {
  pointer-events: auto;
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid #111;
  background: #1d3557;
  opacity: 0.75;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

#mf-turkiye-svg-map .mf-bubble.active {
  background: #e63946;
  opacity: 1;
}

#mf-turkiye-svg-map .mf-fire {
  position: absolute;

  /* ✅ buton (.mf-bubble) ile aynı boy */
  width: 14px;
  height: 14px;

  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;

  object-fit: contain;
}

/* Info panel */
#mf-turkiye-svg-map .mf-info {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 260px;
  max-width: calc(100% - 24px);
  background: rgba(255,255,255,0.95);
  border: 2px solid #111;
  border-radius: 14px;
  padding: 10px 12px;
  z-index: 5;
}

#mf-turkiye-svg-map .mf-info.hidden {
  display: none;
}

#mf-turkiye-svg-map .mf-info h4 {
  margin: 0 0 6px 0;
  font-size: 1rem;
}

#mf-turkiye-svg-map .mf-info p {
  margin: 4px 0;
  font-size: 0.95rem;
}

#mf-turkiye-svg-map .mf-close {
  position: absolute;
  right: 8px;
  top: 6px;
  border: 2px solid #111;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0 8px;
  height: 24px;
  line-height: 20px;
}

/* ----------------------------------------------------
   Navbar (zip’teki gibi):
   - tek input
   - sağda input’un içinde büyüteç butonu
   - arkaplan transparent
----------------------------------------------------- */

#mf-citybar.mf-citybar{
  position: relative;
  width: 100%;
  margin: 0 0 12px 0;
  padding: 0;
  background: transparent;
  box-sizing: border-box;
}

#mf-citybar .mf-citybar-input{
  width: 100%;
  height: 44px;
  border-radius: 14px;
  background: transparent;
  color: inherit;

  /* sağdaki ikon için boşluk */
  padding: 0 46px 0 14px;

  outline: none;
  box-sizing: border-box;

  /* “yazı yazılabildiği belli olsun” */
  border: 2px solid rgba(255,255,255,0.22);
}

#mf-citybar .mf-citybar-input::placeholder{
  opacity: 0.75;
}

#mf-citybar .mf-citybar-input:focus{
  border-color: rgba(255,255,255,0.35);
}

#mf-citybar .mf-citybar-btn{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;

  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  opacity: 0.9;
}

#mf-citybar .mf-citybar-btn:hover{
  opacity: 1;
}

/* =========================
   Navbar'ı panel/kutu gibi göster
   ========================= */

#mf-citybar.mf-citybar{
  position: relative;
  width: 100%;
  margin: 0 0 12px 0;
  padding: 10px 12px;

  /* diğer kutular gibi */
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);

  box-sizing: border-box;
}

/* input kutunun içinde dursun, kendi borderı daha hafif olsun */
#mf-citybar .mf-citybar-input{
  width: 100%;
  height: 44px;

  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.08); /* şeffaf ama "yazılabilir" belli */
  color: inherit;

  padding: 0 46px 0 14px; /* sağdaki ikon için boşluk */
  outline: none;
  box-sizing: border-box;
}

#mf-citybar .mf-citybar-input::placeholder{
  opacity: 0.75;
}

#mf-citybar .mf-citybar-input:focus{
  border-color: rgba(255,255,255,0.26);
  background: rgba(0,0,0,0.10);
}

/* büyüteç butonu input'un içinde gibi */
#mf-citybar .mf-citybar-btn{
  position: absolute;
  right: 18px;            /* padding ile uyumlu */
  top: 50%;
  transform: translateY(-50%);

  width: 34px;
  height: 34px;
  border-radius: 10px;

  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: inherit;

  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  opacity: 0.92;
}

#mf-citybar .mf-citybar-btn:hover{
  opacity: 1;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}
