.refer-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.refer-header img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.refer-code-box {
    margin-top: 2rem;
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 1rem;
}

.refer-code-box .form-control {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 2px;
    background-color: white;
}

.share-btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* --- Gold Icon & Premium Badge Styles --- */
.text-gold {
    color: #FFD700 !important; /* Golden Yellow */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4); /* हल्का सा ग्लो */
}

.badge-premium {
    font-size: 0.6rem !important;
    background: linear-gradient(45deg, #FFD700, #FFA500); /* गोल्ड ग्रेडिएंट */
    color: #000 !important;
    font-weight: 700;
    margin-left: auto; /* राइट साइड में धक्का देने के लिए */
    border: 1px solid #e0c200;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: pulseBadge 2s infinite; /* एनिमेटेड इफेक्ट के लिए */
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


/* --- Sticky Menu Item & Live Badge --- */
.sticky-nav-item {
    position: sticky;
    top: 0; /* टॉप पर चिपक जाएगा */
    z-index: 100; /* बाकी आइटम के ऊपर रहे */
    background-color: var(--sidebar-bg) !important; /* साइडबार का बैकग्राउंड */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* अलग दिखाने के लिए बॉर्डर */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); /* परछाई ताकि उभरा हुआ दिखे */
}

.badge-live {
    font-size: 0.6rem !important;
    background-color: #ef4444; /* लाल रंग */
    color: white !important;
    font-weight: 700;
    margin-left: auto;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: blinkLive 1.5s infinite; /* ब्लिंक एनीमेशन */
}

@keyframes blinkLive {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* अगर यूजर इस पेज पर एक्टिव है तो स्टाइल */
.sticky-nav-item a.active {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), transparent) !important;
    border-left-color: #ef4444 !important;
}

/* Logo hover effect */
.sidebar-header a:hover .brand-name {
    color: var(--secondary-color);
    transition: 0.3s;
}

.target-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.target-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

#sidebar-goal-text {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}


.sidebar-header {
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-name {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.4rem;
    text-transform: lowercase; /* Professional look ke liye sab small */
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--sidebar-link-color);
    display: block;
    margin-top: -2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

