.green-dot-active {
  width: 12px;
  /* Slightly larger for better visibility */
  height: 12px;
  background-color: #28a745;
  /* Elegant green shade */
  border: 2px solid #d4edda;
  /* Subtle border to add depth */
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
  /* Soft glow for elegance */
  animation: pulse-green 1.5s infinite;
  /* Pulsing effect */
}

.red-dot-active {
  width: 12px;
  height: 12px;
  background-color: #dc3545;
  /* Elegant red shade */
  border: 2px solid #f8d7da;
  /* Subtle border to add depth */
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.5);
  /* Soft glow for elegance */
  animation: pulse-red 1.5s infinite;
  /* Pulsing effect */
}

/* Animation for green dot */
@keyframes pulse-green {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.7);
  }
}

/* Animation for red dot */
@keyframes pulse-red {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.5);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(220, 53, 69, 0.7);
  }
}

/* siadbar
----------------------------------------------- */
.scroll-container {
  max-height: calc(100vh - 100px);
  /* Adjust for your layout */
  overflow-y: auto;
  scrollbar-width: thin;
}

.scroll-container::-webkit-scrollbar {
  width: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* membure name 
----------------------------------------------- */
.username-name .name-title,
.ref-name .name-title {
  font-weight: bold;
  /* Make the title bold */
  font-size: calc(100% + 2px);
  /* Increase font size by 2px (~2-3%) */
  color: #555;
  /* Darker color for the title */
  margin-right: 5px;
  /* Optional: space between title and name */
}

.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}


/* hidden by default */
.sidebar {
  position: fixed;
  top: 70px;
  /* below header (adjust to your header height) */
  left: -250px;
  /* off-screen */
  width: 250px;
  height: calc(100% - 70px);
  background: #fff;
  transition: left 0.3s ease-in-out;
  z-index: 1050;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  display: none;
}

/* visible when open */
.sidebar.open {
  left: 0;
  display: block;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hover-border {
  transition: border-bottom 0.3s ease;
}

.hover-border:hover {
  border-bottom: 3px solid #0d6efd;
  /* Bootstrap primary color */
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}