    <style>
        /* 
        =============================================
        VARIABLES Y ESTILOS CON PREFIJO 'act-'
        (Para evitar colisiones con otros estilos)
        =============================================
        */
        
        :root {
            --act-formative: #005aba;   /* Azul para actividades formativas */
            --act-sync: #dc3545;       /* Rojo para sesiones sincrónicas */
            --act-eval: #fd7e14;       /* Naranjo para evaluaciones */
        }
        
        /* Contenedor principal */
        .act-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* Estilos para las tarjetas */
        .act-card {
            border: none;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            background: white;
            transition: all 0.3s ease;
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
        }
        
        /* Efecto hover para las tarjetas */
        .act-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
        }
        
        /* Efecto de "shine" al hacer hover */
        .act-card:hover::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.2),
                transparent
            );
            transition: 0.5s;
            animation: act-shine 1.5s;
        }
        
        @keyframes act-shine {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        /* Cabeceras de tarjeta */
        .act-card-header {
            border-bottom: none;
            padding: 20px;
            color: white;
            position: relative;
            height:120px;
            overflow:hidden;



        }
        
        /* Colores de cabecera según tipo */
        .act-card-header.formative { background: var(--act-formative); }
        .act-card-header.sync { background: var(--act-sync); }
        .act-card-header.eval { background: var(--act-eval); }
        
        /* Cuerpo de tarjeta */
        .act-card-body {
            padding: 20px;
            height: 150px;
overflow:hidden;
        }
        
        /* Badge de fecha */
        .act-date-badge {
            font-size: 0.75rem;
            padding: 5px 10px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.2);
        }
        
        /* Botón de acción */
        .act-btn {
            border: none;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            position: absolute;
            overflow: hidden;
            bottom:15px;
            right:15px;
        }
        
        /* Efecto ripple para botones */
        .act-btn::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 5px;
            height: 5px;
            background: rgba(255, 255, 255, 0.5);
            opacity: 0;
            border-radius: 100%;
            transform: scale(1, 1) translate(-50%, -50%);
            transform-origin: 50% 50%;
        }
        
        .act-btn:hover::after {
            animation: act-ripple 0.6s ease-out;
        }
        
        @keyframes act-ripple {
            0% {
                transform: scale(0, 0);
                opacity: 1;
            }
            100% {
                transform: scale(20, 20);
                opacity: 0;
            }
        }
        
        /* Colores de botones según tipo */
        .act-btn.formative { 
            background: rgba(0, 90, 186, 0.1);
            color: var(--act-formative);
        }
        .act-btn.formative:hover { 
            background: rgba(0, 90, 186, 0.2);
        }
        .act-btn.sync { 
            background: rgba(220, 53, 69, 0.1);
            color: var(--act-sync);
        }
        .act-btn.sync:hover { 
            background: rgba(220, 53, 69, 0.2);
        }
        .act-btn.eval { 
            background: rgba(253, 126, 20, 0.1);
            color: var(--act-eval);
        }
        .act-btn.eval:hover { 
            background: rgba(253, 126, 20, 0.2);
        }
        
        /* Línea inferior decorativa */
        .act-card-footer {
            height: 4px;
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
        }
        .act-card-footer.formative { background: var(--act-formative); }
        .act-card-footer.sync { background: var(--act-sync); }
        .act-card-footer.eval { background: var(--act-eval); }
    </style>