.singlePage {
  min-height: calc(100vh - 70px);
  padding: 70px 20px;
  background: radial-gradient(circle at top left, #fff, #f3f3f3 45%, #e9e9e9);
}

.singleContainer {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.backButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #222;
}

.singleCard {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

.singleTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.singleTag {
  display: inline-block;
  padding: 8px 14px;
  background: #ffe7c2;
  color: #ff8500;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.singleButtons {
  display: flex;
  gap: 14px;
}

.singleButtons button {
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid #0c0b0b;
  background: #fff;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.25s ease;
}

.singleButtons button i {
  font-size: 16px;
}

.singleButtons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.editBtn:hover {
  border-color: #ffb300;
  color: #ff9800;
}

.deleteBtn:hover {
  border-color: #ff7b7b;
  color: #ff5a5a;
}

.singleTitle {
  margin: 18px 0 24px;
  font-family: 'Pacifico', cursive;
  font-size: 42px;
  letter-spacing: 1px;
  color: #111;
}

.singleImage img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.singleContent {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.quoteIcon {
  color: #ffad00;
  font-size: 34px;
  line-height: 1;
}

.singleContent p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.singleFooter {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #e3e3e3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.authorBox,
.dateBox {
  display: flex;
  align-items: center;
  gap: 14px;
}

.authorBox img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.authorBox h4,
.dateBox h4 {
  margin: 0;
  font-size: 17px;
  color: #111;
}

.authorBox h4 {
  font-family: 'Ubuntu Mono', monospace;
}

.dateBox h4 {
  font-family: 'Ubuntu Mono', monospace;
}

.authorBox span,
.dateBox span {
  color: #777;
  font-size: 13px;
}

.dateBox i {
  font-size: 26px;
  color: #ff8500;
}

.singleMessage {
  width: 100%;
  min-height: 60px;
  position: fixed;
  top: 150px;
  left: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.singleMessage p {
  padding: 13px 22px;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-10px);
  transition: 0.25s ease;
}

.singleMessage p.form-success,
.singleMessage p.form-error {
  opacity: 1;
  transform: translateY(0);
}

.singleMessage p.form-success {
  background: #e8fff0;
  color: #169b45;
  border: 1px solid #b8f0c9;
}

.singleMessage p.form-error {
  background: #fff0f0;
  color: #d62828;
  border: 1px solid #ffc2c2;
}

@media (max-width: 768px) {
  .singlePage {
    padding: 35px 14px;
  }

  .singleCard {
    padding: 22px;
  }

  .singleTitle {
    font-size: 32px;
  }

  .singleFooter {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .singleContent {
    gap: 12px;
  }
}

.messageAuthorBtn {
        background: #ffffff; /* Bembeyaz arka plan */
        color: #111827; /* Yazı rengi koyu olsun ki okunsun */
        padding: 10px 15px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
        border: 2px solid #cccdcf; /* Beyazda kaybolmasın diye çok ince gri bir çerçeve */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Şık ve hafif bir gölge */
        transition: 0.2s ease;
    }
    
    .messageAuthorBtn:hover {
        background: #ff5b00; /* Üzerine gelince turuncu */
        color: #ffffff; /* Üzerine gelince yazı bembeyaz */
        border-color: #ff5b00;
    }

    /* Eğer karanlık (Dark) moda geçilirse butonun sırıtmaması için uyum kodu (Opsiyonel) */
    body.dark-mode .messageAuthorBtn {
        background: #1f2937;
        color: #ffffff;
        border-color: #374151;
    }
    body.dark-mode .messageAuthorBtn:hover {
        background: #ff5b00;
        border-color: #ff5b00;
    }