:root {
            --green:        rgb(0, 190, 110);
            --green-dark:   rgb(0, 155, 90);
            --green-soft:   rgba(0, 190, 110, 0.1);
            --amber:        #f59e0b;
            --amber-soft:   rgba(251, 191, 36, 0.1);
            --violet:       #6366f1;
            --purple:       #8b5cf6;
            --purple-soft:  rgba(139, 92, 246, 0.1);
            --slate-50:     #f8fafc;
            --slate-100:    #f1f5f9;
            --slate-200:    #e5e7eb;
            --slate-300:    #d1d5db;
            --slate-400:    #9ca3af;
            --slate-500:    #6b7280;
            --slate-700:    #374151;
            --slate-900:    #0a0a0a;
            --radius-lg:    20px;
            --radius-md:    14px;
            --shadow-soft:  0 10px 40px rgba(0,0,0,0.06);
            --shadow-strong:0 10px 40px rgba(0,190,110,0.30);
        }

        


/* Global base (copied from project – do not redesign) */
html, body { height: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

/* Global logo shimmer (shared across pages) */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.logo-box {
  position: relative;
  overflow: hidden;
}

.logo-box::after,
.header .logo-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* Locked pills (source of truth) */
.user-pill{display:flex;align-items:center;gap:12px;height:70px !important;padding:10px 18px;}
.user-avatar{width:50px !important;height:50px !important;border-radius:50%;flex-shrink:0;}
/* Balance pill column layout (requested) */
.balance-pill{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  height:44px !important;
  padding:0 22px !important;
  border-radius:14px !important;
  background: linear-gradient(135deg, rgba(0, 190, 110, 0.06), rgba(0, 230, 130, 0.18)) !important;
  border:1px solid rgba(0, 190, 110, 0.25) !important;
}


/* Footer (shared) – copied from dashboard.css (do not redesign) */

.footer {
            border-top: 1px solid var(--slate-200);
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #fff;
            margin-top: 0;
        }

        .footer-top {
            max-width: 1200px;
            margin: 0 auto;
            padding: 42px 8px 30px;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 40px;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .footer-brand-logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-brand-icon {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--green), rgb(0,230,130));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 900;
            box-shadow: 0 8px 22px rgba(0,190,110,0.4);
            position: relative;
            overflow: hidden;
        }

        .footer-brand-icon::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
            background-size: 200% 100%;
            animation: shimmer 3.2s infinite;
        }

        .footer-brand-name {
            font-size: 20px;
            font-weight: 900;
        }

        .footer-brand-subtitle {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(255,255,255,0.75);
        }

        .footer-brand p {
            font-size: 14px;
            color: rgba(255,255,255,0.82);
            max-width: 340px;
        }

        .footer-section {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .footer-section h3 {
            font-size: 18px;
            font-weight: 800;
        }

        .footer-section ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .footer-section a {
            font-size: 14px;
            color: rgba(255,255,255,0.78);
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .footer-section a:hover {
            color: var(--green);
            padding-left: 4px;
        }

        .newsletter-text {
            font-size: 14px;
            color: rgba(255,255,255,0.80);
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .newsletter-form input {
            padding: 10px 14px;
            border-radius: 10px;
            border: 2px solid rgba(255,255,255,0.25);
            background: rgba(15,23,42,0.94);
            color: #fff;
            font-size: 14px;
        }

        .newsletter-form input::placeholder {
            color: rgba(255,255,255,0.6);
        }

        .newsletter-form input:focus {
            outline: none;
            border-color: var(--green);
            box-shadow: 0 0 0 2px rgba(0,190,110,0.4);
        }

        .newsletter-form .btn {
            border-radius: 10px;
            border: none;
            padding: 10px 16px;
            background: linear-gradient(135deg, var(--green), rgb(0,230,130));
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(0,190,110,0.45);
        }

        .footer-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding: 16px 8px 22px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 14px;
        }

        .footer-bottom-left {
            font-size: 13px;
            color: rgba(255,255,255,0.70);
        }

        .footer-bottom-links {
            display: flex;
            gap: 18px;
            flex-wrap: wrap;
        }

        .footer-bottom-links a {
            font-size: 13px;
            color: rgba(255,255,255,0.76);
        }

        .footer-bottom-links a:hover {
            color: var(--green);
        }

        /* Overlay for mobile drawer */
        #sidebarOverlay {
            position: fixed;
            inset: 0;
            background: rgba(15,23,42,0.45);
            z-index: 850;
            display: none;
        }

        /* ---------------- Media queries ---------------- */

@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (max-width: 992px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-brand p { font-size: 13px; }
  .footer-section h3 { font-size: 16px; }
  .footer-section a { font-size: 13px; }
}

/* ===============================
   UI LOCKED ZONE (DO NOT EDIT)
   Source of truth: header pills
   =============================== */
.user-pill{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  height:70px !important;
}
.balance-pill{
  padding:10px 22px !important;
  height:70px !important;
}
.user-avatar{
  width:50px !important;
  height:50px !important;
}


/* ===============================
   AdSense containers (UI-safe)
   Matches existing card theme
   =============================== */
.ad-card{
  width: 100%;
  min-height: 90px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148,163,184,0.16);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  overflow: hidden;
}
.ad-wrap{
  position: relative;
  width: 100%;
  margin: 14px 0;
}
.ad-tag{
  position:absolute;
  top:10px;
  right:10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(148,163,184,0.18);
  color: rgba(226,232,240,0.92);
  pointer-events:none;
  z-index:2;
}
@media (max-width: 768px){
  .ad-wrap{ margin: 12px 0; }
}
