.footer-btn.active {
    color: #0d6efd !important;
  }
  .custom-toggle-btn {
    color: #001020; /* navy text by default */
    border: 1px solid #001020; /* navy-black outline */
    background-color: #fff; /* white background by default */
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .custom-toggle-btn:hover {
    background-color: #f0f0f0; /* light gray hover effect */
  }

  .custom-toggle-btn.active {
    background-color: #001020; /* navy-black background when active */
    color: #fff; /* white text when active */
  }

  #copyWalletBtn:hover {
  background-color: #00e69f !important;
  box-shadow: 0 0 8px #00ffae;
}
/* QRCode Styling */
.qr-wrapper {
    display: inline-block;
    background: linear-gradient(135deg, #001233, #000814);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .qr-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  }

/* --- Glowing pulse for unread messages --- */
.unread-glow {
  animation: glowPulse 1.8s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.4);
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.2);
  }
}

.fade-out {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in {
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeIn 0.4s forwards ease;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animating the button */
/* Wrapper for detached border */
.btn-border-wrapper {
  display: inline-block;
  padding: 7px; /* space between border and button */
  border: 2px solid #ffc107; /* detached border */
  border-radius: 16px;
  animation: pulseBorder 2s infinite;
}

/* Animate the button itself (scale only) */
.animate-scale {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

/* Scale pulse */
@keyframes pulseBorder {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 6px rgba(255, 193, 7, 0.7);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
}