/* Derin Mühendislik Core v0.10.2: ortak logo olcegi + mobil istatistik hizalamasi */
/* Site Kimligi -> Logo Boyutu [%75..%130] desktop/mobil ayni olcekle calisir. */
body.dm-core-site .topbar .topinner>a.logo {
  box-sizing:border-box;
  flex:0 0 auto;
  width:calc(164px * var(--dm-logo-scale, 1.15));
  min-width:0!important;
  max-width:220px;
  justify-content:center;
  align-items:flex-start;
}
body.dm-core-site .topbar .topinner>a.logo img.dm-logo-image {
  display:block;
  width:100%;
  height:auto;
  max-width:100%!important;
  max-height:66px;
  object-fit:contain;
  object-position:left center;
}
/* Yazili logo yedegi secilen oranda ayarlansin. */
body.dm-core-site .topbar .topinner>a.logo:not(:has(img)) {
  font-size:calc(23px * var(--dm-logo-scale, 1.15));
}
@media (max-width:800px) {
  body.dm-core-site .topbar .topinner>a.logo {
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    width:calc(136px * var(--dm-logo-scale, 1.15));
    max-width:min(44vw, 190px);
    min-width:0!important;
    align-items:center;
    justify-content:center;
    z-index:52;
  }
  body.dm-core-site .topbar .topinner>a.logo img.dm-logo-image {
    width:100%;
    max-width:100%!important;
    max-height:54px;
    object-position:center center;
  }
  /* Her veri karti ayni baslangic noktasina oturur. */
  body.dm-core-site .stats .stats-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:minmax(96px,auto);
    align-items:stretch;
    gap:0 14px;
    padding-top:16px;
    padding-bottom:16px;
  }
  body.dm-core-site .stats .stats-grid>.stat {
    box-sizing:border-box;
    display:grid;
    grid-template-columns:20px minmax(0,1fr);
    gap:10px;
    justify-content:initial;
    align-items:start;
    align-content:start;
    min-width:0;
    min-height:96px;
    text-align:left;
    padding:14px 0;
  }
  body.dm-core-site .stats .stats-grid>.stat>.stat-icon {
    display:block;
    width:20px;
    height:23px;
    margin:0;
    font-size:17px;
    line-height:23px;
    text-align:center;
    flex:none;
  }
  body.dm-core-site .stats .stats-grid>.stat>div {
    display:block;
    min-width:0;
    margin:0;
    padding:0;
  }
  body.dm-core-site .stats .stats-grid>.stat strong {
    display:block;
    font-size:clamp(15px,3.8vw,18px);
    line-height:1.35;
    letter-spacing:-.15px;
    margin:0;
    overflow-wrap:break-word;
  }
  body.dm-core-site .stats .stats-grid>.stat>div>span {
    display:block;
    font-size:clamp(11px,2.85vw,13px);
    line-height:1.5;
    margin-top:5px;
  }
}
@media (max-width:360px) {
  body.dm-core-site .topbar .topinner>a.logo {max-width:42vw;}
  body.dm-core-site .stats .stats-grid {column-gap:9px;}
  body.dm-core-site .stats .stats-grid>.stat {grid-template-columns:16px minmax(0,1fr);gap:7px;}
  body.dm-core-site .stats .stats-grid>.stat>.stat-icon {width:16px;font-size:15px;}
}

/* v0.10.4: Görünür iletişim formu durum bildirimleri. */
body.dm-core-site .dm-form-panel .dm-form-status {
  display:flex;align-items:center;gap:14px;box-sizing:border-box;
  padding:17px 18px;margin:16px 0 22px;border-radius:10px;
  border:1px solid transparent;line-height:1.5;max-width:100%;
}
body.dm-core-site .dm-form-panel .dm-form-status--success {
  background:#e6f6ec;border-color:#7aca96;border-left:5px solid #19864a;
  color:#14532d;box-shadow:0 3px 10px rgba(16,87,49,.08);
}
body.dm-core-site .dm-form-panel .dm-form-status--error {
  background:#fff0ef;border-color:#eba8a3;border-left:5px solid #bb3434;
  color:#812323;box-shadow:0 3px 10px rgba(140,30,30,.06);
}
body.dm-core-site .dm-form-panel .dm-form-status-icon {
  display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;
  border-radius:50%;font-size:20px;font-weight:800;line-height:1;
}
body.dm-core-site .dm-form-panel .dm-form-status--success .dm-form-status-icon {background:#1f834c;color:#fff;}
body.dm-core-site .dm-form-panel .dm-form-status--error .dm-form-status-icon {background:#a62b2b;color:#fff;}
body.dm-core-site .dm-form-panel .dm-form-status-content {min-width:0;flex:1;}
body.dm-core-site .dm-form-panel .dm-form-status-content strong {display:block;color:inherit;font-size:17px;font-weight:800;line-height:1.38;}
body.dm-core-site .dm-form-panel .dm-form-status-content p {margin:5px 0 0;color:inherit;font-size:14px;line-height:1.5;}
@media(max-width:480px){
  body.dm-core-site .dm-form-panel .dm-form-status {gap:10px;padding:14px 12px;margin:12px 0 18px;}
  body.dm-core-site .dm-form-panel .dm-form-status-icon {flex-basis:30px;width:30px;height:30px;font-size:17px;}
  body.dm-core-site .dm-form-panel .dm-form-status-content strong {font-size:15px;}
  body.dm-core-site .dm-form-panel .dm-form-status-content p {font-size:13px;}
}
