 html, body{
       height: 100%;
      margin: 0;
    }


    body {
      background-color: #f8f9fa;
      font-family: Arial, sans-serif;
         display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    .content{
      flex: 1;
      padding: 10px;
    }
  


    /* Başlık Detay */
    .baslik-detay {
      background: white;
      padding: 15px;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      margin-bottom: 20px;
      overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
overflow: hidden;
    }
    .baslik-detay h3 {
      font-size: 1.2rem;
      margin-bottom: 8px;
	font-weight: bold
    }
    .baslik-meta {
      font-size: 0.8rem;
      color: #6c757d;
     margin-bottom: 0;
    }
    .baslik-metin {
      font-size: 0.95rem;
      color: #333;
      margin-bottom: 15px;
     
      overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
overflow: hidden;
text-align: justify;
white-space: pre-line;
    }

    /* Yorum Formu */
    .yorum-form {
         display: none;
      background: #e0e0e0;
      padding: 15px;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      margin-bottom: 20px;
      font-size: 0.9rem;
    }
    .yorum-form h4 {
      font-size: 1rem;
      margin-bottom: 10px;
    }
    .yorum-form textarea {
      font-size: 0.85rem;
    }
    .char-counter {
      font-size: 0.75rem;
      color: #6c757d;
      text-align: right;
    }

    /* Yorum Kartları */
    .yorum-card {
      background: #F8F8F8;
      padding: 10px;
      border-radius: 6px;
      margin-bottom: 10px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.25);
      
      overflow-wrap: break-word;
      word-wrap: break-word;
      word-break: break-word;
      overflow: hidden;
      text-align: justify;
      
    }
    .yorum-card p {
      margin-bottom: 5px;
      font-size: 0.9rem;
    }
    .yorum-meta {
      font-size: 0.75rem;
      color: #6c757d;
    }
    
 input,
textarea,
select {
    font-size: 16px !important; /* Mobil zoom engelleme */
    -webkit-text-size-adjust: 100%; /* iOS otomatik font büyütmesini kapatır */
}





.upload-container {
    max-width: 500px;
    margin: 0;
    padding: 2px;
    text-align: left;
}

.upload-container h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: black;
}

.file-input {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 0;
    padding: 4px;
    border: 2px dashed #aaa;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fafafa;
    transition: border-color 0.3s ease;
}

.file-input:hover {
    border-color: #333;
}

/* Önizleme alanı */
.preview {
    margin-top: 15px;
    margin-bottom: 15px;
}

.preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ccc;
}








#toggleBtn {
        display: block;
        margin: 0;
        margin-bottom: 15px;
        padding: 6px 25px;
        background-color: #28a745;
        color: white;
        font-size: 13px;
        font-weight: bold;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    #toggleBtn:hover {
        background-color: black; /* Hover mavi */
    }
    
    /* Responsive */
    @media (max-width: 600px) {
        #toggleBtn {
            font-size: 13px;
            padding: 5px 20px;
        }
    }





/* Küçük önizleme resmi */
.previewsss-img {
  width: 75px;
  height: 75px;
  object-fit: cover; /* kare kırpma */
  cursor: pointer;
  border-radius: 5px;
}

/* Lightbox kaplama alanı */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

/* Büyük resim */
.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

/* Kapatma butonu */
.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


 /* Beni hatırla alanı */
    .remember-me {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 12px;
      font-size: 0.85rem;
    }
    .remember-me input[type="checkbox"] {
      width: 16px;
      height: 16px;
      margin-right: 6px;
    }
    
        .remember-me a {
      color: white;
      text-decoration: underline;
      font-size: 0.85rem;
    }
    



.like-btn {
  cursor: pointer;
  color: #6c757d; /* gri - beğenilmemiş hali */
  text-decoration: none;
  font-size: 18px;
}

.like-btn.liked {
  color: #28a745; /* yeşil - beğenilmiş hali */
}

.like-btn:hover {
  color: #218838; /* koyu yeşil - hover */
}

.like-count {
  font-size: 14px;
  color: #6c757d; /* gri */
  margin-left: 4px;
}


