/*****************************************************
 * Notifications Styling (RingPal)
 * -------------------------------------------
 * Enhances toast appearance, positioning, and animations.
 *****************************************************/
#notificationIndicator {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 10px;
  height: 10px;
  background-color: #dc3545;
  border-radius: 50%;
  display: none;
}


/* 🔔 Toast container placement */
.toast-container {
  z-index: 2000; /* above modals but below alerts */
}

/* Default desktop: bottom-right */
.toast-container.bottom-0.end-0 {
  bottom: 1.5rem !important;
  right: 1.5rem !important;
}

/* On small screens, move to bottom-center */
@media (max-width: 576px) {
  .toast-container.bottom-0.end-0 {
    bottom: 1rem !important;
    right: 50% !important;
    transform: translateX(50%);
  }
}

/* Toast card base */
.toast {
  border-radius: 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.5s ease;
  overflow: hidden;
}

/* Toast header */
.toast-header {
  border-bottom: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Toast body */
.toast-body {
  font-size: 0.9rem;
  color: #333;
  background-color: #fff;
}

/* Smooth fade + slide animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Color overrides for event types */
.toast-header.bg-primary {
  background: linear-gradient(135deg, #0d6efd, #4a9efd);
}

.toast-header.bg-success {
  background: linear-gradient(135deg, #198754, #51c27b);
}

.toast-header.bg-danger {
  background: linear-gradient(135deg, #dc3545, #ff6b6b);
}

/* Close button visibility */
.toast-header .btn-close {
  filter: brightness(0) invert(1);
}

/* Add a slight pop effect */
.toast.show {
  transform: scale(1.02);
  transition: transform 0.2s ease-in-out;
}
.toast.show:hover {
  transform: scale(1.04);
}

/* Notification badge sizing */
#navNotifBadge {
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 4px;
  text-align: center;
}








/* ----- Scrollable Tabs Wrapper (Mobile Fix) ----- */
#notifTabsWrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
}

#notifTabsWrapper::-webkit-scrollbar {
    display: none; /* hide scrollbar on iOS/Chrome mobile */
}

/* Prevent tab items from wrapping or shrinking */
#notifTabs .nav-item {
    flex-shrink: 0;
}

#notifTabs .nav-link {
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 1rem;
}

/* Optional: Better spacing on small screens */
@media (max-width: 480px) {
    #notifTabs .nav-link {
        padding: 8px 12px;
        font-size: 0.95rem;
    }
}
