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

body{
    font-family: 'Inter', sans-serif;
    background:#0f172a;
    color:#fff;
}

/* SIDEBAR */

.sidebar{
    width:260px;
    height:100vh;
    background:#111827;
    position:fixed;
    left:0;
    top:0;
    padding:20px;
    overflow-y:auto;
    transition:0.3s;
    z-index:1000;
}

.sidebar-logo{
    margin-bottom:40px;
}

.sidebar-logo h4{
    color:#fff;
    font-weight:700;
}

.sidebar-menu{
    list-style:none;
    padding:0;
}

.sidebar-menu li{
    margin-bottom:10px;
}

.sidebar-menu li a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    border-radius:12px;
    text-decoration:none;
    color:#cbd5e1;
    transition:0.3s;
    font-size:15px;
}

.sidebar-menu li a:hover{
    background:#1e293b;
    color:#fff;
}

.sidebar-menu li a i{
    font-size:18px;
}

/* MAIN CONTENT */

.main-content{
    margin-left:260px;
    min-height:100vh;
    padding:20px;
}

/* NAVBAR */

.top-navbar{
    background:#1e293b;
    padding:15px 20px;
    border-radius:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.menu-toggle{
    background:none;
    border:none;
    color:#fff;
    font-size:24px;
    display:none;
}

.user-box{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:15px;
}

.user-box i{
    font-size:24px;
}

/* CARDS */

.stat-card{
    padding:25px;
    border-radius:20px;
    background:linear-gradient(135deg,#0d6efd,#2563eb);
    margin-bottom:20px;
    box-shadow:0 4px 20px rgba(0,0,0,0.3);
}

.stat-card h5{
    font-size:16px;
    margin-bottom:10px;
}

.stat-card h2{
    font-size:30px;
    font-weight:700;
}

/* CUSTOM CARD */

.custom-card{
    background:#1e293b;
    border-radius:20px;
    padding:20px;
    margin-bottom:20px;
}

/* TABLE */

.table{
    color:#fff;
}

.table thead{
    background:#334155;
}

/* FORM */

.form-control,
.form-select{
    background:#0f172a;
    border:1px solid #334155;
    color:#fff;
    padding:12px;
}

.form-control:focus,
.form-select:focus{
    background:#0f172a;
    color:#fff;
    border-color:#0d6efd;
    box-shadow:none;
}

/* BUTTON */

.btn-primary{
    padding:12px 20px;
    border-radius:12px;
}

/* MOBILE */

@media(max-width:991px){

    .sidebar{
        left:-260px;
    }

    .sidebar.show{
        left:0;
    }

    .main-content{
        margin-left:0;
    }

    .menu-toggle{
        display:block;
    }

}
.card-icon{
    width:55px;
    height:55px;
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:24px;
}
/* LANDING PAGE */

.landing-navbar{
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.landing-navbar .navbar-brand{
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.landing-navbar .nav-link{
    color:#cbd5e1 !important;
    margin-left:15px;
    transition:0.3s;
}

.landing-navbar .nav-link:hover{
    color:#0d6efd !important;
}

.hero-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    background:
    linear-gradient(rgba(15,23,42,0.92),
    rgba(15,23,42,0.95)),
    url('https://images.unsplash.com/photo-1642052502000-5f4f1d5d295c?q=80&w=2070&auto=format&fit=crop')
    center/cover;
}

.hero-section::before{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:#0d6efd;
    filter:blur(180px);
    opacity:0.2;
    top:-100px;
    right:-100px;
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero-content h1{
    font-size:65px;
    font-weight:800;
    line-height:1.1;
    margin-bottom:25px;
}

.hero-content p{
    color:#cbd5e1;
    font-size:18px;
    max-width:650px;
}

.btn-main{
    background:linear-gradient(135deg,#0d6efd,#2563eb);
    color:#fff;
    border:none;
    padding:14px 30px;
    border-radius:14px;
    font-weight:600;
    transition:0.3s;
}

.btn-main:hover{
    transform:translateY(-3px);
    color:#fff;
}

.glass-card{
    background:rgba(30,41,59,0.6);
    border:1px solid rgba(255,255,255,0.05);
    backdrop-filter:blur(12px);
    border-radius:24px;
    padding:30px;
    transition:0.3s;
    height:100%;
}

.glass-card:hover{
    transform:translateY(-8px);
    border-color:rgba(13,110,253,0.4);
}

.section-padding{
    padding:100px 0;
}

.section-title{
    margin-bottom:60px;
    text-align:center;
}

.section-title h2{
    font-size:42px;
    font-weight:700;
    margin-bottom:15px;
}

.section-title p{
    color:#94a3b8;
}

.feature-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(13,110,253,0.15);
    color:#0d6efd;
    font-size:32px;
    margin-bottom:25px;
}

.plan-price{
    font-size:50px;
    font-weight:800;
    color:#0d6efd;
}

.stats-section{
    background:linear-gradient(135deg,#0d6efd,#1d4ed8);
}

.footer{
    background:#111827;
    padding:80px 0 30px;
}

.footer a{
    color:#cbd5e1;
    text-decoration:none;
}

.footer a:hover{
    color:#fff;
}

.social-icons a{
    width:45px;
    height:45px;
    border-radius:12px;
    background:#1e293b;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:10px;
    transition:0.3s;
}

.social-icons a:hover{
    background:#0d6efd;
}

@media(max-width:991px){

    .hero-section{
        text-align:center;
        padding:120px 0;
    }

    .hero-content h1{
        font-size:45px;
    }

}

@media(max-width:576px){

    .hero-content h1{
        font-size:36px;
    }

}
/* NAVBAR IMPROVEMENTS */

.navbar-right{
    display:flex;
    align-items:center;
}

.user-avatar{
    width:45px;
    height:45px;
    border-radius:14px;
    background:rgba(13,110,253,0.15);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0d6efd;
    font-size:22px;
}

.user-info{
    display:flex;
    flex-direction:column;
    line-height:1.2;
}

.user-info span{
    font-weight:600;
    color:#fff;
}

.user-info small{
    font-size:12px;
}
/* SIDEBAR ACTIVE STATES */

.sidebar-menu li a.active{
    background:linear-gradient(135deg,#0d6efd,#2563eb);
    color:#fff;
    box-shadow:0 4px 15px rgba(13,110,253,0.25);
}

.sidebar-menu li a.active i{
    color:#fff;
}

/* LOGOUT */

.logout-link{
    background:rgba(220,53,69,0.12);
    color:#ff6b81 !important;
}

.logout-link:hover{
    background:#dc3545 !important;
    color:#fff !important;
}

/* SIDEBAR OVERLAY */

.sidebar-overlay{
    position:fixed;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
    top:0;
    left:0;
    z-index:999;
    opacity:0;
    visibility:hidden;
    transition:0.3s;
}

.sidebar-overlay.show{
    opacity:1;
    visibility:visible;
}
/* PROFESSIONAL DASHBOARD CARDS */

.stat-card{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    padding:28px;
    transition:0.35s ease;
    border:1px solid rgba(255,255,255,0.05);
}

.stat-card:hover{
    transform:translateY(-6px);
}

.stat-card::before{
    content:'';
    position:absolute;
    width:180px;
    height:180px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    top:-80px;
    right:-80px;
}

.stat-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    position:relative;
    z-index:2;
}

.stat-title{
    color:rgba(255,255,255,0.75);
    margin-bottom:12px;
    font-size:14px;
}

.stat-value{
    font-size:30px;
    font-weight:700;
    margin-bottom:0;
    color:#fff;
}

.stat-bottom{
    margin-top:24px;
    display:flex;
    align-items:center;
    gap:10px;
    position:relative;
    z-index:2;
}

.stat-bottom small{
    color:rgba(255,255,255,0.75);
}

.card-icon{
    width:62px;
    height:62px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.12);
    color:#fff;
    font-size:26px;
}

.stat-card-green{
    background:linear-gradient(135deg,#059669,#10b981);
}

.stat-card-blue{
    background:linear-gradient(135deg,#2563eb,#3b82f6);
}

.stat-card-red{
    background:linear-gradient(135deg,#dc2626,#ef4444);
}

.stat-card-gold{
    background:linear-gradient(135deg,#d97706,#f59e0b);
}

.positive-text{
    color:#bbf7d0;
    font-weight:600;
}

.negative-text{
    color:#fecaca;
    font-weight:600;
}
/* DASHBOARD HERO */

.dashboard-hero{
    position:relative;
    overflow:hidden;
    padding:45px;
    border-radius:30px;
    background:
    linear-gradient(135deg,
    rgba(37,99,235,0.95),
    rgba(15,23,42,0.95));
    border:1px solid rgba(255,255,255,0.06);
}

.dashboard-hero::before{
    content:'';
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    top:-150px;
    right:-120px;
}

.hero-badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(255,255,255,0.12);
    color:#fff;
    font-size:14px;
    font-weight:500;
}

.hero-title{
    font-size:48px;
    font-weight:800;
    line-height:1.1;
}

.hero-text{
    color:rgba(255,255,255,0.78);
    max-width:650px;
    font-size:17px;
    line-height:1.8;
}

.hero-chart-box{
    width:180px;
    height:180px;
    margin:auto;
    border-radius:35px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,0.08);
}

.hero-chart-box i{
    font-size:80px;
    color:#fff;
}

.hero-actions .btn{
    padding:14px 24px;
    border-radius:14px;
    font-weight:600;
}

/* BETTER TABLE */

.table{
    border-collapse:separate;
    border-spacing:0 10px;
}

.table tbody tr{
    background:#0f172a;
    transition:0.3s;
}

.table tbody tr:hover{
    transform:scale(1.01);
}

.table td,
.table th{
    border:none;
    vertical-align:middle;
    padding:18px;
}

.table tbody tr td:first-child{
    border-radius:14px 0 0 14px;
}

.table tbody tr td:last-child{
    border-radius:0 14px 14px 0;
}

/* MARKET WIDGET */

.tradingview-widget-container{
    border-radius:20px;
    overflow:hidden;
}

/* MOBILE */

@media(max-width:768px){

    .dashboard-hero{
        padding:30px;
        text-align:center;
    }

    .hero-title{
        font-size:36px;
    }

}
/* AUTH PAGES */

.auth-wrapper{
    position:relative;
    min-height:100vh;
    background:
    linear-gradient(rgba(15,23,42,0.92),
    rgba(15,23,42,0.95)),
    url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?q=80&w=2070&auto=format&fit=crop')
    center/cover;
    overflow:hidden;
}

.auth-overlay{
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:#0d6efd;
    filter:blur(180px);
    opacity:0.18;
    top:-100px;
    right:-100px;
}

.auth-card{
    position:relative;
    z-index:2;
    background:rgba(17,24,39,0.82);
    border:1px solid rgba(255,255,255,0.06);
    backdrop-filter:blur(14px);
    border-radius:30px;
    padding:40px;
    box-shadow:0 10px 40px rgba(0,0,0,0.35);
}

.auth-logo{
    text-align:center;
    margin-bottom:30px;
}

.auth-logo h2{
    font-weight:800;
    margin-top:15px;
}

.auth-logo i{
    font-size:60px;
    color:#0d6efd;
}

.auth-title{
    font-size:32px;
    font-weight:700;
}

.auth-subtitle{
    color:#94a3b8;
    margin-bottom:30px;
}

.auth-card .form-control{
    height:55px;
    border-radius:14px;
}

.auth-card .btn{
    height:55px;
    border-radius:14px;
    font-weight:600;
}

.auth-footer-text{
    color:#94a3b8;
}

.auth-footer-text a{
    color:#0d6efd;
    text-decoration:none;
}

.auth-footer-text a:hover{
    color:#fff;
}

@media(max-width:576px){

    .auth-card{
        padding:28px;
    }

    .auth-title{
        font-size:26px;
    }

}
.hero-mini-badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(13,110,253,0.12);
    border:1px solid rgba(13,110,253,0.3);
    color:#60a5fa;
    font-size:14px;
    font-weight:600;
    margin-bottom:25px;
}
/* WALLET BOX */

.wallet-box{
    background:#0f172a;
    border:1px solid #334155;
    border-radius:18px;
    padding:20px;
}

.wallet-icon{
    width:50px;
    height:50px;
    border-radius:14px;
    background:linear-gradient(135deg,#0d6efd,#2563eb);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:22px;
}

.wallet-address{
    word-break:break-word;
    color:#cbd5e1;
    font-size:14px;
    line-height:1.7;
}