@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Global Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8fafc !important;
    color: #334155 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    overflow-x: hidden;
    position: relative;
    line-height: 1.65;
}

/* 
   Background Spacing Leaks Fix:
   We remove all absolute background pseudo-elements on body 
   and place them only inside sections to prevent bottom empty space.
*/
body::before, body::after {
    display: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0284c7;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em;
}

p {
    color: #475569 !important;
}

a {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

/* Sections */
section {
    padding: 90px 0 !important;
    position: relative;
    background: none !important;
    overflow: hidden; /* Prevent inner elements leaking space */
}

/* Color Highlights (Solid blue theme, no yellow or gradients) */
.text-highlight-blue {
    color: #0284c7 !important;
}

/* Loader Overlay */
#landing-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8fafc !important;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader2 {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(0, 0, 0, 0.05);
    border-top-color: #0284c7 !important;
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glassmorphic Navbar (Light Mode Blue Accent) */
header {
    background: rgba(248, 250, 252, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.menu-sticky {
    padding: 10px 0;
    background: rgba(248, 250, 252, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-brand img {
    height: 36px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    color: #475569 !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500;
    font-size: 1.02rem;
    padding: 8px 18px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0284c7 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #0284c7;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.dropdown-toggle {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 30px;
    padding: 6px 16px !important;
    background: rgba(0, 0, 0, 0.01);
    margin-right: 15px;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    border-radius: 14px !important;
    padding: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.dropdown-item {
    color: #475569 !important;
    border-radius: 8px;
    padding: 10px 16px !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(2, 132, 199, 0.06) !important;
    color: #0284c7 !important;
}

/* Premium Solid Sky Blue Buttons (No Gradients) */
.btn-premium-gold {
    background: #0284c7 !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-premium-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25);
    background: #0369a1 !important;
}

.btn-premium-gold:active {
    transform: translateY(0);
}

.btn-premium-outline {
    background: rgba(0, 0, 0, 0.01) !important;
    color: #475569 !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-premium-outline:hover {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.05);
}

/* Light Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(2, 132, 199, 0.2);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.03);
}

/* Hero Section */
.iq-banner {
    padding: 175px 0 90px 0 !important;
    background: none !important;
    /* Confine hero glows here to avoid scroll leakage */
    background-image: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.04) 0%, transparent 50%);
}

.banner-text h1 {
    font-size: 3.1rem !important;
    line-height: 1.2;
    font-weight: 800 !important;
    margin-bottom: 24px;
}

.banner-text p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 620px;
    color: #475569 !important;
}

.banner-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Earning Dashboard Mockup (Light Theme Corporate Blue) */
.earning-dashboard {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(15px);
    position: relative;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.dashboard-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    display: inline-block;
}

.dashboard-balance {
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
    text-align: left;
}

.balance-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
    display: block;
}

.balance-val {
    font-size: 1.85rem !important;
    color: #0284c7 !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.stat-item {
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(2, 132, 199, 0.15);
}

.stat-label {
    font-size: 0.76rem;
    color: #64748b;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #0f172a;
    font-size: 1.02rem;
    margin-top: 2px;
}

/* Payout bar chart simulation */
.payout-chart-sim {
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.chart-bar {
    flex-grow: 1;
    background: #e0f2fe;
    border-radius: 6px 6px 0 0;
    min-height: 10px;
    transition: all 0.4s ease;
}

.chart-bar:hover {
    background: #0284c7;
}

/* Floating animation */
.floating-element {
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Heading Titles */
.heading-title {
    text-align: center;
    margin-bottom: 55px;
}

.heading-title.left {
    text-align: left;
    margin-bottom: 30px;
}

.heading-title small {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0284c7 !important;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.82rem;
}

.heading-title h2 {
    font-size: 2.4rem !important;
    line-height: 1.25;
    margin-bottom: 18px;
}

/* Custom Checkmark Lists */
.modern-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.modern-list li {
    font-size: 1.02rem;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-list li svg {
    color: #0284c7;
    flex-shrink: 0;
}

/* Step progress nodes (How it works) */
.step-flow-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 15px;
}

.step-node {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-node:hover {
    transform: translateY(-3px);
    border-color: rgba(2, 132, 199, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.step-num {
    width: 40px;
    height: 40px;
    background: #0284c7;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 10px rgba(2,132,199,0.2);
}

.step-title {
    font-size: 1.1rem !important;
    margin-bottom: 8px;
}

/* Feature Grid Cards */
.iq-fancy-box {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    padding: 40px 25px;
    margin-bottom: 25px;
    text-align: center;
    height: calc(100% - 25px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.iq-fancy-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0284c7;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.iq-fancy-box:hover::before {
    transform: scaleX(1);
}

.iq-fancy-box:hover {
    transform: translateY(-6px);
    border-color: rgba(2, 132, 199, 0.2);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
}

.fancy-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background: rgba(2, 132, 199, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(2, 132, 199, 0.1);
    transition: all 0.3s ease;
}

.iq-fancy-box:hover .fancy-icon {
    transform: scale(1.05);
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.2);
}

.fancy-icon img {
    height: 36px;
    width: auto;
}

.fancy-content h5 {
    font-size: 1.2rem !important;
    margin-bottom: 10px;
}

/* Minimalist Footer */
.contact-us {
    background: #f1f5f9 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 60px 0 0 0 !important;
    /* Confine footer glows */
    background-image: radial-gradient(circle at 10% 90%, rgba(2, 132, 199, 0.03) 0%, transparent 40%);
}

.info-share {
    display: flex;
    justify-content: center;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.info-share a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.info-share a:hover {
    background: #0284c7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
    border-color: transparent;
}

.copyright-box {
    background: rgba(0, 0, 0, 0.02) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding: 20px 0 !important;
    margin-top: 45px !important;
}

.iq-copyright {
    color: #64748b !important;
    font-size: 0.92rem;
}

/* Scroll To Top */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

#back-to-top a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
    transition: all 0.3s ease;
}

#back-to-top a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.3);
}

/* 
   Authentication light UI with overflow boundary safety 
*/
.auth-wrapper {
    background-color: #f8fafc !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    position: relative;
    z-index: 1;
    overflow: hidden; /* Prevent vertical stretching space bottom */
}

/* Disable body pseudo elements entirely on login/register pages to remove empty space */
body.auth-page {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
}

body.auth-page::before,
body.auth-page::after {
    display: none !important;
}

.auth-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    max-width: 440px;
    width: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    padding: 35px 30px;
    animation: authCardEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authCardEntrance {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    display: inline-block;
    max-width: 180px;
    margin: 0 auto 25px auto;
}

.auth-title {
    font-size: 1.75rem !important;
    margin-bottom: 6px;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-align: center;
}

.auth-subtitle {
    color: #64748b !important;
    font-size: 0.92rem;
    text-align: center;
    margin-bottom: 30px;
}

/* Inputs styling */
.auth-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.auth-form .input-field {
    width: 100%;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    height: 52px;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: #0f172a !important;
    padding: 10px 20px 10px 48px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-form .input-field:focus {
    border-color: #0284c7 !important;
    background: #ffffff !important;
    outline: none;
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.12);
}

.auth-form .form-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    pointer-events: none;
}

.auth-form .input-field:focus + .form-icon {
    color: #0284c7;
}

.auth-form .form-icon svg {
    fill: currentColor;
    width: 18px;
    height: 18px;
}

.auth-form .form-icon svg path {
    fill: #64748b;
}

.auth-form .input-field:focus + .form-icon svg path {
    fill: #0284c7;
}

.auth-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.auth-checkbox-group input[type="checkbox"] {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-checkbox-group input[type="checkbox"]:checked {
    background-color: #0284c7;
    border-color: #0284c7;
}

.auth-checkbox-group label {
    color: #64748b !important;
    font-size: 0.88rem;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

.auth-checkbox-group label a {
    color: #0284c7 !important;
    font-weight: 600;
}

.auth-submit-btn {
    background: #0284c7 !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    height: 52px;
    border-radius: 10px;
    border: none;
    width: 100%;
    font-size: 1.02rem;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.25);
    background: #0369a1 !important;
}

.auth-footer {
    color: #64748b !important;
    font-size: 0.88rem;
    display: block;
    text-align: center;
    margin-top: 22px;
}

.auth-footer a {
    color: #0284c7 !important;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline !important;
}

/* Preloader for Auth */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8fafc !important;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}
#preloader .loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.05);
    border-top-color: #0284c7 !important;
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    section {
        padding: 60px 0 !important;
    }
    
    header {
        padding: 12px 0;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 14px !important;
        padding: 20px !important;
        margin-top: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }
    
    .navbar-nav {
        align-items: flex-start !important;
        width: 100% !important;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 0 !important;
        width: 100%;
    }
    
    .navbar-nav .nav-link::after {
        left: 0;
        right: 0;
    }
    
    .nav.justify-content-end {
        justify-content: flex-start !important;
        margin-top: 15px;
        padding-left: 0;
    }
    
    .nav-link.dropdown-toggle {
        margin-bottom: 12px;
        display: inline-block;
    }
    
    .banner-text {
        text-align: center !important;
    }
    
    .banner-text h1 {
        font-size: 2.4rem !important;
    }
    
    .banner-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .banner-actions {
        justify-content: center;
    }
    
    .heading-title.left {
        text-align: center !important;
    }
    
    .step-flow-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 575.98px) {
    .banner-text h1 {
        font-size: 1.85rem !important;
    }
    
    .heading-title h2 {
        font-size: 1.65rem !important;
    }
    
    .banner-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-premium-gold, .btn-premium-outline {
        width: 100%;
        text-align: center;
    }
    
    .auth-card {
        padding: 28px 20px;
    }
    
    .light-bg {
        padding: 20px 12px !important;
    }
}

/* ==========================================================================
   Admin Panel Styles Overrides — Blue Gradient Theme
   Matches the main website's sky-blue / deep-blue design system.
   ========================================================================== */

/* Body */
body.app {
    background-color: #f1f5f9 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* =====================
   TOP HEADER BAR
   ===================== */
.app-header {
    background: linear-gradient(90deg, #0d47a1 0%, #1565c0 50%, #0284c7 100%) !important;
    box-shadow: 0 2px 20px rgba(13, 71, 161, 0.3) !important;
    border-bottom: none !important;
    height: 60px !important;
}

.app-header__logo {
    background: rgba(0,0,0,0.12) !important;
    border-right: 1px solid rgba(255,255,255,0.1) !important;
    padding: 0 20px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    min-width: 230px !important;
}

/* Sidebar toggle hamburger */
.app-sidebar__toggle {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.4rem !important;
    padding: 0 16px !important;
}
.app-sidebar__toggle:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08) !important;
}

/* Nav items on the right */
.app-nav .app-nav__item {
    color: rgba(255,255,255,0.85) !important;
    padding: 12px 14px !important;
    transition: all 0.2s ease !important;
}
.app-nav .app-nav__item:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08) !important;
}

/* Dropdown menu */
.settings-menu.dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    padding: 8px !important;
    min-width: 150px !important;
}
.settings-menu .dropdown-item {
    border-radius: 8px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.9rem !important;
    color: #374151 !important;
    padding: 9px 14px !important;
    transition: all 0.2s ease !important;
}
.settings-menu .dropdown-item:hover {
    background: rgba(2, 132, 199, 0.07) !important;
    color: #0284c7 !important;
}

/* =====================
   SIDEBAR
   ===================== */
.app-sidebar {
    background: linear-gradient(180deg, #0b132b 0%, #050914 100%) !important;
    border-right: none !important;
    box-shadow: 4px 0 25px rgba(11, 19, 43, 0.3) !important;
    width: 230px !important;
}

/* Sidebar user area */
.app-sidebar__user {
    background: rgba(0,0,0,0.12) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    padding: 18px 16px !important;
    display: flex !important;
    align-items: center !important;
}

.app-sidebar__user-avatar {
    display: none !important;
}

.app-sidebar__user-name {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

.app-sidebar__user-designation {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.78rem !important;
    margin: 0 !important;
}

/* Menu list */
.app-menu {
    padding: 10px 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Menu items */
.app-menu__item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px 14px 11px 13px !important;
    margin: 2px 10px !important;
    border-radius: 10px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
    border-left: 3px solid transparent !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.app-menu__item:hover {
    color: rgba(255,255,255,0.95) !important;
    background: rgba(255,255,255,0.1) !important;
}

.app-menu__item.active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.18) !important;
    border-left: 3px solid rgba(255,255,255,0.8) !important;
    font-weight: 600 !important;
    padding-left: 13px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15) !important;
}

.app-menu__icon {
    font-size: 1.05rem !important;
    width: 20px !important;
    text-align: center !important;
    color: rgba(255,255,255,0.65) !important;
    transition: color 0.22s ease !important;
    flex-shrink: 0 !important;
}

.app-menu__item:hover .app-menu__icon,
.app-menu__item.active .app-menu__icon {
    color: #ffffff !important;
}

.app-menu__label {
    flex: 1 !important;
}

/* Treeview toggle arrows */
.treeview-indicator {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.4) !important;
    transition: transform 0.25s ease !important;
}
.treeview.is-expanded > a .treeview-indicator {
    transform: rotate(90deg) !important;
    color: rgba(255,255,255,0.75) !important;
}
.treeview.is-expanded > a {
    color: rgba(255,255,255,0.9) !important;
    background: rgba(255,255,255,0.08) !important;
}

/* Sub-menu */
.treeview-menu {
    background: rgba(0,0,0,0.15) !important;
    border-radius: 8px !important;
    margin: 2px 10px !important;
    padding: 4px 0 !important;
    list-style: none !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
}

.treeview-item {
    display: block !important;
    padding: 9px 16px 9px 36px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.86rem !important;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-radius: 6px !important;
    margin: 1px 4px !important;
}
.treeview-item:hover,
.treeview-item.active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.1) !important;
}

/* Sidebar overlay (mobile) */
.app-sidebar__overlay {
    background: rgba(13, 71, 161, 0.4) !important;
}

/* =====================
   MAIN CONTENT AREA
   ===================== */
.app-content {
    margin-left: 230px !important;
    padding: 24px !important;
    background: #f1f5f9 !important;
    min-height: 100vh !important;
}

/* =====================
   WIDGET CARDS (Dashboard Stats)
   ===================== */
.widget-small {
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
    border-left: 4px solid #0284c7 !important;
    overflow: hidden !important;
    position: relative !important;
}

.widget-small::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 80px; height: 80px;
    background: rgba(2, 132, 199, 0.05);
    border-radius: 50%;
}

.widget-small:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.1) !important;
}

.widget-small.primary { border-left-color: #0284c7 !important; }
.widget-small.info    { border-left-color: #0ea5e9 !important; }
.widget-small.warning { border-left-color: #8b5cf6 !important; }
.widget-small.danger  { border-left-color: #ef4444 !important; }

.widget-small.primary::before { background: rgba(2, 132, 199, 0.05); }
.widget-small.info::before    { background: rgba(14, 165, 233, 0.05); }
.widget-small.warning::before { background: rgba(139, 92, 246, 0.05); }

.widget-small .icon {
    font-size: 2rem !important;
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}

.widget-small.primary .icon { color: #0284c7 !important; background: rgba(2,132,199,0.1) !important; }
.widget-small.info .icon    { color: #0ea5e9 !important; background: rgba(14,165,233,0.1) !important; }
.widget-small.warning .icon { color: #8b5cf6 !important; background: rgba(139,92,246,0.1) !important; }
.widget-small.danger .icon  { color: #ef4444 !important; background: rgba(239,68,68,0.1) !important; }

.widget-small .info {
    flex: 1 !important;
}

.widget-small .info h4 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 5px !important;
}

.widget-small .info p {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.widget-small .info p b {
    font-weight: 700 !important;
}

/* =====================
   PAGE TITLE BAR
   ===================== */
.app-title {
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    margin-bottom: 20px !important;
    padding: 16px 22px !important;
}

.app-title h1 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.app-breadcrumb {
    font-size: 0.82rem !important;
    color: #64748b !important;
}

/* =====================
   DATA CARDS / TILES
   ===================== */
.tile {
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    padding: 22px !important;
    margin-bottom: 24px !important;
}

.tile-title-w-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.tile-title-w-btn .title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #0f172a !important;
    margin: 0 !important;
}

/* =====================
   FORM CONTROLS
   ===================== */
.form-control {
    border-radius: 9px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 10px 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.93rem !important;
    color: #334155 !important;
    background: #f8fafc !important;
    transition: all 0.25s ease !important;
}

.form-control:focus {
    border-color: #0284c7 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1) !important;
    outline: none !important;
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 9px !important;
    font-weight: 600 !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 10px 22px !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2) !important;
    transition: all 0.25s ease !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3) !important;
    transform: translateY(-1px);
}

.btn-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.25s ease !important;
}
.btn-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.25s ease !important;
}
.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239,68,68,0.3) !important;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.25s ease !important;
}
.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.3) !important;
}

/* =====================
   TABLES
   ===================== */
.table {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #334155 !important;
}

.table thead th {
    background: #f1f5f9 !important;
    color: #374151 !important;
    font-weight: 700 !important;
    font-size: 0.83rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 12px 14px !important;
}

.table tbody tr:hover {
    background: rgba(2, 132, 199, 0.03) !important;
}

.table tbody td {
    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
    color: #475569 !important;
    vertical-align: middle !important;
}

/* =====================
   BADGES & STATUS LABELS
   ===================== */
.badge, .label {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
}

/* =====================
   DATATABLE OVERRIDES
   ===================== */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #0284c7 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(2,132,199,0.1) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(2,132,199,0.08) !important;
    border-color: rgba(2,132,199,0.2) !important;
    color: #0284c7 !important;
    border-radius: 6px !important;
}


/* ==========================================
   Coinex User Panel Custom Styling Overrides
   ========================================== */
body.light-theme, [data-bs-theme="light"] body {
    background-color: #f8fafc !important;
    color: #334155 !important;
}

[data-bs-theme="light"] .card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

[data-bs-theme="light"] .card-body {
    color: #334155 !important;
}

[data-bs-theme="light"] .dashboard-box {
    background: #ffffff !important;
    border: 1px solid rgba(2, 132, 199, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    color: #0f172a !important;
}

[data-bs-theme="light"] .dashboard-box:hover {
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08) !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
}

[data-bs-theme="light"] .dashboard-title {
    color: #64748b !important;
}

[data-bs-theme="light"] .dashboard-value {
    color: #0284c7 !important;
}

[data-bs-theme="light"] .package-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #334155 !important;
}

[data-bs-theme="light"] .package-card.active {
    border: 2px solid #0284c7 !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.1) !important;
}

[data-bs-theme="light"] .package-card:hover {
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.12) !important;
    transform: translateY(-5px);
}

[data-bs-theme="light"] .package-card h6 {
    color: #0f172a !important;
}

[data-bs-theme="light"] .package-card p {
    color: #0284c7 !important;
}

[data-bs-theme="light"] .position-income-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

[data-bs-theme="light"] .position-income-box .title {
    color: #0f172a !important;
}

[data-bs-theme="light"] .income-table .col {
    background: #ffffff !important;
    border: 1px solid rgba(2, 132, 199, 0.15) !important;
    color: #334155 !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.03) !important;
}

[data-bs-theme="light"] .income-table .myheader .col {
    background: #0284c7 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .income-table .amount span {
    color: #0284c7 !important;
}

[data-bs-theme="light"] h4.text-white, 
[data-bs-theme="light"] h4.title,
[data-bs-theme="light"] h5 {
    color: #0f172a !important;
}

[data-bs-theme="light"] hr {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-bs-theme="light"] .table {
    color: #334155 !important;
}

[data-bs-theme="light"] .table-shadow {
    background-color: #ffffff !important;
}

[data-bs-theme="light"] .table tr td {
    border-color: rgba(0, 0, 0, 0.05) !important;
    color: #475569 !important;
}

[data-bs-theme="light"] .table tr td strong {
    color: #0f172a !important;
}

[data-bs-theme="light"] .table tr td strong span {
    color: #0284c7 !important;
}

/* ==========================================
   KILL YELLOW PRIMARY — Override #f9b707 from coinex custom.min.css
   Replace ALL yellow/gold with sky-blue #0284c7
   ========================================== */
:root {
    --bs-primary: #0284c7 !important;
    --bs-primary-rgb: 2, 132, 199 !important;
    --bs-primary-bg-subtle: #e0f2fe !important;
    --bs-primary-border-subtle: #bae6fd !important;
    --bs-primary-hover-bg: #0369a1 !important;
    --bs-primary-hover-border: #075985 !important;
    --bs-primary-active-bg: #0369a1 !important;
    --bs-primary-active-border: #075985 !important;
    --bs-link-color: #0284c7 !important;
    --bs-link-hover-color: #0369a1 !important;
}

.text-primary { color: #0284c7 !important; }
.bg-primary { background-color: #0284c7 !important; }

.btn-primary,
.btn.btn-primary,
input[type="submit"].btn-primary {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}
.btn-primary:hover,
.btn.btn-primary:hover {
    background-color: #0369a1 !important;
    border-color: #0369a1 !important;
}
.btn-outline-primary {
    color: #0284c7 !important;
    border-color: #0284c7 !important;
    background: transparent !important;
}
.btn-outline-primary:hover {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.progress-bar { background-color: #0284c7 !important; }
.badge.bg-primary { background-color: #0284c7 !important; }

/* Link colors throughout panel */
[data-bs-theme="light"] a {
    color: #0284c7 !important;
}
[data-bs-theme="light"] a:hover {
    color: #0369a1 !important;
}

/* ==========================================
   USERPANEL SIDEBAR — Light Blue Gradient
   Background  : deep blue gradient
   Inactive    : semi-transparent white (65% opacity)
   Active      : full white text, frosted blue pill
   ========================================== */
.sidebar-default {
    background: linear-gradient(180deg, #0284c7 0%, #004b87 100%) !important; /* Premium Blue Gradient */
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 4px 0 30px rgba(2, 132, 199, 0.3) !important;
}
/* Native scrolling for sidebar when menus are expanded */
.sidebar, .sidebar-body, [data-scrollbar], .scroll-content {
    overflow-y: auto !important;
    height: 100vh !important;
    max-height: 100vh !important;
    -webkit-overflow-scrolling: touch !important;
}
.scrollbar-track {
    display: none !important;
}

.sidebar-default .navbar-brand {
    padding: 22px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(0, 0, 0, 0.1) !important;
}

.sidebar-default .navbar-brand span,
.sidebar-default .navbar-brand .brand-name {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.22rem !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
}

.sidebar-default .navbar-brand img {
    filter: brightness(0) invert(1) !important;
}

.sidebar-default .navbar-nav {
    padding: 10px 0 !important;
}

.sidebar-default .navbar-nav .nav-item {
    margin: 2px 10px !important;
}

/* Inactive nav links */
.sidebar-default .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.62) !important;
    background: transparent !important;
    border-radius: 10px !important;
    padding: 11px 15px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.92rem !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1px solid transparent !important;
}

/* Hover state */
.sidebar-default .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.90) !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Active — FULL WHITE, frosted white pill */
.sidebar-default .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    font-weight: 600 !important;
}

.sidebar-default .navbar-nav .nav-link.active .icon,
.sidebar-default .navbar-nav .nav-link.active span,
.sidebar-default .navbar-nav .nav-link.active svg {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Icons — inactive */
.sidebar-default .navbar-nav .nav-link .icon,
.sidebar-default .navbar-nav .nav-link svg {
    color: rgba(255, 255, 255, 0.60) !important;
    transition: all 0.22s ease !important;
}
.sidebar-default .navbar-nav .nav-link:hover .icon,
.sidebar-default .navbar-nav .nav-link:hover svg {
    color: rgba(255, 255, 255, 0.90) !important;
}

/* SVG strokes */
.sidebar-default .navbar-nav .nav-link svg path,
.sidebar-default .navbar-nav .nav-link svg circle,
.sidebar-default .navbar-nav .nav-link svg rect,
.sidebar-default .navbar-nav .nav-link svg line,
.sidebar-default .navbar-nav .nav-link svg polyline {
    stroke: rgba(255, 255, 255, 0.60) !important;
}
.sidebar-default .navbar-nav .nav-link:hover svg path,
.sidebar-default .navbar-nav .nav-link:hover svg circle,
.sidebar-default .navbar-nav .nav-link:hover svg rect,
.sidebar-default .navbar-nav .nav-link:hover svg line,
.sidebar-default .navbar-nav .nav-link:hover svg polyline {
    stroke: rgba(255, 255, 255, 0.90) !important;
}
.sidebar-default .navbar-nav .nav-link.active svg path,
.sidebar-default .navbar-nav .nav-link.active svg circle,
.sidebar-default .navbar-nav .nav-link.active svg rect,
.sidebar-default .navbar-nav .nav-link.active svg line,
.sidebar-default .navbar-nav .nav-link.active svg polyline {
    stroke: #ffffff !important;
}

/* Sub-menu (Income / Team dropdowns) */
.sidebar-default .navbar-nav .nav-item .sub-nav {
    background-color: rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px !important;
    margin: 3px 0 !important;
    padding: 5px 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.sidebar-default .navbar-nav .nav-item .sub-nav .nav-link {
    color: rgba(255, 255, 255, 0.58) !important;
    padding: 9px 16px 9px 40px !important;
    font-size: 0.87rem !important;
    border: none !important;
    border-radius: 7px !important;
    background: transparent !important;
    transform: none !important;
}
.sidebar-default .navbar-nav .nav-item .sub-nav .nav-link:hover,
.sidebar-default .navbar-nav .nav-item .sub-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10) !important;
}

/* Sidebar horizontal dividers */
.sidebar-default hr,
.sidebar-default .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.10) !important;
}

/* Top navbar bar */
.iq-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}
.iq-navbar .title {
    color: #0284c7 !important;
}

/* Sidebar Toggle Button */
.sidebar-toggle,
[data-bs-theme="light"] .sidebar-toggle,
[data-bs-theme="dark"] .sidebar-toggle {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2) !important;
}
.sidebar-toggle:hover {
    background-color: #0369a1 !important;
    border-color: #0369a1 !important;
}
.sidebar-toggle i,
.sidebar-toggle svg {
    color: #ffffff !important;
}
.sidebar-toggle svg path {
    stroke: #ffffff !important;
}

/* =============================================
   KILL YELLOW LEFT BORDER on sidebar nav items
   Coinex theme adds border-left with --bs-primary (yellow)
   on active/hover nav links. Override to white on blue bg.
   ============================================= */

/* Remove any left-border from coinex nav items entirely to avoid yellow bars */
.sidebar-default .nav-item .nav-link,
.sidebar-default .navbar-nav .nav-link,
.sidebar-default .nav-link,
.sidebar-default .nav-item .nav-link.active,
.sidebar-default .navbar-nav .nav-link.active,
.sidebar-default .nav-item .nav-link:hover,
.sidebar-default .navbar-nav .nav-link:hover,
.sidebar .nav-link,
.sidebar .nav-link.active,
.sidebar .nav-link:hover,
.sidebar .nav-link[aria-expanded="true"],
.nav-link,
.nav-link.active,
.nav-link:hover,
.nav-link[aria-expanded="true"] {
    border-left: none !important;
    border-left-width: 0 !important;
    border-left-color: transparent !important;
    padding-left: 15px !important;
}

/* Sub-nav items: no left border at all */
.sidebar-default .nav-item .sub-nav .nav-link,
.sidebar-default .navbar-nav .nav-item .sub-nav .nav-link {
    border-left: none !important;
    padding-left: 40px !important;
}
.sidebar-default .nav-item .sub-nav .nav-link:hover,
.sidebar-default .nav-item .sub-nav .nav-link.active {
    border-left: none !important;
}

/* Kill yellow on any element with primary border */
[data-bs-theme="light"] .border-primary,
.border-primary {
    border-color: #0284c7 !important;
}

