/* POPUP */
.popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.popup.active {
  display: flex;
  opacity: 1;
}

.popup-inner {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
}

/* İsterseniz popup kapanması için üstte kapatma ikonu ekleyebilirsiniz */
.popup-close-btn {
  position: absolute;
  top: 10px; right: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  border: none;
  background: none;
}

/* NOTIFICATION */

/* Bildirim konteyneri */
#notification-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* Bildirim öğesi */
.notification {
  min-width: 280px;
  max-width: 360px;
  padding: 16px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn 0.4s ease forwards;
}

/* Renk Temaları */
.bg-primary { background-color: #007bff; }
.bg-success { background-color: #28a745; }
.bg-danger  { background-color: #dc3545; }

/* Giriş Animasyonu */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Çıkış Animasyonu */
@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Çıkış animasyonu sınıfı */
.notification.hide {
  animation: slideOut 0.4s ease forwards;
}
