/* 🌿 Tema Ormanı Bildirim Sistemi - Modern Tasarım */
#temaormani-notifications {
  position: fixed;
  bottom: 85px;
  left: 25px;
  z-index: 99999;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* 🎯 Floating Button - Modern */
.notifications-toggle {
  position: relative;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #95c11f 0%, #7bbf00 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 
    0 8px 25px rgba(149, 193, 31, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid #0f0f0f;
  overflow: hidden;
}

.notifications-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  border-radius: 50%;
}

.notifications-toggle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 12px 35px rgba(149, 193, 31, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.notifications-toggle:active {
  transform: scale(0.95);
}

.notifications-toggle img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0f0f0f;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* 🔴 Floating Button Badge - SABİT 1 */
.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(255, 68, 68, 0.4);
    border: 2px solid #0f0f0f;
    z-index: 3;
    animation: pulse 2s infinite;
    padding: 0 5px;
    /* HER ZAMAN GÖSTERİLSİN */
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* 💬 Bildirim Penceresi Header - GERÇEK SAYI */
.notifications-header .status {
    font-size: 12px;
    color: #000;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* 💬 Bildirim Penceresi - Modern */
.notifications-window {
  width: 380px;
  height: 600px;
  background: #0f0f0f;
  color: #fff;
  border-radius: 24px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(149, 193, 31, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  bottom: 90px;
  left: 0;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #333;
  backdrop-filter: blur(20px);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.95);
  pointer-events: none;
}

/* 🎨 Başlık - Modern */
.notifications-header {
  background: linear-gradient(135deg, #95c11f 0%, #7bbf00 100%);
  color: #000;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.notifications-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.notifications-header:hover::before {
  transform: translateX(100%);
}

.bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, 0.2);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bot-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.status {
  font-size: 12px;
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ❌ Kapat Butonu */
.close-notifications {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #000;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-notifications:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
}

/* 📜 Bildirim Listesi */
.notifications-list {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: 
    radial-gradient(circle at 20% 80%, rgba(149, 193, 31, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(123, 191, 0, 0.03) 0%, transparent 50%),
    #181818;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 🔔 Bildirim Kartları */
.notification-item {
  background: #2b2b2b;
  padding: 10px;
  border-left: 2px solid #95c11f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notification-item:hover {
  background: #333;
}

.notification-item.unread {
  background: #2f2f2f;
  border-left-width: 2px;
}

/*.notification-item.read {
  opacity: 0.7;
}*/

.notification-content h5 {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.notification-content p {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #ccc;
}

.notification-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #95c11f;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  background: rgba(149, 193, 31, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.notification-link:hover {
  background: #95c11f73;;
  transform: translateX(3px);
  color:#fff;
}

.notification-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.notification-date {
  font-size: 12px;
  color: #666;
}

.unread-indicator {
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

/* 🌿 Boş Durum */
.no-notifications {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-notifications p {
  font-size: 16px;
  margin: 0;
}

/* 📜 Scrollbar - Modern */
.notifications-list::-webkit-scrollbar {
  width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
  background: #111;
  border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #95c11f 0%, #7bbf00 100%);
  border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #7bbf00 0%, #95c11f 100%);
}

/* 📱 Mobil Uyum */
@media (max-width: 768px) {
  #temaormani-notifications {
    bottom: 86px;
    left: 8px;
  }
  
  .notifications-window {
    width: calc(100vw - 30px);
    max-width: 380px;
    height: 500px;
    bottom: 90px;
  }
  
  .notifications-toggle {
    width: 60px;
    height: 60px;
  }
  
  .notifications-toggle img {
    width: 50px;
    height: 50px;
  }
  
  .notification-badge {
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    line-height: 18px;
  }
}

@media (max-width: 480px) {
  .notifications-window {
    height: 70vh;
  }
  
  .notifications-list {
    padding: 15px;
  }
  
  .bot-avatar {
    width: 36px;
    height: 36px;
  }
  
  .bot-info h4 {
    font-size: 15px;
  }
}