/* RPL Notification Styles */

.rpl-notifications {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

/* Mobile optimizations */
@media (max-width: 767px) {
  .rpl-notifications {
    bottom: 70px; /* Higher position on mobile to avoid quick access menu */
    right: 15px;
    left: 15px;
    align-items: flex-end;
  }

  .rpl-notification {
    max-width: 100%;
    width: 100%;
  }
}

.rpl-notification {
  background: rgba(26, 82, 118, 0.95);
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 320px;
  pointer-events: all;
  border-left: 4px solid #3498db;
  backdrop-filter: blur(5px);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-radius: 8px 12px 12px 8px;
}

.rpl-notification.show {
  transform: translateX(0);
  opacity: 1;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.notification-icon {
  font-size: 1.3rem;
  color: #3498db;
  filter: drop-shadow(0 0 3px rgba(52, 152, 219, 0.7));
}

.notification-message {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.3px;
}

/* Additional animation classes */
.pulse-effect {
  animation: pulse-glow 1s ease;
}

@keyframes pulse-glow {
  0% {
    text-shadow: none;
  }
  50% {
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.7);
  }
  100% {
    text-shadow: none;
  }
}

.winner-pulse {
  animation: winner-pulse 1s ease;
}

@keyframes winner-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.reminder-active {
  background: rgba(39, 174, 96, 0.7);
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 8px rgba(39, 174, 96, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reminder-active:hover {
  background: rgba(39, 174, 96, 0.9);
  box-shadow: 0 4px 10px rgba(39, 174, 96, 0.5);
}
