body {
  background: #f4f6f8;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
}

.container-main {
  max-width: 600px;
  margin: 0 auto;
  padding: 5rem 1rem 5rem 1rem;
}

.card {
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: none;
  margin-bottom: 1.5rem;
}

.card-img-top {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
}

.navbar-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 100;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-top .brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff7ba9;
}

.navbar-top .notification-bell {
  font-size: 1.6rem;
  color: #7b7bff;
  cursor: pointer;
  position: relative;
  padding: 0.5rem;
}

.navbar-top .notification-bell:hover {
  color: #ff7ba9;
}

.navbar-top .notification-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: red;
  color: white;
  border-radius: 50%;
  padding: 2px 5px;
  font-size: 0.7rem;
  font-weight: bold;
}

.notification-popup {
  position: fixed;
  top: 60px;
  right: 15px;
  width: 320px;
  max-width: 90%;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out, visibility 0s 0.2s;
  overflow: hidden;
}

.notification-popup.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

#notification-list {
  max-height: 400px;
  overflow-y: auto;
}

.list-group-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.list-group-item:last-child {
  border-bottom: none;
}

.notification-icon {
  font-size: 1.2rem;
  margin-right: 15px;
  width: 30px;
  text-align: center;
}

.notification-icon.star { color: #ffc107; }
.notification-icon.user { color: #0d6efd; }

.notification-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  font-size: 0.65rem;
  padding: 0.2em 0.5em;
  display: none;
}

.navbar-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #eee;
  z-index: 100;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
}

.navbar-bottom a {
  color: #7b7bff;
  font-size: 1.4rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar-bottom a span:last-child {
  font-size: 0.7rem;
}

.navbar-bottom a.active {
  color: #ff7ba9;
}

.star-rating .star {
  cursor: pointer;
  color: #ddd;
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.star-rating .star:hover {
  transform: scale(1.1);
}

.star-rating .star.selected {
  color: #ffc107;
}

.star-rating.self-post .star {
  cursor: not-allowed;
}

.rating-info {
  font-size: 0.9rem;
  color: #6c757d;
}

.share-box {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.share-box textarea {
  resize: none;
}

.share-box .share-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

#image-preview-container {
  margin-top: 1rem;
  position: relative;
}

#image-preview-container > img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.share-box .remove-image-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
}

.share-box .image-upload-icon {
  font-size: 1.5rem;
  color: #7b7bff;
  cursor: pointer;
}

/* Pull to refresh custom styles */
.ptr--icon, .ptr--spinner {
  color: #ff7ba9;
}

/* Modal Styles */
/* .modal-backdrop, .modal, .modal.show, .modal .close-btn, .modal .close-btn:hover { ... } */
/* Bu özel modal CSS'leri kaldırıldı. Artık sadece Bootstrap modal kullanılacak. */

/* Kullanıcı Profili */
.profile-header {
  margin-top: 1rem;
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #ff7ba9;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 100;
  transition: transform 0.2s ease-out;
}

.fab:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .container {
    padding-bottom: 4.5rem;
  }
  .notification-popup {
    top: 55px;
    left: 1rem;
    right: 1rem;
    width: auto;
    transform-origin: top center;
  }
}

/* HEADER (ÜST MENÜ) - MODERN & SADE */
.header {
  background: #fff;
  color: #222 !important;
  box-shadow: 0 2px 12px rgba(123,123,255,0.06);
  border-bottom: 1.5px solid #f0f0f0 !important;
}
.header h1, .header .h4 {
  color: #7b7bff !important;
  letter-spacing: 1.5px;
  font-weight: 800;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.7rem;
  margin-bottom: 0;
}
#notification-icon i {
  color: #ff7ba9;
  font-size: 1.6rem;
  transition: color 0.18s, transform 0.18s;
}
#notification-icon:hover i {
  color: #7b7bff;
  transform: scale(1.12);
}
.header .notification-badge {
  background: #ff3b3b;
  color: #fff;
  border: 2px solid #fff;
  font-size: 0.8rem;
}

/* FOOTER (ALT MENÜ) - MODERN & SADE */
.navbar-bottom {
  background: #fff;
  border-top: 1.5px solid #f0f0f0;
  box-shadow: 0 -2px 12px rgba(123,123,255,0.06);
  border-radius: 18px 18px 0 0;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  left: 0;
  transform: none;
  display: flex;
  justify-content: space-around;
  padding: 0.7rem 0 0.3rem 0;
  position: fixed;
  bottom: 0;
  z-index: 200;
}
.navbar-bottom a {
  color: #7b7bff;
  font-size: 1.6rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.18s, transform 0.18s;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  position: relative;
}
.navbar-bottom a span:last-child {
  font-size: 0.8rem;
  color: #222;
  margin-top: 2px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.navbar-bottom a.active {
  color: #ff7ba9;
  font-weight: bold;
}
.navbar-bottom a.active::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: #ff7ba9;
  border-radius: 2px;
  margin: 6px auto 0 auto;
}
.navbar-bottom a:hover {
  color: #7b7bff;
  transform: scale(1.10);
}

@media (max-width: 600px) {
  .navbar-bottom {
    border-radius: 14px 14px 0 0;
  }
}

/* Gönderi kartı hover el ikonu ve animasyonları */
.post-card {
  transition: box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
}
.post-card:hover {
  box-shadow: 0 8px 32px rgba(255,123,169,0.13), 0 2px 8px rgba(123,123,255,0.10);
  transform: translateY(-4px) scale(1.02);
  cursor: pointer;
}
.post-card:hover .post-hover-hand {
  display: block !important;
  animation: handPop 0.35s cubic-bezier(.4,2,.6,1);
}
@keyframes handPop {
  0% { opacity: 0; transform: scale(0.7) rotate(-10deg); }
  60% { opacity: 1; transform: scale(1.15) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.post-hover-hand i {
  filter: drop-shadow(0 2px 6px #ff7ba955);
}

/* Modal içindeki gönderi kartında el cursoru ve hover animasyonu olmasın */
.modal .post-card {
  cursor: default !important;
}
.modal .post-card:hover {
  transform: none !important;
  box-shadow: none !important;
}
