.bg-success {
  /* --bs-bg-opacity: 1; */
  background-color: rgba(
    var(--bs-success-rgb),
    var(--bs-bg-opacity)
  ) !important;
}

.rounded-circle {
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  object-fit: cover !important;
}

.mt-n1 {
  margin-top: -0.25rem !important;
}

.mt-n2 {
  margin-top: -0.5rem !important;
}

.mt-n3 {
  margin-top: -0.75rem !important;
}

.mt-n4 {
  margin-top: -1rem !important;
}

.mt-n5 {
  margin-top: -1.25rem !important;
}

/* Asset Ticker Utilities */
.xs-font {
  font-size: 0.7rem !important;
}

.ls-1 {
  letter-spacing: 1px !important;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Cyber-Vault & Glassmorphism Design System */
:root {
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glow-primary: 0 0 20px rgba(13, 110, 253, 0.4);
}

.grad-text {
  background: linear-gradient(135deg, var(--bs-body-color), var(--bs-primary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-glass {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border) !important;
}

.bg-glass-dark {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border) !important;
}

[data-bs-theme="light"] .bg-glass-dark {
  background: rgba(0, 0, 0, 0.05) !important;
  /* border-color: rgba(0, 0, 0, 0.1) !important; */
  color: var(--bs-body-color) !important;
}

.bg-gradient-dark {
  background: linear-gradient(135deg, #1a1a1a, #000) !important;
}

.shadow-glow {
  box-shadow: var(--glow-primary) !important;
}

.vault-sphere {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--bs-primary), #000);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  z-index: 2;
  transition: transform 0.5s ease;
}

.vault-sphere.sm {
  width: 80px;
  height: 80px;
}

.vault-sphere.sm i {
  font-size: 2rem !important;
}

.vault-pulse {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--bs-primary);
  opacity: 0.3;
  animation: pulse-ring 2s infinite ease-in-out;
  z-index: 1;
}

.vault-pulse.sm {
  width: 80px;
  height: 80px;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.pulse-fast {
  animation: sphere-pulse 0.5s infinite alternate;
}

@keyframes sphere-pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.ls-2 {
  letter-spacing: 2.5px !important;
}

/* SGE Branding - Onboarding Palette */
.bg-sge-brand,
.card.bg-sge-brand {
  background: linear-gradient(
    145deg,
    #0a2e1c 0%,
    #0f4230 45%,
    #0b3535 100%
  ) !important;
  color: #fff !important;
}

[data-bs-theme="light"] .bg-sge-brand,
[data-bs-theme="light"] .card.bg-sge-brand {
  background: linear-gradient(
    145deg,
    #0d3d22 0%,
    #11503a 45%,
    #0e4040 100%
  ) !important;
  color: #fff !important;
}

.bg-sge-gradient {
  background: linear-gradient(135deg, #10b981, #06b6d4) !important;
}

.text-sge-emerald {
  color: #10b981 !important;
}

.text-sge-cyan {
  color: #06b6d4 !important;
}

.btn-sge-brand {
  background: linear-gradient(135deg, #10b981, #06b6d4) !important;
  color: #fff !important;
  border: none !important;
  transition: all 0.3s ease;
}

.btn-sge-brand:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4) !important;
}

[data-bs-theme="light"] input::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}

/* Default size for extra small devices (xs: <576px) and small devices (sm: >=576px) */
.responsive-btn {
    /* This size will be similar to .btn-sm, or even smaller padding/font-size */
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

/* Medium devices (md: >=768px) and up */
/* <button type="button" class="btn btn-primary responsive-btn">My Button</button>
 */
@media (min-width: 768px) {
    .responsive-btn {
        /* This size will be similar to .btn-lg (larger padding/font-size) */
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
        border-radius: 0.3rem;
    }
}
