.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);
  }
}

/* Custom CSS for flickering effect */
@keyframes flicker {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.banner {
    background-color: red;
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.banner-icon {
    margin-right: 15px;
    animation: flicker 1s infinite;
}

.banner-text {
    font-weight: bold;
}

.round-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%; /* makes it round */
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

    .round-btn.flag {
        background-color: brown;
    }

    .round-btn.unflag {
        background-color: #f5c400;
        color: #000;
    }

    /* Hover animation */
    .round-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    /* Click animation */
    .round-btn:active {
        transform: scale(0.95);
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    }


@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-ticker {
    animation: ticker 30s linear infinite;
}

.hover\:pause-scroll:hover {
    animation-play-state: paused;
}


/* Maintain original layout, swap green to blue */
.positive {
    color: #3b82f6; /* Changed from #10b981 */
}

.portfolio-change {
    color: #60a5fa; /* Changed from #4ade80 */
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.portfolio-section {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Button & UI specific overrides for the Blue theme */
.btn-deposit {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-deposit:hover {
        background-color: #2563eb;
        transform: translateY(-1px);
    }

.btn-withdraw {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}