.genel{
   
    margin-left: 350px;
    padding:20px;
     width: calc(100% - 350px);
   
       position:relative; 
       overflow-x:hidden;
   }
   
   .bayi-kart {
    min-height: 400px;
    height: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: white;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a{
    text-decoration: none;
}
.bayi-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Adres kısmı uzun olursa kısıtlansın */
.bayi-adres {
  display: -webkit-box;           /* Flexbox benzeri özel bir kutu */
  -webkit-line-clamp: 2;          /* 2 satırda kes */
  -webkit-box-orient: vertical;   /* Dikey kutu yönü */
  overflow: hidden;               /* taşanı gizle */
  text-overflow: ellipsis;        /* taşan kısım ... olsun */
  white-space: normal;
}

/* İstatistik kutuları */
.info-box {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    min-width: 80px;
    background-color: #f8f9fa;
    transition: background 0.3s;
}
.info-box:hover {
    background-color: #e9ecef;
}

/* Alt aksiyon paneli */
.aksi-panel {
    backdrop-filter: blur(6px);
    border-top: 1px solid #dee2e6;
}

/* Sil-Düzenle Butonları */
.btn-aksi {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.btn-aksi:hover {
    background-color: #f1f1f1;
    transform: scale(1.1);
}
@media (max-width: 991.98px) {
    .genel {
      margin-left: 0;
      width: 100%;
      padding: 15px;
    }
  
    .bayi-kart {
      min-height: auto;
      padding-bottom: 1rem;
    }
  
    .bayi-adres {
      -webkit-line-clamp: 4; /* Daha uzun adres gösterebiliriz mobilde */
    }
  
    .btn-aksi {
      width: 38px;
      height: 38px;
    }
  }
  
  @media (max-width: 575.98px) {
    .info-box {
      min-width: 70px;
      padding: 0.4rem 0.5rem;
      font-size: 0.85rem;
    }
  
    .btn-aksi {
      width: 36px;
      height: 36px;
    }
  
    .bayi-kart {
      font-size: 0.95rem;
    }
  
    .bayi-adres {
      max-height: none;
      -webkit-line-clamp: unset;
    }
  }
  @media (max-width: 711px) {
    .topRight {
      flex-direction: column !important;
      align-items: center !important;
      gap: 0.5rem !important;
    }
  
    .leftTopBtn {
      flex-direction: column !important;
      align-items: center !important;
      width: 100%;
      gap: 0.5rem !important;
    }
  
    .searchİnput,
    #uyeTipi {
      width: 90% !important;
      font-size: 13px;
      height: 36px;
    }
    .searchBtn {
        margin: 0 auto !important;
        text-align: center;
      }
    .searchBtn,
    .btn-outline-primary,
    .kisiEkle {
      width: 90% !important;
      font-size: 13px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .kisiEkle {
      font-size: 13px;
    }
  }  
  .hidden-card {
    display: none !important;
}
.info-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  justify-content: center;
  min-height: 120px; /* sabit yükseklik: eşit görünüm sağlar */
}

.info-wrapper .info-box:nth-child(3) {
  grid-column: span 2;
  justify-self: center;
}