@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

#notification {
  font-family: 'Montserrat', sans-serif;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: white;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  max-width: 90%;
  min-width: 240px;
  gap: 12px;
  font-size: 13px;
}

#notification.show {
  opacity: 1 !important;
  visibility: visible !important;
}

#notification.light-theme {
  background: #f1f5f9;
  color: #1e293b;
}

#notification.light-theme .timestamp {
  color: #333;
}

.avatar-wrapper {
  min-width: 32px;
  height: 32px;
  position: relative;
}

.avatar {
  width: 32px;
  height: 32px;
  background-color: #FF000D;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: ping 1s infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  75% { transform: scale(2); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}

.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}

#notification-text {
  margin: 0;
  font-weight: 500;
  font-size: 13px;
}

#notification-plan {
  color: #FF000D;
  font-weight: 600;
  font-size: 12px;
}

.timestamp {
  color: #cbd5e1;
  font-size: 11px;
  margin-top: 2px;
}

@media (max-width: 768px) {
  #notification {
    font-size: 12px;
    padding: 8px 12px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .avatar-wrapper, .avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  #notification-plan {
    font-size: 11px;
  }

  .timestamp {
    font-size: 10px;
  }
}
