*{box-sizing:border-box}html,body{min-height:100%;}body{margin:0;min-height:100vh;font-family:Arial,sans-serif;background:#f4f6f8;color:#222;display:flex;flex-direction:column}header{background:#111827;color:#fff;padding:14px 0}.wrap{max-width:1200px;margin:auto;padding:0 18px;display:flex;justify-content:space-between;align-items:center}.wrap a{color:#fff;text-decoration:none;margin-left:18px}.wrap a:hover{text-decoration:underline}#map{height:calc(100vh - 58px);min-height:500px}.form-page{max-width:900px;margin:25px auto;padding:0 15px}.card{background:#fff;border-radius:12px;padding:22px;box-shadow:0 4px 20px #0001}.grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}label{font-weight:700}input,textarea,select{width:100%;padding:11px;margin-top:6px;border:1px solid #ccc;border-radius:7px;font:inherit}.full{grid-column:1/-1}#pickmap{height:450px;margin:15px 0;border-radius:8px;overflow:hidden}button{border:0;border-radius:7px;padding:12px 22px;background:#166534;color:#fff;font-weight:700;cursor:pointer}.alert{padding:12px;border-radius:7px;margin-bottom:15px}.alert.ok{background:#dcfce7;color:#166534}.alert.error{background:#fee2e2;color:#991b1b}.admin-wrap{max-width:1200px;margin:25px auto;padding:0 15px}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{padding:10px;border-bottom:1px solid #ddd;text-align:left;vertical-align:top}.actions a{display:inline-block;margin:2px;padding:7px 10px;background:#eee;border-radius:5px;text-decoration:none;color:#111}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.tabs a{margin-right:10px}.adminmap{height:500px;border-radius:10px;margin-bottom:15px}@media(max-width:700px){.grid{grid-template-columns:1fr}.full{grid-column:auto}.table{font-size:12px}.wrap{gap:10px}.wrap nav a{margin-left:8px}}


.layout{display:flex;flex:1 1 auto;min-height:0;height:auto;}
#map{flex:1 1 auto;min-width:0;min-height:0;height:auto;}
.sidebar{width:320px;flex:0 0 320px;background:#fff;border-left:1px solid #ddd;overflow-y:auto;padding:15px;min-height:0;}
.latest-list{display:flex;flex-direction:column;gap:10px;}
.latest-item{display:block;padding:12px;border:1px solid #eee;border-radius:8px;text-decoration:none;color:#333;}
.latest-item strong{display:block;margin-bottom:4px;}

/* Mobil uyumlu harita tasarımı */
@media (max-width: 700px){
  html,body{width:100%;min-height:100%;overflow-x:hidden}
  /* Mobilde ana içerik footer tarafından kesilmesin: layout normal akışta
     tüm liste yüksekliğini kapsasın. */
  .layout{display:block!important;height:auto!important;min-height:0!important;flex:none!important;overflow:visible!important;}
  .layout > #map{display:block!important;width:100%!important;height:65dvh!important;min-height:0!important;}
  .layout > .sidebar{display:block!important;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;}
  .site-footer{position:static!important;display:flex!important;flex:none!important;clear:both!important;}
  /* Mobilde layout, harita + sidebar'ın tamamı kadar yer kaplasın.
     Böylece footer listenin ortasında değil, listenin altında kalır. */
  .layout{flex:0 0 auto;height:auto;min-height:0;}
  header{padding:10px 0;position:relative;z-index:1000}
  .wrap{padding:0 12px;align-items:center}
  .site-brand{min-width:0;max-width:58%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px}
  .wrap a{margin-left:10px}
  .wrap nav{display:flex;align-items:center;gap:4px}
  .wrap nav a{font-size:12px;margin-left:5px;padding:7px 6px}

  .layout{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}
  #map{width:100%;height:65dvh;min-height:0;flex:0 0 65dvh;}
  .sidebar{width:100%;height:auto;flex:0 0 auto;min-height:0;border-left:0;border-top:1px solid #ddd;padding:10px 12px;overflow:visible}
  .sidebar h3{margin:2px 0 9px;font-size:16px;position:sticky;top:-10px;background:#fff;padding:5px 0;z-index:2}
  .latest-list{gap:7px}
  .latest-item{padding:10px;border-radius:7px}
  .latest-item strong{font-size:14px}
  .latest-item small{font-size:11px;line-height:1.35;display:block}

  .leaflet-control-layers{font-size:13px;box-shadow:0 1px 5px #0004}
  .leaflet-control-layers-toggle{width:38px;height:38px}
  .leaflet-control-zoom a{width:34px;height:34px;line-height:34px}
  .leaflet-popup-content{max-width:230px;font-size:13px;line-height:1.45}
  .leaflet-popup-content-wrapper{border-radius:9px}

  .form-page,.admin-wrap{width:100%;margin:15px auto;padding:0 10px}
  .card{padding:15px;border-radius:10px}
  #pickmap,.adminmap{height:55dvh;min-height:300px;max-height:520px}
  .topbar{gap:8px;align-items:flex-start;flex-wrap:wrap}
  .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .table{min-width:650px}
  .actions a{font-size:11px;padding:6px 8px}
  input,textarea,select{font-size:16px}
  button{width:100%;padding:12px}
}

@media (max-width: 420px){
  .site-brand{font-size:15px;max-width:52%}
  .wrap nav a:first-child{font-size:0}
  .wrap nav a:first-child:after{content:'Kayıt';font-size:12px}
  #map{height:65dvh;min-height:0;flex-basis:65dvh}
  .sidebar{height:auto;min-height:0;flex-basis:auto}
}


/* Profesyonel, ince katman seçici */
.leaflet-control-layers{
  border:1px solid rgba(0,0,0,.12)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 2px 10px rgba(0,0,0,.16)!important;
  padding:7px 9px!important;
  color:#27313a;
  font-size:13px;
  line-height:1.25;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.leaflet-control-layers-list{margin:0!important;}
.leaflet-control-layers-base label{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:28px;
  margin:0;
  padding:2px 3px;
  border-radius:5px;
  cursor:pointer;
}
.leaflet-control-layers-base label:hover{background:rgba(15,23,42,.055);}
.leaflet-control-layers-base input{
  width:14px!important;
  height:14px!important;
  margin:0!important;
  accent-color:#1677ff;
}
.leaflet-control-layers-base span{font-weight:600;}
.leaflet-control-layers-separator{display:none!important;}

/* İnce, modern mesafe/ölçek çubuğu */
.leaflet-control-scale{
  margin:0 12px 12px 0!important;
  pointer-events:none;
}
.leaflet-control-scale-line{
  box-sizing:border-box!important;
  height:22px!important;
  min-width:70px;
  padding:7px 8px 0!important;
  border:0!important;
  border-bottom:2px solid rgba(30,41,59,.9)!important;
  background:rgba(255,255,255,.86)!important;
  color:#1f2937!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:10px!important;
  text-align:center!important;
  box-shadow:0 1px 5px rgba(0,0,0,.14)!important;
  border-radius:4px 4px 0 0!important;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

@media (max-width:700px){
  .leaflet-control-layers{
    padding:5px 7px!important;
    font-size:12px;
    border-radius:7px!important;
  }
  .leaflet-control-layers-base label{min-height:25px;gap:6px;}
  .leaflet-control-layers-base input{width:13px!important;height:13px!important;}
  .leaflet-control-scale{margin:0 9px 9px 0!important;}
  .leaflet-control-scale-line{font-size:9px!important;height:20px!important;padding-top:6px!important;}
}


/* -----------------------------------------------------------
   Profesyonel mesafe ölçer kontrolü
   ----------------------------------------------------------- */
.measure-control{
  margin-top:8px!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.measure-button{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 10px;
  border:1px solid rgba(15,23,42,.14);
  border-radius:8px;
  background:rgba(255,255,255,.95);
  color:#1f2937;
  box-shadow:0 2px 9px rgba(0,0,0,.16);
  font:600 12px/1 Arial,sans-serif;
  cursor:pointer;
  transition:background .15s ease,box-shadow .15s ease,transform .15s ease;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.measure-button:hover{
  background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.2);
}
.measure-button:active{transform:translateY(1px)}
.measure-button.is-active{
  background:#eef5ff;
  border-color:rgba(22,119,255,.35);
  color:#125fce;
}
.measure-pencil{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:17px;
  height:17px;
  font-size:20px;
  line-height:17px;
  transform:rotate(-18deg);
  font-family:Georgia,serif;
}
.measure-active{cursor:crosshair!important}
.measure-active .leaflet-marker-icon{cursor:crosshair!important}
.measure-segment-marker,
.measure-total-marker{
  background:transparent!important;
  border:0!important;
}
.measure-segment-label{
  display:inline-block;
  transform:translate(-50%,-50%);
  white-space:nowrap;
  padding:3px 6px;
  border:1px solid rgba(22,119,255,.22);
  border-radius:5px;
  background:rgba(255,255,255,.94);
  color:#174a8b;
  box-shadow:0 1px 5px rgba(0,0,0,.14);
  font:700 10px/1 Arial,sans-serif;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.measure-total-label{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  transform:translate(7px,-50%);
  min-width:72px;
  padding:5px 8px;
  border:1px solid rgba(22,119,255,.3);
  border-radius:7px;
  background:rgba(255,255,255,.97);
  color:#173b67;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
  font-family:Arial,sans-serif;
  white-space:nowrap;
}
.measure-total-label span{
  font-size:9px;
  font-weight:600;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.3px;
}
.measure-total-label strong{font-size:12px;line-height:1}

@media(max-width:700px){
  .measure-control{margin-top:6px!important}
  .measure-button{
    min-height:32px;
    padding:6px 8px;
    border-radius:7px;
    font-size:11px;
  }
  .measure-pencil{font-size:18px;width:16px;height:16px}
  .measure-segment-label{font-size:9px;padding:3px 5px}
  .measure-total-label{min-width:66px;padding:4px 6px}
  .measure-total-label strong{font-size:11px}
}

/* SEO uyumlu firma listesi ve harita popup */
.map-list-title{font-size:18px;line-height:1.25;margin:2px 0 12px;color:#172033}
.latest-item{padding:0;overflow:hidden}
.latest-item-link{display:flex;align-items:center;gap:11px;min-height:48px;padding:10px 12px;color:#172033;text-decoration:none;border-radius:9px;transition:background-color .18s ease,color .18s ease,transform .18s ease}
.latest-item-link:hover{background:#eef5ff;color:#0f5fc7}
.latest-item-link:focus-visible{outline:2px solid #1677ff;outline-offset:2px}
.latest-item-link h2{margin:0;font-size:14px;line-height:1.35;font-weight:700;min-width:0}
.latest-number{flex:0 0 30px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:12px;font-weight:800;background:#f1f5f9;color:#475569;transition:background-color .18s ease,color .18s ease}
.latest-item:nth-child(1) .latest-item-link:hover{background:#eff6ff;color:#1d4ed8}
.latest-item:nth-child(1) .latest-item-link:hover .latest-number{background:#dbeafe;color:#1d4ed8}
.latest-item:nth-child(2) .latest-item-link:hover{background:#ecfdf5;color:#047857}
.latest-item:nth-child(2) .latest-item-link:hover .latest-number{background:#d1fae5;color:#047857}
.latest-item:nth-child(3) .latest-item-link:hover{background:#fff7ed;color:#c2410c}
.latest-item:nth-child(3) .latest-item-link:hover .latest-number{background:#ffedd5;color:#c2410c}
.latest-item:nth-child(4) .latest-item-link:hover{background:#fdf4ff;color:#a21caf}
.latest-item:nth-child(4) .latest-item-link:hover .latest-number{background:#fae8ff;color:#a21caf}
.latest-item:nth-child(5) .latest-item-link:hover{background:#f0fdfa;color:#0f766e}
.latest-item:nth-child(5) .latest-item-link:hover .latest-number{background:#ccfbf1;color:#0f766e}
.latest-item:nth-child(6) .latest-item-link:hover{background:#fefce8;color:#a16207}
.latest-item:nth-child(6) .latest-item-link:hover .latest-number{background:#fef3c7;color:#a16207}
.latest-item:nth-child(n+7) .latest-item-link:hover{background:#f8fafc;color:#334155}
.latest-item:nth-child(n+7) .latest-item-link:hover .latest-number{background:#e2e8f0;color:#334155}
.latest-item-link small{display:block;color:#64748b;font-size:11px;line-height:1.35}
.latest-item-link p{margin:6px 0 0;color:#475569;font-size:12px;line-height:1.4}
.map-popup-business{min-width:220px;max-width:290px;font-family:Arial,sans-serif}
.map-popup-business h2{margin:0 0 5px;font-size:17px;line-height:1.25;color:#172033}
.category-marker-wrap{background:transparent!important;border:0!important}.category-marker{position:relative;width:38px;height:38px;border-radius:50%;background:#fff;border:3px solid #1266d6;box-shadow:0 3px 10px rgba(15,23,42,.28);display:grid;place-items:center}.category-marker:after{content:'';position:absolute;left:50%;bottom:-8px;width:13px;height:13px;background:#fff;border-right:3px solid #1266d6;border-bottom:3px solid #1266d6;transform:translateX(-50%) rotate(45deg);z-index:-1}.category-marker span{font-size:20px;line-height:1;position:relative;z-index:2}.category-marker-wrap:hover .category-marker{transform:scale(1.08)}.category-marker-wrap.featured-category-marker-wrap .category-marker{background:#fff!important;border-color:#dc2626!important;color:#dc2626!important}.category-marker-wrap.featured-category-marker-wrap .category-marker:after{background:#fff!important;border-right-color:#dc2626!important;border-bottom-color:#dc2626!important}.category-marker-wrap.featured-category-marker-wrap:hover .category-marker{transform:scale(1.08)}
.featured-map-label{width:30px!important;height:30px!important;box-sizing:border-box;background:#dc2626!important;border:2px solid #fff!important;border-radius:50%!important;box-shadow:0 3px 10px rgba(15,23,42,.28);color:#fff!important;font-size:18px!important;font-weight:900!important;padding:0!important;line-height:26px!important;text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important}.featured-map-label:before{border-top-color:#dc2626!important;border-right-color:transparent!important}.popup-featured-badge{display:inline-flex;align-items:center;margin-left:8px;padding:4px 7px;border-radius:999px;background:#fff4cf;color:#8a5a00;font-size:9px;font-weight:900;letter-spacing:.1px;vertical-align:middle;white-space:nowrap}.popup-category{display:inline-block;margin-bottom:7px;padding:3px 7px;border-radius:999px;background:#eef5ff;color:#125fce;font-size:10px;font-weight:700}
.popup-description{margin:7px 0;color:#475569;font-size:12px;line-height:1.45}
.popup-row{margin:5px 0;color:#334155;font-size:12px;line-height:1.4}
.popup-row strong{color:#172033}
.popup-row a{color:#125fce;text-decoration:none}
.popup-detail-link{display:inline-block;margin-top:8px;padding:7px 10px;border-radius:6px;background:#1677ff;color:#fff!important;text-decoration:none;font-size:11px;font-weight:700}
.detail-location{margin-top:22px;padding-top:20px;border-top:1px solid #edf1f6}.detail-location h2{margin:0 0 10px;font-size:18px;color:#172033}.detail-map{width:100%;height:240px;border:1px solid #dbe4ef;border-radius:12px;overflow:hidden;background:#eef3f8}.detail-map .leaflet-control-attribution{font-size:9px}.detail-map .leaflet-marker-icon{filter:drop-shadow(0 2px 2px rgba(15,23,42,.28))}
.detail-page{max-width:900px;margin:28px auto;padding:0 16px}
.listing-detail{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:26px;box-shadow:0 4px 20px rgba(15,23,42,.06)}
.breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:18px;color:#64748b;font-size:12px}
.breadcrumbs a{color:#125fce;text-decoration:none}
.listing-detail h1{margin:0 0 8px;font-size:32px;line-height:1.15;color:#111827}
.listing-category{display:inline-block;margin:0 0 18px;padding:5px 9px;border-radius:999px;background:#eef5ff;color:#125fce;font-size:12px;font-weight:700}
.listing-description{font-size:16px;line-height:1.7;color:#334155;margin:5px 0 24px;white-space:normal}
.listing-info{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:10px}
.listing-info>div{padding:14px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc}
.listing-info strong{display:block;font-size:12px;color:#64748b;margin-bottom:5px}
.listing-info p{margin:0;font-size:14px;line-height:1.45;color:#1f2937}
.listing-info a{color:#125fce;text-decoration:none}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.detail-actions a{display:inline-block;padding:10px 14px;border-radius:7px;background:#eef2f7;color:#172033;text-decoration:none;font-weight:700;font-size:13px}
.detail-actions .primary-action{background:#1677ff;color:#fff}
@media(max-width:700px){
  .map-list-title{font-size:16px}
  .latest-item-link{padding:10px}
  .latest-item-link strong{font-size:14px}
  .detail-page{margin:15px auto;padding:0 10px}
  .detail-map{height:190px;border-radius:9px}.detail-location{margin-top:18px;padding-top:15px}.detail-location h2{font-size:16px}
  .listing-detail{padding:18px;border-radius:10px}
  .listing-detail h1{font-size:25px}
  .listing-description{font-size:14px}
  .listing-info{grid-template-columns:1fr}
}

.whatsapp-action{font-weight:700;text-decoration:none}
.whatsapp-action:hover{text-decoration:underline}

.phone-reveal-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.phone-value{display:inline-block}.phone-eye{display:inline-flex!important;align-items:center;justify-content:center;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border:1px solid #cbd5e1!important;background:#fff!important;color:#334155!important;padding:7px!important;margin:0!important;cursor:pointer!important;line-height:1!important;border-radius:7px!important;pointer-events:auto!important;position:relative;z-index:9999!important;touch-action:manipulation!important;box-sizing:border-box!important}.phone-eye-symbol{display:block!important;font-size:19px!important;line-height:1!important;pointer-events:none!important}.phone-actions{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto}.phone-copy{display:inline-flex!important;align-items:center;justify-content:center;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border:1px solid #cbd5e1!important;background:#fff!important;color:#334155!important;padding:7px!important;margin:0!important;cursor:pointer!important;line-height:1!important;border-radius:7px!important;pointer-events:auto!important;position:relative;z-index:9999!important;touch-action:manipulation!important;box-sizing:border-box!important;font-size:18px!important}.phone-copy:hover{background:#f1f5f9!important}.phone-copy:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.phone-eye:hover{background:#f1f5f9!important}.phone-eye:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* -----------------------------------------------------------
   Profesyonel işletme profili - harita popup
   ----------------------------------------------------------- */
.professional-map-popup .leaflet-popup-content-wrapper{
  padding:0!important;
  overflow:hidden;
  border-radius:18px!important;
  background:#fff;
  box-shadow:0 16px 45px rgba(15,23,42,.22)!important;
}
.professional-map-popup .leaflet-popup-content{
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  line-height:1.45;
}
.professional-map-popup .leaflet-popup-tip{box-shadow:0 5px 12px rgba(15,23,42,.12)}
.professional-map-popup .leaflet-popup-close-button{
  top:12px!important;
  right:12px!important;
  width:34px!important;
  height:34px!important;
  z-index:20!important;
  border-radius:50%;
  background:rgba(255,255,255,.95)!important;
  color:#334155!important;
  font-size:23px!important;
  line-height:32px!important;
  text-align:center!important;
  box-shadow:0 3px 12px rgba(15,23,42,.14);
}
.map-popup-page{width:540px;max-width:calc(100vw - 58px);overflow:hidden;color:#24324a;background:#fff;font-family:Arial,sans-serif}
.popup-hero{position:relative;min-height:158px;padding:25px 52px 22px 26px;background:linear-gradient(135deg,#0f2747 0%,#1558a8 58%,#2b7be8 100%);overflow:hidden;color:#fff}
.popup-hero:after{content:"";position:absolute;right:-80px;bottom:-95px;width:260px;height:260px;border-radius:50%;border:42px solid rgba(255,255,255,.08)}
.popup-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,22,43,.28),transparent 72%);pointer-events:none}
.popup-hero-content{position:relative;z-index:1}
.popup-category{display:inline-flex;align-items:center;gap:7px;margin:0 0 12px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);color:#fff;font-size:11px;font-weight:700;letter-spacing:.1px}
.popup-category-icon{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.18);font-size:10px}
.map-popup-page .popup-hero h2{margin:0 0 7px!important;color:#fff!important;font-size:28px!important;line-height:1.12!important;font-weight:800!important;letter-spacing:-.35px}
.popup-tabs{display:flex;align-items:center;gap:22px;padding:0 20px;border-bottom:1px solid #e5eaf1;background:#fff;min-height:50px}
.popup-tab{display:inline-flex;align-items:center;gap:6px;align-self:stretch;padding:16px 2px 13px;color:#64748b;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;border-bottom:3px solid transparent}
.popup-tab.is-active{color:#1266d6;border-bottom-color:#1677ff}
a.popup-tab-link{margin-left:auto;color:#1266d6}
.popup-page-body{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:18px;padding:20px 20px 17px}
.popup-about{min-width:0}
.popup-description{margin:0 0 17px;color:#42546f;font-size:13px;line-height:1.65}
.popup-details{margin:0;padding:0;border-top:1px solid #edf1f6}
.popup-details>div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid #edf1f6}
.popup-details dt{color:#64748b;font-size:11px;font-weight:700}
.popup-details dd{margin:0;color:#263b59;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.popup-details a{color:#1266d6;text-decoration:none;font-weight:700}
.popup-details a:hover{text-decoration:underline}
.popup-contact{align-self:start;min-width:0}.popup-mini-map-wrap{margin-top:16px;padding-top:14px;border-top:1px solid #edf1f6}.popup-mini-map-title{margin-bottom:7px;color:#334155;font-size:11px;font-weight:800}.popup-mini-map{width:100%;height:155px;border:1px solid #dbe4ef;border-radius:10px;overflow:hidden;background:#eef3f8}.popup-mini-map .leaflet-control-attribution{font-size:8px;line-height:12px}.popup-mini-map .leaflet-control-attribution a{font-weight:400;color:#475569}.popup-mini-map .leaflet-marker-icon{filter:drop-shadow(0 2px 2px rgba(0,0,0,.28))}

.popup-phone-card{padding:14px;border:1px solid #dce8f6;border-radius:13px;background:linear-gradient(180deg,#f6faff,#eef6ff)}
.popup-contact-label{margin-bottom:7px;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.45px}
.popup-phone-line{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.popup-phone-line .phone-value{font-size:15px;font-weight:800;color:#172b48;letter-spacing:.15px;overflow-wrap:anywhere}
.popup-contact-note{margin:7px 0 11px;color:#6b7d94;font-size:10px;line-height:1.35}
.popup-whatsapp{display:flex!important;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 11px!important;border-radius:9px!important;background:#16a05d!important;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:800}
.popup-whatsapp:hover{background:#118a4e!important;text-decoration:none!important}
.whatsapp-dot{font-size:12px}
.popup-directions{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:10px;padding:10px 11px;border:1px solid #1677ff;border-radius:9px;background:#fff;color:#1266d6;text-decoration:none;font-size:11px;font-weight:800}
.popup-directions:hover{background:#f3f8ff}
.popup-footer{display:flex;flex-direction:column;align-items:center;gap:9px;padding:12px 20px 15px;border-top:1px solid #edf1f6}
.popup-share-title{color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.35px}
.popup-share-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;width:100%}
.popup-share-btn{appearance:none;border:1px solid #dce4ee;border-radius:8px;background:#fff;color:#263b59;padding:7px 9px;font:700 10px/1.1 Arial,sans-serif;cursor:pointer;transition:.15s ease}
.popup-share-btn:hover{background:#f3f7fb;border-color:#bfcddd;transform:translateY(-1px)}
.popup-share-whatsapp{border-color:#b9e3ca;color:#12834a}
.popup-share-facebook{border-color:#c8d8f4;color:#1877f2}
.popup-share-x{border-color:#d4d9df;color:#111}
.popup-share-telegram{border-color:#c3dff2;color:#168acd}
.popup-share-linkedin{border-color:#c4dcef;color:#0a66c2}
.popup-share-copy{color:#1266d6}
.professional-map-popup .phone-eye{flex:0 0 38px}

@media(max-width:700px){
  .professional-map-popup .leaflet-popup-content-wrapper{border-radius:13px!important;overflow:hidden}
  .professional-map-popup .leaflet-popup-content{width:auto!important;margin:0!important}
  .map-popup-page{box-sizing:border-box;width:100%;max-width:100%;height:272px;max-height:272px;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
  .popup-hero{min-height:96px;padding:14px 38px 13px 14px}
  .map-popup-page .popup-hero h2{font-size:18px!important;line-height:1.15!important;margin-bottom:4px!important}
  .popup-category{margin-bottom:7px;padding:4px 7px;font-size:9px}
  .popup-category-icon{width:14px;height:14px;font-size:8px}
  
  .popup-tabs{gap:10px;padding:0 11px;min-height:38px;overflow-x:auto}
  .popup-tab{padding:11px 1px 9px;font-size:9px}
  .popup-page-body{grid-template-columns:1fr;gap:9px;padding:10px 11px 9px}
  .popup-contact{order:-1}  .popup-mini-map-wrap{margin-top:10px;padding-top:9px}.popup-mini-map{height:145px}.popup-mini-map-title{font-size:9px;margin-bottom:5px}

  .popup-description{display:block!important;margin:0 0 10px;font-size:10px;line-height:1.45;max-height:70px;overflow:hidden}
  .popup-phone-card{padding:9px;border-radius:10px}
  .popup-contact-label{margin-bottom:5px;font-size:9px}
  .popup-phone-line .phone-value{font-size:13px}
  .popup-contact-note{margin:5px 0 7px;font-size:9px}
  .popup-whatsapp{padding:8px 9px!important;font-size:10px}
  .popup-directions{margin-top:7px;padding:8px 9px;font-size:10px}
  .popup-details>div{grid-template-columns:62px minmax(0,1fr);gap:7px;padding:8px 0}
  .popup-details dt{font-size:9px}
  .popup-details dd{font-size:10px}
  .popup-footer{padding:8px 11px 10px}
  .popup-share-title{font-size:9px}
  .popup-share-actions{gap:5px}
  .popup-share-btn{font-size:9px;padding:7px 8px}
}


/* Public site footer */
.site-footer{width:100%;box-sizing:border-box;padding:22px 18px 28px;background:#fff;border-top:1px solid #e7edf5;text-align:center;color:#64748b}
.site-footer-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 22px}
.site-footer-links a{color:#315b8f;text-decoration:none;font-size:13px;font-weight:700;transition:color .18s ease,background .18s ease}
.site-footer-links a:hover{color:#1266d6}
.site-footer-copy{margin-top:10px;font-size:11px;color:#94a3b8}
@media(max-width:600px){.site-footer{padding:18px 12px 24px}.site-footer-links{gap:7px 16px}.site-footer-links a{font-size:12px}}

/* Footer sayfanın gerçek alt bölümünde, bağlantılar tam ortalı */
.site-footer{flex:0 0 auto;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;z-index:10;}
.site-footer-links{width:100%;display:flex;justify-content:center;align-items:center;text-align:center;margin:0 auto;}
.site-footer-copy{text-align:center;width:100%;}


.site-search-control{border:0!important;background:transparent!important;box-shadow:none!important;position:relative}
.site-search-fields{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:6px;align-items:center}.site-search-category{grid-column:1/-1;width:100%;min-width:0}.site-search-main{min-width:0}.site-search-voice{width:40px;height:40px;border:1px solid #d9e2ef;background:#fff;color:#173a63;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:18px;line-height:1;cursor:pointer;box-shadow:0 1px 3px rgba(15,23,42,.12)}.site-search-voice:hover{background:#f3f7fc;color:#1266d6}.site-search-voice.is-listening{background:#dc2626;color:#fff;border-color:#dc2626;animation:siteVoicePulse 1.15s infinite}.site-search-voice:disabled{opacity:.45;cursor:not-allowed}.site-search-voice-status{min-height:18px;margin-top:5px;color:#1266d6;font-size:11px;font-weight:600;text-align:center}.site-search-voice-status:empty{display:none}@keyframes siteVoicePulse{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,.25)}50%{box-shadow:0 0 0 6px rgba(220,38,38,.08)}}
.site-search-toggle{width:34px;height:34px;border:0;background:#fff;color:#173a63;display:flex;align-items:center;justify-content:center;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 1px 5px rgba(15,23,42,.35);border-radius:4px!important;font-weight:700}
.site-search-toggle:hover{background:#f3f7fc;color:#1266d6}
.site-search-control.is-open .site-search-toggle{background:#1266d6;color:#fff}
.site-search-panel{display:none;position:absolute;left:42px;top:0;width:370px;max-width:calc(100vw - 72px);padding:12px;background:rgba(255,255,255,.98);border:1px solid #dce5ef;border-radius:13px;box-shadow:0 10px 35px rgba(15,23,42,.18);backdrop-filter:blur(8px)}
.site-search-control.is-open .site-search-panel{display:block}
.site-search-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:#172b48;font-size:14px}
.site-search-close{border:0;background:transparent;color:#64748b;font-size:22px;line-height:1;cursor:pointer;width:28px;height:28px;border-radius:7px}.site-search-close:hover{background:#f1f5f9;color:#0f172a}
.site-search-fields{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:7px}
.site-search-main{display:block}
.site-search-input,.site-search-category{box-sizing:border-box;width:100%;height:39px;border:1px solid #d5deea;border-radius:9px;background:#fff;color:#243b5a;font-size:12px;outline:0}
.site-search-input{padding:0 11px}.site-search-category{padding:0 8px}
.site-search-input:focus,.site-search-category:focus{border-color:#4b91e2;box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.site-search-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 2px 7px;color:#7b8798;font-size:10px}
.site-search-clear{border:0;background:transparent;color:#1266d6;font-size:10px;font-weight:800;cursor:pointer;padding:3px 5px}.site-search-clear:hover{text-decoration:underline}
.site-search-results{max-height:330px;overflow:auto;border-top:1px solid #edf1f6}
.site-search-result{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) 14px;align-items:center;gap:8px;padding:10px 4px;border:0;border-bottom:1px solid #eef2f6;background:#fff;text-align:left;cursor:pointer;color:#243b5a}
.site-search-result:hover,.site-search-result:focus{background:#f5f9ff;outline:0}
.site-search-result-icon{width:28px;height:28px;border-radius:8px;background:#edf5ff;color:#1266d6;display:grid;place-items:center;font-size:17px;font-weight:700}
.site-search-result-text{min-width:0;display:flex;flex-direction:column;gap:3px}.site-search-result-text strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-search-result-text small{font-size:10px;color:#7b8798;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-search-result-arrow{color:#94a3b8;font-size:20px}
.site-search-empty,.site-search-more{padding:16px 7px;text-align:center;color:#8794a7;font-size:11px;line-height:1.45}.site-search-more{border-top:1px solid #eef2f6;padding:9px 6px;font-size:9px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.site-search-panel{left:40px;width:calc(100vw - 68px);max-width:none}.site-search-fields{grid-template-columns:minmax(0,1fr) 40px;gap:6px}.site-search-main{min-width:0}.site-search-voice{width:40px;height:39px}.site-search-category{grid-column:1/-1}.site-search-results{max-height:280px}}

/* Harita üzerindeki konumların yanında işletme başlığı */
.listing-map-title{
  background:rgba(255,255,255,.96)!important;
  border:1px solid #d9e2ef!important;
  border-radius:7px!important;
  box-shadow:0 2px 8px rgba(15,23,42,.18)!important;
  color:#172033!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.25!important;
  padding:5px 8px!important;
  white-space:nowrap!important;
  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.listing-map-title:before{border-right-color:#d9e2ef!important}
@media(max-width:700px){
  .listing-map-title{font-size:11px!important;padding:4px 6px!important;max-width:155px}
}

/* ==========================================================
   2026 UI REFRESH — modern map directory skin
   Mevcut işlevleri korur, sadece görsel katmanı yeniler.
   ========================================================== */
:root{
  --ui-ink:#172033;
  --ui-muted:#64748b;
  --ui-blue:#1266d6;
  --ui-blue-2:#0f4fae;
  --ui-line:#e4ebf3;
  --ui-surface:rgba(255,255,255,.94);
  --ui-shadow:0 12px 32px rgba(15,23,42,.12);
}
html{scroll-behavior:smooth}
body{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:#f5f7fb;
  color:var(--ui-ink);
}
header{
  position:relative;
  z-index:5000;
  padding:0;
  background:linear-gradient(110deg,#0b1f3a 0%,#103d73 48%,#1266d6 100%);
  box-shadow:0 4px 18px rgba(15,23,42,.16);
}
header:after{content:"";position:absolute;inset:auto 0 0;height:1px;background:rgba(255,255,255,.16)}
header .wrap{min-height:68px;padding:10px 20px;max-width:1380px}
.site-brand{display:inline-flex!important;align-items:center;gap:10px;min-width:0;font-size:17px;font-weight:800;letter-spacing:-.2px}
.site-brand img{max-height:40px!important;max-width:190px!important}
header nav{display:flex;align-items:center;gap:7px}
header nav a{
  margin-left:0!important;
  padding:9px 13px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:10px;
  background:rgba(255,255,255,.07);
  color:#fff;
  font-size:12px;
  font-weight:700;
  text-decoration:none!important;
  transition:.18s ease;
}
header nav a:hover{background:rgba(255,255,255,.16);transform:translateY(-1px)}
header nav a:first-child{background:#fff;color:#103d73;border-color:#fff}
.layout{position:relative;gap:0;background:#edf2f7}
#map{background:#e9eef4;outline:0}
.sidebar{
  width:350px;flex-basis:350px;
  padding:18px;
  border-left:1px solid #dfe7f0;
  background:linear-gradient(180deg,#fff 0%,#f9fbfd 100%);
  box-shadow:-10px 0 28px rgba(15,23,42,.05);
}
.map-list-title{
  position:relative;margin:0 0 14px;padding:4px 0 13px;
  font-size:18px;font-weight:800;letter-spacing:-.3px;color:#172033;
  border-bottom:1px solid var(--ui-line);
}
.map-list-title:before{
  content:"İŞLETME DİZİNİ";display:block;margin-bottom:5px;
  color:#1266d6;font-size:9px;font-weight:900;letter-spacing:1.3px;
}
.map-list-title:after{
  content:"";position:absolute;left:0;bottom:-1px;width:54px;height:3px;border-radius:3px;background:#1266d6;
}
.latest-list{gap:9px}
.latest-item{
  border:1px solid #e5ebf2;border-radius:12px;background:#fff;
  box-shadow:0 2px 8px rgba(15,23,42,.035);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.latest-item:hover{border-color:#c8d9ee;box-shadow:0 8px 20px rgba(15,23,42,.08);transform:translateY(-1px)}
.latest-item-link{min-height:58px;padding:10px 12px;border-radius:12px;gap:11px}
.latest-item-link h2{font-size:13px;letter-spacing:-.05px}
.latest-number{
  width:31px;height:31px;flex-basis:31px;
  background:#edf4fd;color:#1266d6;border:1px solid #d8e6f8;
}
.latest-item-link:hover .latest-number{background:#1266d6!important;color:#fff!important;border-color:#1266d6!important}

/* Leaflet kontrolleri tek bir görsel dilde */
.leaflet-control-zoom{border:0!important;box-shadow:0 6px 18px rgba(15,23,42,.14)!important}
.leaflet-control-zoom a{
  border:0!important;background:rgba(255,255,255,.96)!important;color:#24415f!important;
  transition:.15s ease;
}
.leaflet-control-zoom a:hover{background:#1266d6!important;color:#fff!important}
.leaflet-control-zoom a:first-child{border-radius:10px 10px 0 0!important}
.leaflet-control-zoom a:last-child{border-radius:0 0 10px 10px!important}
.site-search-toggle{width:38px;height:38px;border-radius:10px!important;box-shadow:0 6px 18px rgba(15,23,42,.14)!important;font-size:23px}
.site-search-panel{border-radius:15px;box-shadow:0 18px 45px rgba(15,23,42,.18);padding:14px}
.site-search-head strong{font-size:13px}
.site-search-input,.site-search-category{height:41px;border-radius:10px}
.site-search-result{border-radius:9px!important;margin:4px 0!important;border:1px solid transparent!important}
.site-search-result:hover{background:#f1f6fd!important;border-color:#dbe8f6!important}

/* Popup */
.professional-map-popup .leaflet-popup-content-wrapper{box-shadow:0 18px 45px rgba(15,23,42,.18)!important;border:1px solid rgba(255,255,255,.7)}
.map-popup-page{border-radius:0}
.popup-hero{background:linear-gradient(135deg,#0b1f3a 0%,#10549e 58%,#1677e8 100%)}
.popup-tabs{background:#fbfcfe}
.popup-page-body{background:#fff}
.popup-phone-card{box-shadow:0 4px 14px rgba(18,102,214,.06)}

/* Alt bilgi */
.site-footer{padding:18px 20px 22px;background:#fff;border-top:1px solid #e1e8f0}
.site-footer-links a{padding:5px 7px;border-radius:7px}
.site-footer-links a:hover{background:#eff6ff;text-decoration:none}

/* Form / yönetim sayfaları */
.form-page,.admin-wrap{max-width:1100px}
.card{border:1px solid #e4ebf3;box-shadow:0 14px 35px rgba(15,23,42,.07);border-radius:16px}
input,textarea,select{border-color:#d6e0eb;border-radius:10px;transition:.16s ease}
input:focus,textarea:focus,select:focus{outline:0;border-color:#5b9be7;box-shadow:0 0 0 4px rgba(18,102,214,.10)}
button{border-radius:10px;background:linear-gradient(135deg,#1266d6,#0f54b5);box-shadow:0 5px 14px rgba(18,102,214,.18);transition:.16s ease}
button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(18,102,214,.23)}
.table{border:1px solid #e3eaf2;border-radius:12px;overflow:hidden}
.table th{background:#f6f9fc;color:#52657d;font-size:12px;text-transform:uppercase;letter-spacing:.4px}
.table td{border-bottom-color:#edf1f5}

@media(max-width:900px){
  .sidebar{width:310px;flex-basis:310px}
  header .wrap{padding-left:14px;padding-right:14px}
}
@media(max-width:700px){
  header .wrap{min-height:58px;padding:8px 12px}
  header nav a{padding:7px 9px;font-size:11px;border-radius:8px}
  .sidebar{padding:13px 12px;background:#f8fafc}
  .map-list-title{font-size:16px;margin-bottom:10px}
  .latest-item{border-radius:10px}
  .latest-item-link{border-radius:10px}
  .site-search-panel{left:0;top:44px;width:min(360px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
}
@media(max-width:420px){
  header nav a:first-child{font-size:0;padding-left:10px;padding-right:10px}
  header nav a:first-child:after{content:'Kayıt';font-size:11px}
  header nav a:last-child{font-size:0;padding-left:10px;padding-right:10px}
  header nav a:last-child:after{content:'Yönetim';font-size:11px}
}

/* ==========================================================
   ADMIN MOBILE FIX — responsive management panel
   ========================================================== */
.admin-wrap{width:min(1200px,100%);}
.admin-wrap .topbar{position:sticky;top:0;z-index:20;background:#f5f7fb;padding:8px 0 12px}
.admin-wrap .tabs{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.admin-wrap .tabs a,.admin-status-tabs a{
  display:inline-flex;align-items:center;justify-content:center;min-height:38px;
  padding:8px 12px;margin:0;border:1px solid #dfe7f0;border-radius:10px;
  background:#fff;color:#24415f;font-weight:800;text-decoration:none;white-space:nowrap;
  box-shadow:0 2px 8px rgba(15,23,42,.04);transition:.16s ease;
}
.admin-wrap .tabs a:hover,.admin-status-tabs a:hover{background:#eef6ff;border-color:#c9ddf5;color:#1266d6}
.admin-wrap .card{min-width:0;overflow:hidden}
.admin-wrap .grid{min-width:0}
.admin-wrap .grid>label{min-width:0}
.admin-wrap textarea{resize:vertical;min-height:100px}
.admin-wrap .table{table-layout:auto}
.admin-wrap .actions{display:flex;flex-wrap:wrap;gap:5px;min-width:150px}
.admin-wrap .actions a{margin:0}
.admin-wrap .pagination{display:flex;flex-wrap:wrap;gap:6px}
.admin-wrap .pagination a{display:inline-flex;min-width:36px;height:36px;align-items:center;justify-content:center;border:1px solid #dfe7f0;border-radius:9px;background:#fff}
.admin-wrap .pagination a:hover{background:#eef6ff}

@media(max-width:700px){
  body{overflow-x:hidden}
  header .wrap{min-height:52px;gap:8px;padding:7px 10px}
  header .wrap>strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  header .wrap nav{min-width:0;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
  header .wrap nav::-webkit-scrollbar{display:none}
  header .wrap nav a{flex:0 0 auto;font-size:11px;padding:7px 9px;margin:0}

  .admin-wrap{width:100%;margin:10px auto;padding:0 10px;overflow:hidden}
  .admin-wrap h2{font-size:20px;line-height:1.2;margin:8px 0 12px}
  .admin-wrap h3{font-size:16px;line-height:1.25}
  .admin-wrap .topbar{position:relative;margin:0 -10px 12px;padding:4px 10px 10px;overflow:visible}
  .admin-wrap .tabs{width:100%;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:2px 1px 5px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .admin-wrap .tabs a{flex:0 0 auto;min-height:40px;font-size:12px;padding:8px 11px;scroll-snap-align:start}
  .admin-status-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .admin-status-tabs a{flex:0 0 auto;font-size:12px}

  .admin-wrap .card{padding:14px;border-radius:13px;margin-bottom:12px}
  .admin-wrap .grid{grid-template-columns:minmax(0,1fr)!important;gap:12px}
  .admin-wrap .grid .full,.admin-wrap .grid label[style*="grid-column"]{grid-column:auto!important}
  .admin-wrap .grid input,.admin-wrap .grid textarea,.admin-wrap .grid select{max-width:100%}
  .admin-wrap label{font-size:13px;line-height:1.35}
  .admin-wrap input,.admin-wrap textarea,.admin-wrap select{font-size:16px;padding:11px 12px;margin-top:5px}
  .admin-wrap button,.admin-wrap .button{width:100%;min-height:44px}

  /* Tablo: yatay kaydırma, sayfayı taşırmaz */
  .admin-wrap .table{
    display:block;width:100%;min-width:680px;overflow-x:auto;
    -webkit-overflow-scrolling:touch;font-size:12px;border-collapse:separate;border-spacing:0;
  }
  .admin-wrap .table th,.admin-wrap .table td{padding:9px 10px;white-space:nowrap}
  .admin-wrap .table td:nth-child(5),.admin-wrap .table td:nth-child(6){white-space:normal;min-width:180px}
  .admin-wrap .actions{min-width:160px}
  .admin-wrap .actions a,.admin-wrap .admin-approve-btn{font-size:11px;padding:7px 9px}

  .admin-wrap .admin-search{padding:12px}
  .admin-wrap .admin-search form{display:grid;grid-template-columns:1fr;gap:8px}
  .admin-wrap .admin-search input,.admin-wrap .admin-search select{width:100%}
  .admin-wrap .admin-search button{width:100%}

  .admin-wrap .adminmap{height:52dvh;min-height:300px;max-height:500px}
  .admin-wrap #focusmap{height:48dvh!important;min-height:280px!important}
  .admin-wrap .leaflet-control-zoom a{width:36px;height:36px;line-height:36px}
  .admin-wrap .pagination{justify-content:center}
  .admin-wrap .pagination a{min-width:38px;height:38px}

  /* Ayarlar içindeki bilgi/önizleme alanları */
  .admin-wrap .card img{max-width:100%;height:auto}
  .admin-wrap small{line-height:1.45}
}

@media(max-width:420px){
  .admin-wrap{padding:0 8px}
  .admin-wrap .topbar{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}
  .admin-wrap .card{padding:12px;border-radius:12px}
  .admin-wrap h2{font-size:18px}
  .admin-wrap .tabs a{font-size:11px;padding:7px 10px}
  .admin-wrap .table{min-width:640px}
}

/* Yönetim giriş ekranı */
.login-card{width:100%;box-sizing:border-box}
@media(max-width:700px){
  .form-page{width:100%;margin:0 auto;padding:12px}
  .login-card{max-width:none;margin:5vh auto 0;padding:18px}
  .login-card h2{font-size:21px;margin-top:0}
  .login-card .login-note{font-size:12px}
  .login-card button{width:100%;min-height:44px}
  .password-wrap{width:100%}
  .password-wrap input{padding-right:82px}
}


/* ==========================================================
   ADMIN MOBILE ACTIONS + LOGIN LOGS
   ========================================================== */
.admin-log-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
.admin-log-head h3{margin:0 0 4px}
.admin-log-head small{color:#64748b}
.danger-btn,.delete-btn,.reject-btn,.edit-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border-radius:9px;text-decoration:none;font-weight:700;border:1px solid transparent;cursor:pointer;box-sizing:border-box}
.danger-btn,.delete-btn{background:#fee2e2;color:#991b1b;border-color:#fecaca}
.reject-btn{background:#fff7ed;color:#9a3412;border-color:#fed7aa}
.edit-btn{background:#eef2ff;color:#3730a3;border-color:#c7d2fe}
.danger-btn.small{min-height:34px;padding:6px 10px;font-size:12px}
.log-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.log-badge.success{background:#dcfce7;color:#166534}
.log-badge.failed{background:#fee2e2;color:#991b1b}
.admin-log-table-wrap{overflow:auto;-webkit-overflow-scrolling:touch}
.admin-log-cards,.listing-mobile-cards{display:none}
.empty-state{padding:18px;text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #d8e0ea;border-radius:10px}
.listing-mobile-card{background:#fff;border:1px solid #e3eaf2;border-radius:14px;padding:13px;box-shadow:0 4px 14px rgba(15,23,42,.05)}
.listing-mobile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px solid #edf1f5;padding-bottom:10px}
.listing-mobile-top h3{margin:3px 0 2px;font-size:15px;line-height:1.25}
.listing-mobile-top small{color:#64748b}
.listing-id{font-size:11px;color:#64748b;font-weight:800}
.featured-badge,.expired-badge{font-size:10px;font-weight:800;padding:5px 7px;border-radius:999px;white-space:nowrap;background:#fff3cd;color:#856404}
.expired-badge{background:#f8d7da;color:#842029}
.listing-mobile-info{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}
.listing-mobile-info>div{min-width:0}
.listing-mobile-info>div.full{grid-column:1/-1}
.listing-mobile-info b{display:block;font-size:10px;text-transform:uppercase;color:#64748b;letter-spacing:.3px;margin-bottom:3px}
.listing-mobile-info span{display:block;font-size:13px;color:#24364b;overflow-wrap:anywhere}
.listing-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-top:10px;border-top:1px solid #edf1f5}
.listing-mobile-actions>*{width:100%;margin:0!important}
.listing-mobile-actions .admin-approve-btn,.listing-mobile-actions .mobile-action-form button{width:100%;min-height:42px}
.listing-mobile-actions .mobile-action-form{display:block}
.listing-mobile-actions .delete-btn,.listing-mobile-actions .reject-btn,.listing-mobile-actions .edit-btn{min-height:42px}

@media(max-width:700px){
  .admin-log-head{align-items:stretch;flex-direction:column}
  .admin-log-head form,.admin-log-head .danger-btn{width:100%}
  .admin-log-table-wrap{display:none}
  .admin-log-cards{display:grid;gap:9px}
  .admin-log-card{background:#fff;border:1px solid #e3eaf2;border-radius:13px;padding:12px;box-shadow:0 3px 12px rgba(15,23,42,.04)}
  .admin-log-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
  .admin-log-meta{display:grid;gap:5px;color:#475569;font-size:12px;margin-bottom:10px}
  .admin-log-card form,.admin-log-card button{width:100%}
  .admin-log-card .danger-btn{min-height:42px}
  .listing-desktop-table{display:none!important}
  .listing-mobile-cards{display:grid;gap:10px}
  .admin-wrap .listing-mobile-cards + .pagination{margin-top:12px}
}

/* Sayfalama: mobilde tam genişlik yerine kompakt yatay navigasyon */
.admin-wrap .pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:6px;
  width:100%;
  overflow-x:auto;
  padding:2px 0 4px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.admin-wrap .pagination::-webkit-scrollbar{display:none}
.admin-wrap .pagination a.button,
.admin-wrap .pagination a{
  width:auto!important;
  min-width:38px;
  max-width:max-content;
  flex:0 0 auto;
  min-height:38px;
  padding:0 12px;
  box-sizing:border-box;
  white-space:nowrap;
  text-decoration:none;
}
@media(max-width:420px){
  .admin-wrap .pagination{gap:5px}
  .admin-wrap .pagination a.button,
  .admin-wrap .pagination a{min-width:34px;min-height:36px;padding:0 9px;font-size:13px;border-radius:8px}
}


/* Admin form controls: checkbox/radio must not inherit full-width text input sizing */
input[type="checkbox"], input[type="radio"]{
  width:18px !important;
  min-width:18px;
  max-width:18px;
  height:18px;
  margin:0;
  padding:0;
  flex:0 0 18px;
  accent-color:#1666d8;
}
.admin-check-group{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 18px;
  margin-top:9px;
  width:100%;
}
.admin-check{
  display:inline-flex !important;
  align-items:center;
  gap:8px;
  width:auto !important;
  max-width:100%;
  margin:0 !important;
  font-weight:600;
  line-height:1.35;
  cursor:pointer;
}
.admin-check span{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){
  .admin-check-group{flex-direction:column;align-items:flex-start;gap:10px;margin-top:10px}
  .admin-check{width:100% !important;min-height:38px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc}
  .form-page .card,.admin-wrap .card{overflow:hidden}
  .form-page input:not([type="checkbox"]):not([type="radio"]),
  .form-page select,.form-page textarea,
  .admin-wrap input:not([type="checkbox"]):not([type="radio"]),
  .admin-wrap select,.admin-wrap textarea{max-width:100%;}
}

/* ==========================================================
   PUBLIC HEADER — sade mobil menü
   ========================================================== */
.mobile-menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:auto!important;
  min-width:72px;
  padding:9px 11px!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.2)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.1)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:800;
}
.mobile-menu-toggle:hover{transform:none!important;background:rgba(255,255,255,.18)!important}
@media(max-width:700px){
  header .wrap{position:relative;min-height:58px;padding:8px 12px}
  .site-brand{max-width:calc(100% - 88px)!important}
  .mobile-menu-toggle{display:inline-flex}
  header nav.site-main-nav{
    display:none;
    position:absolute;
    right:12px;
    top:calc(100% - 1px);
    z-index:5001;
    width:190px;
    padding:7px;
    flex-direction:column;
    align-items:stretch;
    gap:5px;
    border:1px solid rgba(15,23,42,.12);
    border-radius:12px;
    background:#fff;
    box-shadow:0 14px 30px rgba(15,23,42,.2);
  }
  header nav.site-main-nav.is-open{display:flex}
  header nav.site-main-nav a,
  header nav.site-main-nav a:first-child,
  header nav.site-main-nav a:last-child{
    display:flex!important;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    min-height:42px;
    margin:0!important;
    padding:9px 11px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#18324f!important;
    font-size:13px!important;
    font-weight:750;
    text-decoration:none!important;
  }
  header nav.site-main-nav a:hover{background:#eef6ff!important;color:#1266d6!important;transform:none!important}
  header nav.site-main-nav a:first-child:after,
  header nav.site-main-nav a:last-child:after{content:none!important}
}
@media(min-width:701px){
  header nav.site-main-nav{display:flex!important}
}

/* Mobil header menüsü: Leaflet kontrolleri menünün altında kalmasın */
@media(max-width:700px){
  header{z-index:5000!important;}
  header .wrap{z-index:5001;}
  header nav.site-main-nav{z-index:5002!important;}
  .leaflet-top.leaflet-right{top:66px!important;}
  header nav.site-main-nav a{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;}
}

/* ==========================================================
   ADMIN HOMEPAGE-LIKE MOBILE SHELL — V9
   Yönetim sayfaları mobilde ana sitenin tam genişlik hissini kullanır.
   ========================================================== */
.admin-site-header .admin-title{color:#fff;font-size:15px;letter-spacing:.1px;margin-left:12px;white-space:nowrap}
.admin-brand{flex:0 1 auto;text-decoration:none!important}
.admin-brand strong{color:#fff}
.admin-mobile-toggle{display:none;min-width:72px;padding:9px 11px!important;margin:0!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:10px!important;background:rgba(255,255,255,.1)!important;color:#fff!important;box-shadow:none!important;font-size:12px!important;font-weight:800}
.admin-main-nav{display:flex;align-items:center;gap:7px}
@media(max-width:700px){
  html,body{width:100%;min-width:0;margin:0;padding:0;overflow-x:hidden}
  .admin-site-header{width:100%;}
  .admin-site-header .wrap{width:100%;max-width:none;min-height:58px;padding:8px 12px;display:flex;gap:8px}
  .admin-site-header .admin-brand{max-width:42%;min-width:0;overflow:hidden}
  .admin-site-header .admin-brand img{max-width:150px!important;max-height:38px!important;width:auto;height:auto}
  .admin-site-header .admin-title{font-size:13px;margin-left:0;flex:1;overflow:hidden;text-overflow:ellipsis}
  .admin-mobile-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto}
  .admin-main-nav{display:none;position:absolute;right:12px;top:calc(100% - 1px);z-index:6000;width:180px;padding:7px;flex-direction:column;align-items:stretch;gap:5px;border:1px solid rgba(15,23,42,.12);border-radius:12px;background:#fff;box-shadow:0 14px 30px rgba(15,23,42,.2)}
  .admin-main-nav.is-open{display:flex}
  .admin-main-nav a{display:flex!important;align-items:center;width:100%;min-height:42px;margin:0!important;padding:9px 11px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#18324f!important;font-size:13px!important;font-weight:750;text-decoration:none!important}
  .admin-main-nav a:hover{background:#eef6ff!important;color:#1266d6!important}
  .admin-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:12px!important;}
  .admin-wrap .topbar{margin:0 -12px 12px!important;padding:0 12px 10px!important;background:#f5f7fb}
  .admin-wrap .tabs{width:100%;padding-bottom:2px}
  .admin-wrap .card{width:100%;max-width:none}
}
@media(max-width:420px){
  .admin-site-header .wrap{padding:7px 10px;min-height:56px}
  .admin-site-header .admin-brand{max-width:36%}
  .admin-site-header .admin-brand img{max-width:128px!important;max-height:34px!important}
  .admin-site-header .admin-title{font-size:12px}
  .admin-mobile-toggle{min-width:68px;padding:8px 9px!important}
  .admin-wrap{padding:10px!important}
  .admin-wrap .topbar{margin-left:-10px!important;margin-right:-10px!important;padding-left:10px!important;padding-right:10px!important}
}
@media(min-width:701px){
  .admin-brand{display:none!important}
  .admin-mobile-toggle{display:none!important}
}

/* ==========================================================
   V12 — MOBİL AÇILIR/AŞAĞI KAYAN MENÜ İPTAL
   Eski sabit header düzeni geri getirildi.
   Harita kontrolleri eski konumunda kalır.
   ========================================================== */
@media(max-width:700px){
  body.mobile-menu-open{overflow:auto!important;}

  /* Ana site: hamburger yok, bağlantılar header içinde sabit */
  .mobile-menu-toggle{display:none!important;}
  header .wrap{position:relative;min-height:58px;padding:8px 10px;display:flex;align-items:center;gap:6px;}
  .site-brand{max-width:48%!important;min-width:0;}
  .site-brand img{max-width:150px!important;max-height:38px!important;}
  header nav.site-main-nav,
  header nav.site-main-nav.is-open{
    display:flex!important;
    position:static!important;
    width:auto!important;
    margin-left:auto!important;
    padding:0!important;
    flex:0 0 auto!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    z-index:auto!important;
  }
  header nav.site-main-nav a,
  header nav.site-main-nav a:first-child,
  header nav.site-main-nav a:last-child{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    min-height:36px!important;
    margin:0!important;
    padding:7px 9px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:9px!important;
    background:rgba(255,255,255,.1)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:800!important;
    white-space:nowrap!important;
    text-decoration:none!important;
  }
  header nav.site-main-nav a:first-child{background:#fff!important;color:#103d73!important;border-color:#fff!important;}
  header nav.site-main-nav a:first-child:after,
  header nav.site-main-nav a:last-child:after{content:none!important;}

  /* Leaflet kontrolleri: eski sağ üst konum */
  .leaflet-top.leaflet-right{top:10px!important;}

  /* Yönetim: hamburger/düşen menü yok, Site/Çıkış header içinde */
  .admin-mobile-toggle{display:none!important;}
  .admin-site-header .wrap{position:relative;display:flex;align-items:center;gap:6px;}
  .admin-site-header .admin-brand{display:none!important;}
  .admin-site-header .admin-title{font-size:13px!important;margin-left:0!important;flex:1 1 auto!important;min-width:0;overflow:hidden;text-overflow:ellipsis;}
  .admin-main-nav,
  .admin-main-nav.is-open{
    display:flex!important;
    position:static!important;
    width:auto!important;
    padding:0!important;
    margin-left:auto!important;
    flex:0 0 auto!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    z-index:auto!important;
  }
  .admin-main-nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    min-height:36px!important;
    margin:0!important;
    padding:7px 9px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:9px!important;
    background:rgba(255,255,255,.1)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:800!important;
    white-space:nowrap!important;
  }
  .admin-main-nav a:first-child{background:#fff!important;color:#103d73!important;border-color:#fff!important;}
}
@media(max-width:380px){
  header .wrap{padding-left:7px;padding-right:7px;gap:4px;}
  .site-brand{max-width:43%!important;}
  .site-brand img{max-width:128px!important;max-height:34px!important;}
  header nav.site-main-nav{gap:3px!important;}
  header nav.site-main-nav a{padding:6px 7px!important;font-size:10px!important;}
  .admin-site-header .wrap{padding-left:7px;padding-right:7px;gap:4px;}
  .admin-site-header .admin-title{font-size:11px!important;}
  .admin-main-nav{gap:3px!important;}
  .admin-main-nav a{padding:6px 7px!important;font-size:10px!important;}
}

/* Mobil popup: Leaflet'in marker konumlandırmasını bozmadan, harita içinde alt-orta konum. */
@media (max-width:700px){
  .professional-map-popup .leaflet-popup-content-wrapper{
    width:100%!important;
    max-width:none!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  .professional-map-popup .leaflet-popup-content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    max-height:40vh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  .professional-map-popup .leaflet-popup-tip-container{display:none!important;}
  .professional-map-popup .leaflet-popup-close-button{
    z-index:5!important; top:7px!important; right:8px!important;
    width:32px!important; height:32px!important; border-radius:50%!important;
    background:rgba(255,255,255,.92)!important;
  }
  .professional-map-popup .map-popup-page{width:100%!important;max-width:none!important;}
}
