/* Custom CSS to add Glassmorphism and Premium Glows to Bootstrap */

body {
  background-color: #f8fafc;
  background-image: none;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Page titles directly under page container */
.container-fluid>div:first-child h1,
.container-fluid>div:first-child h1.text-white,
main h1.text-white,
main h1 {
  color: #0f172a !important;
}

.container-fluid>div:first-child p.text-secondary,
main p.text-secondary {
  color: #64748b !important;
}

/* Header styling on white background */
header {
  border-bottom: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
}

header .logout-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s ease !important;
}

header .logout-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.btn-golden-calc {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 700 !important;
  border-radius: 50rem !important;
  padding: 0.5rem 1.25rem !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s ease !important;
}

.btn-golden-calc i {
  color: #ffffff !important;
}

.btn-golden-calc:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
  color: #ffffff !important;
}

.pool-item-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pool-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.header-wallet-pill {
  background: linear-gradient(135deg, #0b0f19 0%, #151d30 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 12px rgba(245, 158, 11, 0.12) !important;
  padding: 4px 6px 4px 4px !important;
  gap: 8px !important;
}

#accountStatusBadge {
  padding: 4px 14px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  border-radius: 50rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

#copyWalletBtn {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2) !important;
}

#copyWalletBtn i {
  color: #fbbf24 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  display: inline-block !important;
}

#copyWalletBtn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border-color: #fbbf24 !important;
  transform: scale(1.08) !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4) !important;
}

#copyWalletBtn:hover i {
  color: #ffffff !important;
}

header .btn-outline-secondary {
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

header .btn-outline-secondary i {
  color: #334155 !important;
}

header .btn.rounded-circle {
  border-color: #e2e8f0 !important;
  background: #f8fafc !important;
  color: #334155 !important;
}

header .btn.rounded-circle:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

header .btn.rounded-circle i {
  color: #334155 !important;
}

/* ==================== SIDEBAR THEME (LIGHT MODE WITH GOLDEN ACCENTS) ==================== */
.sidebar-gradient {
  background: #ffffff !important;
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.04) !important;
}

#sidebar .border-bottom,
#sidebar .border-top {
  border-color: #e2e8f0 !important;
}

#sidebar .logout-btn {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.1) !important;
  transition: all 0.25s ease !important;
}

#sidebar .logout-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.15rem;
  color: #475569 !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.sidebar-link i {
  color: #64748b;
  font-size: 1.25rem;
  margin-right: 0.85rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.sidebar-link:hover {
  color: #b45309 !important;
  background-color: #fffbeb !important;
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08) !important;
}

.sidebar-link:hover i {
  color: #d97706 !important;
}

.sidebar-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.sidebar-link.active i {
  color: #ffffff !important;
}

/* ==================== GOLDEN HERO CARD (EXCLUSIONS) ==================== */
.golden-hero-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(180, 83, 9, 0.22) 40%, rgba(24, 18, 38, 0.96) 100%), #181226 !important;
  border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.15), 0 0 25px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 235, 170, 0.35) !important;
  color: #ffffff !important;
}

.golden-hero-card h1,
.golden-hero-card h2,
.golden-hero-card h3,
.golden-hero-card h4,
.golden-hero-card h5,
.golden-hero-card .text-white,
.golden-hero-card .fs-3,
.golden-hero-card .fs-4,
.golden-hero-card .fs-5 {
  color: #ffffff !important;
}

.golden-hero-card .text-secondary {
  color: #fde68a !important;
}

.golden-hero-card .text-white-50 {
  color: rgba(254, 240, 138, 0.9) !important;
}

.golden-hero-card .font-monospace {
  color: #ffffff !important;
}

/* ==================== STANDARD GLASS PANELS & CARDS (WHITE BG) ==================== */
.glass-panel:not(.golden-hero-card),
.card-custom {
  background: #ffffff !important;
  backdrop-filter: none !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02) !important;
  color: #0f172a !important;
  padding: 1.5rem;
}

.glass-panel:not(.golden-hero-card) h1,
.glass-panel:not(.golden-hero-card) h2,
.glass-panel:not(.golden-hero-card) h3,
.glass-panel:not(.golden-hero-card) h4,
.glass-panel:not(.golden-hero-card) h5,
.glass-panel:not(.golden-hero-card) .text-white,
.glass-panel:not(.golden-hero-card) .fs-3,
.glass-panel:not(.golden-hero-card) .fs-4,
.glass-panel:not(.golden-hero-card) .fs-5,
.card-custom h1,
.card-custom h2,
.card-custom h3,
.card-custom h4,
.card-custom h5,
.card-custom .text-white,
.card-custom .fs-3,
.card-custom .fs-4,
.card-custom .fs-5 {
  color: #0f172a !important;
}

.glass-panel:not(.golden-hero-card) .text-secondary,
.glass-panel:not(.golden-hero-card) .text-white-50,
.card-custom .text-secondary,
.card-custom .text-white-50 {
  color: #64748b !important;
}

/* Glow Cards on White Theme */
.glow-card-gold {
  background: linear-gradient(145deg, #fffef7 0%, #fef9e7 100%) !important;
  border: 1px solid #fde68a !important;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.07) !important;
  color: #0f172a !important;
}

.glow-card-gold .text-white {
  color: #0f172a !important;
}

.glow-card-gold .text-secondary {
  color: #92400e !important;
}

.glow-card-blue {
  background: linear-gradient(145deg, #fafcff 0%, #eff6ff 100%) !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.07) !important;
  color: #0f172a !important;
}

.glow-card-blue .text-white {
  color: #0f172a !important;
}

.glow-card-blue .text-secondary {
  color: #1e40af !important;
}

.glow-card-green {
  background: linear-gradient(145deg, #fafffc 0%, #ecfdf5 100%) !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.07) !important;
  color: #0f172a !important;
}

.glow-card-green .text-white {
  color: #0f172a !important;
}

.glow-card-green .text-secondary {
  color: #065f46 !important;
}

.glow-card-purple {
  background: linear-gradient(145deg, #fdfaff 0%, #faf5ff 100%) !important;
  border: 1px solid #e9d5ff !important;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.07) !important;
  color: #0f172a !important;
}

.glow-card-purple .text-white {
  color: #0f172a !important;
}

.glow-card-purple .text-secondary {
  color: #6b21a8 !important;
}

/* Contextual Override: Glow Cards inside Golden Hero Cards */
.golden-hero-card .glow-card-gold,
.golden-hero-card .glow-card-blue,
.golden-hero-card .glow-card-green,
.golden-hero-card .glow-card-purple,
.golden-hero-card .inner-stat-card {
  background: rgba(18, 14, 30, 0.82) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 20px !important;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(12px) !important;
}

.golden-hero-card .glow-card-gold .text-white,
.golden-hero-card .glow-card-blue .text-white,
.golden-hero-card .glow-card-green .text-white,
.golden-hero-card .glow-card-purple .text-white,
.golden-hero-card .inner-stat-card .text-white {
  color: #ffffff !important;
}

.golden-hero-card .glow-card-gold .text-secondary,
.golden-hero-card .glow-card-blue .text-secondary,
.golden-hero-card .glow-card-green .text-secondary,
.golden-hero-card .glow-card-purple .text-secondary,
.golden-hero-card .inner-stat-card .text-secondary {
  color: #94a3b8 !important;
}

.golden-hero-card img {
  mix-blend-mode: screen !important;
  filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.6)) !important;
  opacity: 0.95 !important;
}

/* Pool Members Modal (Dark Luxury Theme) */
#poolMembersModal .modal-content {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(24, 18, 38, 0.98) 100%), #181226 !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

#poolMembersModal .modal-title,
#poolMembersModal .modal-title *,
#poolMembersModal .font-monospace,
#poolMembersModal .text-white,
#poolMembersModal h5 {
  color: #ffffff !important;
}

#poolMembersModal .text-secondary {
  color: #94a3b8 !important;
}

/* Tables on White Theme */
.table,
.table-dark {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

.table thead th,
.table-dark thead th {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

.table tbody td,
.table-dark tbody td {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.table tbody tr:hover td,
.table-dark tbody tr:hover td {
  background-color: #f8fafc !important;
}

/* Fog Animation */
@keyframes fogFlow {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.5;
  }

  33% {
    transform: translate(15px, -15px) scale(1.1) rotate(5deg);
    opacity: 0.8;
  }

  66% {
    transform: translate(-15px, 10px) scale(0.9) rotate(-5deg);
    opacity: 0.6;
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.5;
  }
}

.fog-glow {
  position: absolute;
  filter: blur(50px);
  animation: fogFlow 12s infinite ease-in-out;
  pointer-events: none;
  z-index: 0;
}

/* Inner Cards */
.inner-card {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px;
  padding: 1rem;
  color: #0f172a !important;
}

.input-dark-glass,
.form-control {
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
}

.input-dark-glass:focus,
.form-control:focus {
  background-color: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
  color: #0f172a !important;
}

.form-control::placeholder,
.input-dark-glass::placeholder {
  color: #94a3b8 !important;
}

/* Hide Number Input Arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Text Gradients */
.text-gradient-gold {
  background: linear-gradient(to right, #F9D976, #fff7dd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(to right, #6ee7b7, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(to right, #d8b4fe, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout & Global Overflow Protection */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

main {
  min-width: 0 !important;
  max-width: 100vw;
}

/* Mobile & Desktop Responsive Sidebar Rules */
@media (max-width: 767.98px) {
  #sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    width: 280px !important;
    max-width: 85vw !important;
    z-index: 1060 !important;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.85);
  }

  #sidebar.show-mobile {
    transform: translateX(0) !important;
  }

  #sidebarOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1055;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  #sidebarOverlay.show-mobile {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 768px) {
  #sidebar {
    width: 260px;
    position: relative;
    transform: none !important;
  }

  #sidebar.collapsed {
    width: 88px !important;
  }

  #sidebar.collapsed .sidebar-link span {
    display: none !important;
  }

  #sidebar.collapsed .sidebar-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  #sidebar.collapsed .sidebar-link i {
    margin-right: 0 !important;
    font-size: 1.4rem;
  }
}

/* Buttons */
.btn-glass-primary,
.btn-glass-blue {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #93c5fd !important;
  font-weight: bold;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  transition: all 0.3s;
  text-align: center;
  width: 100%;
}

.btn-glass-primary:hover,
.btn-glass-blue:hover {
  background: rgba(59, 130, 246, 0.25) !important;
  border-color: rgba(59, 130, 246, 0.7) !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  color: #ffffff !important;
}

.btn-primary-gradient,
.btn-gold-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s ease !important;
}

.btn-primary-gradient:hover,
.btn-gold-gradient:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
  color: #ffffff !important;
}

.btn-glass-gold {
  background: rgba(212, 175, 55, 0.15) !important;
  color: #dad594 !important;
  font-weight: bold;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  transition: all 0.3s;
  text-align: center;
  width: 100%;
}

.btn-glass-gold:hover {
  background: rgba(212, 175, 55, 0.25) !important;
  border-color: #dad594 !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  color: #ffffff !important;
}

.btn-glass-purple {
  background: rgba(168, 85, 247, 0.15) !important;
  color: #e9d5ff !important;
  font-weight: bold;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
  transition: all 0.3s;
  text-align: center;
  width: 100%;
}

.btn-glass-purple:hover {
  background: rgba(168, 85, 247, 0.25) !important;
  border-color: rgba(168, 85, 247, 0.7) !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  color: #ffffff !important;
}

/* Form inputs */
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Utilities */
.text-gold {
  color: #d97706 !important;
}

i.text-gold {
  color: #d97706 !important;
}

/* 3D PNG Image visibility fix on light theme */
.glass-panel:not(.golden-hero-card) img,
.card-custom img,
.glow-card-gold img,
.glow-card-blue img,
.glow-card-green img,
.glow-card-purple img {
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14)) !important;
}

.golden-hero-card .text-gold,
.golden-hero-card i.text-gold {
  color: #fbbf24 !important;
}

.golden-hero-card img {
  mix-blend-mode: screen !important;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.65)) !important;
}

/* Revenue Pool items & badges */
.glass-panel:not(.golden-hero-card) [id*="Badge"],
.glass-panel:not(.golden-hero-card) [id*="badge"] {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

.glass-panel:not(.golden-hero-card) [id*="Badge"] i,
.glass-panel:not(.golden-hero-card) [id*="badge"] i {
  color: #64748b !important;
}

.text-green-400 {
  color: #16a34a !important;
}

.text-purple-400 {
  color: #9333ea !important;
}

.text-blue-400 {
  color: #60a5fa !important;
}

.text-gray-400 {
  color: #9ca3af !important;
}

.text-gray-500 {
  color: #6b7280 !important;
}

.bg-black-40 {
  background-color: rgba(0, 0, 0, 0.4) !important;
}

.pill-green,
.badge-pill-active {
  background: #dcfce7 !important;
  border: 1px solid #86efac !important;
  color: #15803d !important;
  border-radius: 50rem !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0;
  padding: 0.35rem 1rem !important;
}

.badge-pill-wallet {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
  border-radius: 50rem !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0;
  padding: 0.35rem 1rem !important;
}

.badge-pill-wallet .val-green {
  color: #059669 !important;
  font-weight: 800 !important;
}

.form-control:not(.golden-hero-card .form-control) {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.form-control:not(.golden-hero-card .form-control)::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

.form-control:not(.golden-hero-card .form-control):focus {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}

.fs-7 {
  font-size: 0.875rem;
}

.fs-8 {
  font-size: 0.75rem;
}

.fs-9 {
  font-size: 0.65rem;
}

/* Dribbble Colorful Dots Loader */
.dribbble-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.dribbble-dots div {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: dribbbleBounce 0.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.dribbble-dots div:nth-child(1),
.dribbble-dots .dot-gold {
  background: linear-gradient(135deg, #E8B923, #fbbf24) !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.85), 0 0 24px rgba(245, 158, 11, 0.4);
  animation-delay: 0s;
}

.dribbble-dots div:nth-child(2),
.dribbble-dots .dot-purple {
  background: linear-gradient(135deg, #a855f7, #c084fc) !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.85), 0 0 24px rgba(168, 85, 247, 0.4);
  animation-delay: 0.15s;
}

.dribbble-dots div:nth-child(3),
.dribbble-dots .dot-blue {
  background: linear-gradient(135deg, #38bdf8, #60a5fa) !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.85), 0 0 24px rgba(56, 189, 248, 0.4);
  animation-delay: 0.3s;
}

.dribbble-dots div:nth-child(4),
.dribbble-dots .dot-green {
  background: linear-gradient(135deg, #10b981, #34d399) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.85), 0 0 24px rgba(16, 185, 129, 0.4);
  animation-delay: 0.45s;
}

@keyframes dribbbleBounce {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0.5;
  }

  100% {
    transform: translateY(-12px) scale(1.2);
    opacity: 1;
  }
}

/* Staking Type Tab Buttons */
.stake-tab-container {
  background: #f1f5f9 !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 16px;
  padding: 6px;
  display: flex;
  gap: 8px;
}

.stake-tab-btn {
  flex: 1;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  border: 1px solid transparent !important;
  background: transparent;
  color: #64748b !important;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  outline: none !important;
}

.stake-tab-btn .tab-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e293b;
  transition: color 0.25s;
}

.stake-tab-btn .tab-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
  transition: color 0.25s;
}

/* Inactive Hover State */
.stake-tab-btn:hover:not(.active) {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transform: translateY(-1px);
}

.stake-tab-btn:hover:not(.active) .tab-title {
  color: #0f172a !important;
}

.stake-tab-btn:hover:not(.active) .tab-sub {
  color: #475569 !important;
}

/* Active State - 3D Metallic Golden Gradient */
.stake-tab-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.stake-tab-btn.active .tab-title {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.stake-tab-btn.active .tab-sub {
  color: #fffbeb !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ==================== ROI CALCULATOR MODAL STYLES (GOLDEN THEME) ==================== */
.roi-calculator-modal {
  background: linear-gradient(145deg, rgba(26, 20, 52, 0.98) 0%, rgba(15, 12, 34, 0.99) 100%), #140e24;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 235, 170, 0.25);
  color: #ffffff;
}

.roi-close-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.roi-close-btn:hover {
  background: rgba(245, 158, 11, 0.3);
  border-color: rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  transform: scale(1.08);
}

.roi-input-pill {
  background: #c2c2c6;
  color: #111827 !important;
  font-weight: 800;
  border-radius: 16px;
  border: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.roi-input-pill:focus,
.roi-input-pill:hover {
  background: #d4d4d8;
  color: #000000 !important;
  outline: none;
}

.roi-input-pill::placeholder {
  color: #4b5563;
  font-weight: 600;
}

.roi-dropdown-menu {
  background: #181226 !important;
  border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
  border-radius: 16px;
  overflow-y: auto;
  max-height: 250px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(245, 158, 11, 0.25) !important;
  z-index: 1050 !important;
}

.roi-dropdown-item {
  padding: 10px 16px;
  color: #e4e4e7;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.15s ease;
  background: #181226;
}

.roi-dropdown-item:last-child {
  border-bottom: none;
}

.roi-dropdown-item:hover {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fbbf24 !important;
  padding-left: 20px;
}

.roi-dropdown-item.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(217, 119, 6, 0.35) 100%) !important;
  color: #fbbf24 !important;
  font-weight: 800;
  border-left: 3px solid #f59e0b;
}

.roi-daily-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(180, 83, 9, 0.08) 40%, rgba(24, 18, 38, 0.85) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 18px;
  box-shadow: inset 0 0 20px rgba(245, 158, 11, 0.08), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.roi-btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 16px !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s ease !important;
}

.roi-btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-1px);
}

.roi-result-card {
  background: rgba(20, 16, 38, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 18px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.roi-border-green {
  border: 1px solid rgba(34, 197, 94, 0.45) !important;
  background: linear-gradient(180deg, rgba(16, 28, 22, 0.95) 0%, rgba(15, 10, 18, 0.98) 100%) !important;
}

.roi-future-input {
  background: #c2c2c6;
  color: #111827 !important;
  font-weight: 800;
  border-radius: 14px;
  border: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.roi-future-input:focus {
  background: #d4d4d8;
  color: #000000 !important;
  outline: none;
}

.roi-future-input::placeholder {
  color: #64748b;
  font-weight: 600;
}

.roi-edit-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-size: 0.72rem !important;
  padding: 2px 10px !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
  transition: all 0.15s ease !important;
}

.roi-edit-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  transform: scale(1.05);
}

/* ==================== GLOBAL ALERT MODAL STYLES ==================== */
.global-alert-modal-backdrop {
  background: rgba(10, 10, 18, 0.3);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: opacity 0.25s ease;
}

.global-alert-card {
  background: linear-gradient(180deg, #fcfcfc 0%, #ffffff 40%, #ffffff 100%);
  border: none;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 92%;
  position: relative;
  overflow: hidden;
  animation: alertPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes alertPopIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(15px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.global-alert-close-btn {
  display: none;
  /* Removed close button as per second image */
}

.global-alert-card h3 {
  color: #1e293b !important;
  /* Dark text for title */
  font-weight: 800;
  font-size: 1.3rem;
  margin-top: 10px;
}

.global-alert-card .global-alert-msg-box {
  color: #64748b !important;
  /* Grey text for message */
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.global-alert-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  border: none;
  position: relative;
}

.global-alert-icon-box::before {
  display: none;
  /* No glow */
}

/* Alert Type: Error */
.global-alert-card.type-error {
  background: linear-gradient(180deg, #ffeeee 0%, #ffffff 35%, #ffffff 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.global-alert-card.type-error .global-alert-icon-box {
  background: #ff4d4f;
  color: #ffffff;
}

.global-alert-card.type-error .global-alert-action-btn {
  background: linear-gradient(135deg, #6ee7b7 0%, #3b82f6 100%);
  /* Changed to cyan-blue gradient if they want that cyan button, or maybe just flat cyan */
  background: #64eedd;
  color: #0f172a;
  box-shadow: none;
}

.global-alert-card.type-error .global-alert-action-btn:hover {
  background: #45d6c4;
  transform: translateY(-1px);
}

.global-alert-card.type-error .global-alert-progress-fill {
  background: #ff4d4f;
}

/* Alert Type: Success */
.global-alert-card.type-success {
  background: linear-gradient(180deg, #eeffee 0%, #ffffff 35%, #ffffff 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.global-alert-card.type-success .global-alert-icon-box {
  background: #22c55e;
  color: #ffffff;
}

.global-alert-card.type-success .global-alert-action-btn {
  background: #64eedd;
  color: #0f172a;
  box-shadow: none;
}

.global-alert-card.type-success .global-alert-action-btn:hover {
  background: #45d6c4;
  transform: translateY(-1px);
}

.global-alert-card.type-success .global-alert-progress-fill {
  background: #22c55e;
}

/* Alert Type: Warning */
.global-alert-card.type-warning {
  background: linear-gradient(180deg, #fffce6 0%, #ffffff 35%, #ffffff 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.global-alert-card.type-warning .global-alert-icon-box {
  background: #f59e0b;
  color: #ffffff;
}

.global-alert-card.type-warning .global-alert-action-btn {
  background: #64eedd;
  color: #0f172a;
  box-shadow: none;
}

.global-alert-card.type-warning .global-alert-action-btn:hover {
  background: #45d6c4;
  transform: translateY(-1px);
}

.global-alert-card.type-warning .global-alert-progress-fill {
  background: #f59e0b;
}

/* Alert Type: Info */
.global-alert-card.type-info {
  background: linear-gradient(180deg, #e6f7ff 0%, #ffffff 35%, #ffffff 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.global-alert-card.type-info .global-alert-icon-box {
  background: #3b82f6;
  color: #ffffff;
}

.global-alert-card.type-info .global-alert-action-btn {
  background: #64eedd;
  color: #0f172a;
  box-shadow: none;
}

.global-alert-card.type-info .global-alert-action-btn:hover {
  background: #45d6c4;
  transform: translateY(-1px);
}

.global-alert-card.type-info .global-alert-progress-fill {
  background: #3b82f6;
}

.global-alert-msg-box {
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.55;
  word-break: break-word;
}


/* Overriding Bootstrap Warning Color to Metallic Gold */
.text-warning {
  color: #dad594 !important;
}

.bg-warning {
  background-color: #dad594 !important;
}

.border-warning {
  border-color: #dad594 !important;
}

/* Staking Plan Badges */
.badge-stacking {
  background: rgba(6, 182, 212, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  display: inline-block !important;
  letter-spacing: 0.3px;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.badge-regular {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  display: inline-block !important;
  letter-spacing: 0.3px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}