        :root {
            --primary: #d8ca00ff;
            --success: #ffffffff;
            --warning: #ff9f1c;
            --danger: #ff4d4d;
            --dark: #0f0f17;
        }

        /* Sidebar */
        .sidebar {
            width: 280px;
            background: var(--bg-glass);
            backdrop-filter: blur(20px);
            border-right: 1px solid rgba(255,255,255,0.08);
            padding: 30px 20px;
            position: fixed;
            height: 100%;
            overflow-y: auto;
            z-index: 100;
        }

        .sidebar-logo {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(90deg, #efb810, var(--success));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 50px;
            text-align: center;
        }

        .sidebar-profile {
            text-align: center;
            margin-bottom: 40px;
        }

        .activity-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #00ff9d;
    transition: 0.2s;
}

.activity-item:hover {
    background: rgba(255,255,255,0.08);
}

.activity-icon {
    font-size: 20px;
    color: #00ff9d;
}

.activity-info p {
    margin: 0;
    font-size: 13px;
    opacity: 0.7;
}

        .sidebar-avatar {
            width: 80px;
            height: 80px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.2rem;
            font-weight: bold;
            margin: 0 auto 15px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
        }

        .sidebar-name {
            font-size: 1.3rem;
            font-weight: 600;
        }

        .sidebar-menu {
            list-style: none;
            padding: 0;
        }

        .sidebar-menu li {
            margin: 10px 0;
        }

        .mini-progress {
            height: 6px;
            background: rgba(255,255,255,0.08);
            border-radius: 3px;
            margin-top: 12px;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            border-radius: 3px;
            transition: width 1s ease;
        }
        
        .container2 {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .riesgo-grid2 {
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .symbol-selector select {
            cursor: pointer;
            min-width: 200px;
        }

        .mini-chart-section {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            outline: 1px dashed rgb(115 115 115 / 30%);
            outline-offset: 4px;
        }

        .tradingview-widget-container.mini {
            height: 250px; /* Ajusta según prefieras */
            width: 100%;
        }

        .sidebar-menu a {
            display: flex;
            align-items: center;
            padding: 14px 20px;
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s;
        }

        .sidebar-menu a:hover,
        .sidebar-menu a.active {
            background: rgba(56, 56, 56, 0.8);
            color: white;
        }

        .sidebar-menu i {
            margin-right: 15px;
            width: 20px;
            text-align: center;
        }

        .logout-btn {
            margin-top: 40px;
            background: rgba(255,77,77,0.2);
            color: #ff4d4d !important;
        }

        .logout-btn:hover {
            background: rgba(255,77,77,0.4) !important;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            margin-left: 280px;
            padding: 40px;
        }

        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        .topbar h1 {
            font-size: 2.2rem;
            margin: 0;
        }

        .welcome {
            font-size: 1.1rem;
            color: var(--success);
        }

        .section {
            display: none;
        }

        .section.active {
            display: block;
        }

        /* Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .stat-card {
            background: var(--glass);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transition: transform 0.3s;
            outline: 1px dashed rgb(115 115 115 / 30%);
            outline-offset: 4px;
        }

        .stat-card:hover {
            transform: translateY(-8px);
        }

        .stat-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            margin: 10px 0 5px;
        }

        .stat-label {
            color: rgba(255,255,255,0.7);
            font-size: 1rem;
        }

        .stat-success .stat-value { color: var(--success); }
        .stat-warning .stat-value { color: var(--warning); }
        .stat-danger .stat-value { color: var(--danger); }

        /* Chart Section */
        .chart-section {
            background: var(--glass);
            border-radius: 16px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            outline: 1px dashed rgb(115 115 115 / 30%);
            outline-offset: 4px;
        }

        .chart-section h2 {
            margin-top: 0;
            color: var(--primary);
        }

        .badge-soon{
            background: #efb810;
            color: #000;
            font-size: 10px;
            padding: 3px 8px;
            border-radius: 20px;
            margin-left: auto;
            font-weight: bold;
        }

        /* estilo del link cuando es próximamente */
        .coming-soon{
            opacity: 0.6;
            pointer-events: none;
        }


        

        /* Responsive */
        @media (max-width: 992px) {
            .sidebar {
                width: 80px;
                padding: 30px 10px;
            }
            .sidebar span:not(.sidebar-avatar) {
                display: none;
            }
            .sidebar-logo {
                font-size: 1.5rem;
            }
            .main-content {
                margin-left: 80px;
            }
        }