/* ========== SON ÇARE - BASİT VE ETKİLİ ========== */

@media (max-width: 768px) {
  
  /* HER ŞEYİ ZORLA TRANSPARAN YAP */
  * {
    background-color: transparent !important;
  }
  
  /* Post container temizle */
  #posts_container {
    background: transparent !important;
  }

  /* Post kutuları - ZORLA TRANSPARAN */
  .postbit,
  .post_classic,
  div[id*="post_"],
  .post {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(76, 175, 80, 0.3) !important;
    border-radius: 12px !important;
    margin: 15px 10px !important;
    overflow: hidden !important;
  }

  /* Eğer MyBB başka class kullanıyorsa */
  table.tborder,
  .tborder {
    background: transparent !important;
  }

  /* KULLANICI ALANI - ZORLA DÜZELTİCİ */
  .post_author {
    background: rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2) !important;
    padding: 15px !important;
    
    /* FLEXBOX ZORLA */
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 15px !important;
    text-align: left !important;
  }

  /* Avatar sabit sol */
  .post_author img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(76, 175, 80, 0.4) !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  /* TÜTEN CENTER ETİKETİNİ YOKET */
  .post_author center {
    display: contents !important; /* Center'ı yok et ama içeriği koru */
  }

  /* Kullanıcı bilgileri alanı */
  .post_author .user_info,
  .post_author center + br + .user_info {
    flex: 1 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  /* Kullanıcı adı yeşil - ÇEVRIM DURUMU AYNI SATIRDA */
  .post_author .largetext,
  .post_author .largetext a,
  .post_author strong {
    color: #4CAF50 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline !important; /* Inline yap ki yanyana gelsin */
    margin: 0 !important;
    text-align: left !important;
  }

  /* Çevrimiçi durumu - AYNI SATIRDA SAĞ TARAFA */
  .buddy_status {
    color: #4CAF50 !important;
    font-size: 12px !important;
    margin: 0 0 0 10px !important; /* Sol margin ile boşluk */
    text-align: left !important;
    display: inline !important; /* Inline yap */
  }

  /* Kullanıcı adı container'ı */
  .post_author .largetext {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
  }

  /* Grup bilgileri */
  .author_information {
    margin: 8px 0 !important;
    text-align: left !important;
  }

  .author_information .smalltext {
    color: #FFD700 !important;
    font-size: 12px !important;
    text-align: left !important;
    display: block !important;
  }

  /* İstatistikler */
  .author_statistics {
    margin: 8px 0 0 0 !important;
    text-align: left !important;
  }
	
  .author_statistics div {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 11px !important;
    margin: 2px 0 !important;
    text-align: left !important;
  }

  /* BR etiketlerini gizle */
  .post_author br {
    display: none !important;
  }

  /* MESAJ ALANI - TARİH ARKA PLAN TAM DÜZELTMESİ */
  .post_content {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
  }

	/* MEVCUT KODUNUZDA POST_HEAD KISMINII BU ŞEKİLDE DEĞİŞTİRİN */

@media (max-width: 768px) {
  
  /* MESAJ ALANI - TARİH ARKA PLAN TAM DÜZELTMESİ */
  .post_content {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .post_head {
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 12px 15px !important;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    
    /* YENİ: Flexbox ile düzgün hizalama */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    
    /* Kenar düzeltmeleri kaldırıldı */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Tarih bilgisi düzenleme - YENİ */
  .post_head .post_date,
  .post_head span[class*="date"],
  .post_head .float_right {
    color: #4CAF50 !important;
    font-size: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    
    /* Float kaldırıldı, flexbox kullanılıyor */
    float: none !important;
    order: 2 !important; /* Sağ tarafa gönder */
  }

  /* Sol taraftaki mesaj numarası/link */
  .post_head a[name],
  .post_head .post_number {
    color: #4CAF50 !important;
    font-size: 12px !important;
    order: 1 !important; /* Sol tarafa gönder */
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Eğer başka elementler varsa */
  .post_head > * {
    flex-shrink: 0 !important;
  }

  /* Post body padding düzeltmesi */
  .post_body {
    background: transparent !important;
    padding: 15px 15px 15px 25px !important; /* soldan daha fazla padding */
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* BUTONLAR - Diğer kısımlar aynı */
  .post_controls {
    background: rgba(0, 0, 0, 0.3) !important;
    border-top: 1px solid rgba(76, 175, 80, 0.2) !important;
    padding: 12px 15px !important;
  }

  .postbit_buttons {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .postbit_buttons a {
    background: rgba(76, 175, 80, 0.2) !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(76, 175, 80, 0.3) !important;
    text-decoration: none !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
  }

  .postbit_buttons a:hover {
    background: rgba(76, 175, 80, 0.4) !important;
  }
}

  /* Küçük ekranlar için */
  @media (max-width: 480px) {
    .post_author {
      flex-direction: column !important;
      text-align: center !important;
      gap: 10px !important;
    }
    
    .post_author img {
      width: 50px !important;
      height: 50px !important;
      align-self: center !important;
    }
    
    .post_author .largetext,
    .buddy_status,
    .author_information,
    .author_statistics {
      text-align: center !important;
    }
  }
}



@media (min-width: 769px) {
  .post_body {
    padding-left: 15px !important;
  }
}













/* ========== MODERN MİNİMALİST CARD TASARIM ========== */

@media (max-width: 768px) {
  
  /* HER ŞEYİ ZORLA TRANSPARAN YAP */
  * {
    background-color: transparent !important;
  }
  
  /* Post container temizle */
  #posts_container {
    background: transparent !important;
  }

  /* Post kutuları - DAHA AÇIK VE TEMİZ */
  .postbit,
  .post_classic,
  div[id*="post_"],
  .post {
    background: rgba(0, 0, 0, 0.4) !important; /* Çok daha açık */
    border: 1px solid rgba(76, 175, 80, 0.4) !important; /* İnce kenarlık */
    border-radius: 15px !important; /* Daha az yuvarlak */
    margin: 15px 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; /* Daha hafif gölge */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  }

  /* Post hover efekti - HAFIF */
  .postbit:hover,
  .post_classic:hover,
  div[id*="post_"]:hover,
  .post:hover {
    transform: translateY(-1px) !important; /* Daha az hareket */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important; /* Daha hafif */
  }

  /* KULLANICI ALANI - AÇIK VE TEMİZ */
  .post_author {
    background: rgba(0, 0, 0, 0.2) !important; /* Çok daha açık */
    border-bottom: 1px solid rgba(76, 175, 80, 0.3) !important;
    padding: 20px !important;
    position: relative !important;
    
    /* Avatar sola yaslı layout */
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 15px !important;
    text-align: left !important; /* Sola yaslı */
  }

  /* Avatar sol tarafta sabit - SOLA YASLI */
  .post_author > div:first-child {
    flex-shrink: 0 !important;
    margin: 0 !important;
    align-self: flex-start !important; /* En üste yasla */
  }

  /* Avatar - TEMİZ VE SADE */
  .post_author > div:first-child img,
  .post_author img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    border: 2px solid #4CAF50 !important; /* Daha ince kenarlık */
    margin: 0 !important;
    display: block !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important; /* Hafif gölge */
    transition: all 0.3s ease !important;
  }
  
  /* Avatar hover efekti - SADE */
  .post_author > div:first-child img:hover,
  .post_author img:hover {
    transform: scale(1.05) !important;
    border-color: #66BB6A !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  }

  /* User name row - sola yaslı */
  .post_author .user_name_row {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: left !important; /* Sola yaslı */
  }

  /* Kullanıcı adı - SOLA YASLI VE TEMİZ */
  .post_author .user_name_row strong,
  .post_author .user_name_row .largetext,
  .post_author .user_name_row .largetext a {
    color: #ffffff !important;
    font-size: 18px !important; /* Biraz küçülttüm */
    font-weight: 600 !important; /* Daha az kalın */
    text-decoration: none !important;
    display: block !important;
    margin: 0 !important;
    text-align: left !important; /* Sola yaslı */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
    letter-spacing: 0.3px !important;
    line-height: 1.2 !important;
  }

  .post_author .user_name_row .largetext a:hover {
    color: #4CAF50 !important;
    transition: color 0.3s ease !important;
  }

  /* User info container - SOLA YASLI */
  .post_author .user_info {
    display: flex !important;
    flex-direction: row !important; /* Yanyana */
    gap: 20px !important; /* Daha fazla boşluk */
    align-items: flex-start !important;
    margin-top: 5px !important;
    text-align: left !important; /* Sola yaslı */
  }

  /* Grup bilgileri - SADE BADGE */
  .author_information {
    flex: 1 !important;
  }

  .author_information .smalltext {
    color: #FFD700 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    background: rgba(255, 215, 0, 0.15) !important; /* Daha şeffaf */
    padding: 6px 12px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    display: inline-block !important;
    box-shadow: none !important; /* Gölgeyi kaldırdım */
  }

  /* BR etiketlerini grup bilgilerinde gizle */
  .author_information br {
    display: none !important;
  }

  /* İSTATİSTİKLER - STATS_CONTENT CLASS'I İLE */
  .author_statistics {
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(76, 175, 80, 0.3) !important;
    min-width: 140px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    text-align: left !important;
    margin: 5px !important;
    padding: 0 !important; /* Ana div'de padding YOK */
  }

  /* STATS_CONTENT CLASS'INA PADDİNG VER */
  .author_statistics .stats_content {
    padding: 12px 18px !important; /* Sadece wrapper'a padding */
  }

  /* İÇERİDEKİ DIV'LER - HİÇ PADDİNG YOK */
  .author_statistics .stats_content div {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    padding: 0 !important; /* HİÇ PADDİNG YOK */
    margin: 0 !important; /* HİÇ MARGIN YOK */
    line-height: 1.2 !important;
  }

  /* YORUMLAR - YEŞİL */
  .author_statistics .stats_content div:first-child {
    color: #4CAF50 !important;
  }

  /* KONULAR - ALTIN */
  .author_statistics .stats_content div:last-child {
    color: #FFD700 !important;
  }

  /* ESKİ YAPIYI OVERRIDE ET - EĞER HALA MEVCUT TEMPLATE VARSA */
  .author_statistics > div:first-child:not(.stats_content) {
    padding: 12px 18px 2px 18px !important;
  }

  .author_statistics > div:last-child:not(.stats_content) {
    padding: 2px 18px 12px 18px !important;
  }

  /* MESAJ ALANI - CLEAN HEADER */
  .post_content {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .post_head {
    background: rgba(0, 0, 0, 0.25) !important; /* Daha açık */
    padding: 12px 18px !important;
    border-bottom: 1px solid rgba(76, 175, 80, 0.3) !important;
    
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Mesaj numarası - SOL */
  .post_head a[name],
  .post_head .post_number {
    color: #4CAF50 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    background: rgba(76, 175, 80, 0.15) !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(76, 175, 80, 0.3) !important;
    text-decoration: none !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
  }

  /* Tarih bilgisi - SAĞ */
  .post_head .post_date,
  .post_head span[class*="date"] {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
  }

  /* Post body - DAHA AÇIK VE OKUNAKLI */
  .post_body {
    background: rgba(0, 0, 0, 0.15) !important; /* Çok daha açık */
    padding: 20px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
  }

  /* BUTONLAR - AÇIK VE TEMİZ */
  .post_controls {
    background: rgba(0, 0, 0, 0.2) !important; /* Daha açık */
    border-top: 1px solid rgba(76, 175, 80, 0.3) !important;
    padding: 12px 18px !important;
  }

  .postbit_buttons {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  .postbit_buttons a {
    background: rgba(76, 175, 80, 0.2) !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(76, 175, 80, 0.4) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
  }

  .postbit_buttons a:hover {
    background: rgba(76, 175, 80, 0.4) !important;
    border-color: rgba(76, 175, 80, 0.8) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3) !important;
  }

  /* BR etiketlerini genel olarak gizle */
  br {
    display: none !important;
  }

  /* Küçük ekranlar için - SOLA YASLI */
  @media (max-width: 480px) {
    .post_author {
      flex-direction: column !important;
      text-align: left !important; /* Sola yaslı */
      gap: 12px !important;
      padding: 15px !important;
    }
    
    .post_author > div:first-child {
      align-self: flex-start !important; /* Avatar sola yaslı */
    }
    
    .post_author > div:first-child img,
    .post_author img {
      width: 55px !important;
      height: 55px !important;
    }
    
    .post_author .user_info {
      flex-direction: column !important;
      gap: 10px !important;
      align-items: flex-start !important; /* Sola yaslı */
      text-align: left !important;
    }
    
    .author_statistics {
      min-width: auto !important;
      text-align: left !important; /* Sola yaslı */
      align-self: flex-start !important;
    }
    
    .postbit_buttons {
      gap: 8px !important;
    }
    
    .postbit_buttons a {
      padding: 8px 12px !important;
      font-size: 12px !important;
    }
  }
}

@media (min-width: 769px) {
  .post_body {
    padding: 25px 30px !important;
  }
}

